[INFO] fetching crate tulip-derivative 2.2.1... [INFO] checking tulip-derivative-2.2.1 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate tulip-derivative 2.2.1 into /workspace/builds/worker-7-tc2/source [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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tulip-derivative 2.2.1 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] [stderr] Adding runtime-macros-derive v0.4.0 (available: v0.8.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.104) [INFO] [stderr] Adding trybuild v1.0.22 (available: v1.0.105) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d209d70966e71c07b58029a6680766818417cdffcabffde01530e0ef410e1870 [INFO] running `Command { std: "docker" "start" "-a" "d209d70966e71c07b58029a6680766818417cdffcabffde01530e0ef410e1870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d209d70966e71c07b58029a6680766818417cdffcabffde01530e0ef410e1870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d209d70966e71c07b58029a6680766818417cdffcabffde01530e0ef410e1870", kill_on_drop: false }` [INFO] [stdout] d209d70966e71c07b58029a6680766818417cdffcabffde01530e0ef410e1870 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a46d80bde7ee744ffbc3c4f77fe7aae9fc3325dbe08f0e0156b9ea3969fef98 [INFO] running `Command { std: "docker" "start" "-a" "3a46d80bde7ee744ffbc3c4f77fe7aae9fc3325dbe08f0e0156b9ea3969fef98", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde_derive v1.0.219 [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: `docsrs`, `feature`, and `test` and 31 more [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn all_fields(&self) -> Vec<&Field> { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn all_fields(&self) -> Vec<&Field<'_>> { [INFO] [stdout] | ++++ [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: `docsrs`, `feature`, and `test` and 31 more [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn all_fields(&self) -> Vec<&Field> { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn all_fields(&self) -> Vec<&Field<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking serde_json v1.0.140 [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-exterior.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/derive-debug.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-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[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-expr-copy.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | 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-exterior.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-exterior.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[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-exterior.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/issue-37-turbofish.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | 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-eq.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-via-extension-type-params.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | 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-meta-multiple.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | 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-55.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for reference `&Cell`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-exterior.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 21 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | ------------ doesn't satisfy `Point: Copy` [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(p.get().z, 12); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Point: Copy` [INFO] [stdout] help: consider annotating `Point` with `#[derive(Clone, Copy)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Clone, Copy)] [INFO] [stdout] 22 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | 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/issue-37-turbofish.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-eq.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-29540.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]: the method `get` exists for reference `&Cell`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-exterior.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 21 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | ------------ doesn't satisfy `Point: Copy` [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(p.get().z, 13); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Point: Copy` [INFO] [stdout] help: consider annotating `Point` with `#[derive(Clone, Copy)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Clone, Copy)] [INFO] [stdout] 22 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-eq.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[derivative(Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-eq.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/issue-37-turbofish.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[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-37-turbofish.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/issue-37-turbofish.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[derivative(Debug(format_with = "std::fmt::Debug::fmt"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/issue-37-turbofish.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-eq.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-eq.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[derivative(Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-eq.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-debug.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/derive-debug.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-eq.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[derivative(Eq(bound=""))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-eq.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | 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-via-extension-type-params.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-expr-copy.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [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-debug.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[derivative(Debug="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-debug.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/rustc-deriving-via-extension-type-params.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[derivative(PartialEq, Hash, 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-via-extension-type-params.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-debug.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-in-fn.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]: the method `get` exists for reference `&Cell`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-exterior.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 21 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | ------------ doesn't satisfy `Point: Copy` [INFO] [stdout] ... [INFO] [stdout] 33 | assert_eq!(b.get().z, 12); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Point: Copy` [INFO] [stdout] help: consider annotating `Point` with `#[derive(Clone, Copy)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Clone, Copy)] [INFO] [stdout] 22 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "issue-37-turbofish") 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-expr-copy.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[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-expr-copy.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/rustc-issue-29540.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/issue-55.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [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[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-clone-array.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/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/issue-55.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[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-55.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[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/derive-debug.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-debug.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[derivative(Debug="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-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-29540.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[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-issue-29540.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for reference `&Cell`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-exterior.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 21 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | ------------ doesn't satisfy `Point: Copy` [INFO] [stdout] ... [INFO] [stdout] 38 | assert_eq!(b.get().x, 10); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Point: Copy` [INFO] [stdout] help: consider annotating `Point` with `#[derive(Clone, Copy)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Clone, Copy)] [INFO] [stdout] 22 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Foo` [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(a, b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Foo [INFO] [stdout] | Foo [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Foo` [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct Foo { [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Foo` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(PartialEq)] [INFO] [stdout] 20 | struct Foo { [INFO] [stdout] | [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: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 attribute `derivative` in this scope [INFO] [stdout] --> tests/issue-55.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | struct _Bar<'a, T: Foo>(#[derivative(Debug(format_with="fmt"))] Qux<'a, T>); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/issue-55.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Foo: Eq` is not satisfied [INFO] [stdout] --> tests/derive-eq.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | assert_eq(Foo { foo: 7 }); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `Foo` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_eq` [INFO] [stdout] --> tests/derive-eq.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | fn assert_eq(_: T) {} [INFO] [stdout] | ^^ required by this bound in `assert_eq` [INFO] [stdout] help: consider annotating `Foo` with `#[derive(Eq)]` [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(Eq)] [INFO] [stdout] 12 | struct Foo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[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/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for reference `&Cell`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-exterior.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 21 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | ------------ doesn't satisfy `Point: Copy` [INFO] [stdout] ... [INFO] [stdout] 39 | assert_eq!(b.get().y, 11); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Point: Copy` [INFO] [stdout] help: consider annotating `Point` with `#[derive(Clone, Copy)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Clone, Copy)] [INFO] [stdout] 22 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `WithPtr: Eq` is not satisfied [INFO] [stdout] --> tests/derive-eq.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq(WithPtr { foo: ptr1 }); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `WithPtr` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_eq` [INFO] [stdout] --> tests/derive-eq.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | fn assert_eq(_: T) {} [INFO] [stdout] | ^^ required by this bound in `assert_eq` [INFO] [stdout] help: consider annotating `WithPtr` with `#[derive(Eq)]` [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Eq)] [INFO] [stdout] 18 | struct WithPtr { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Foo` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(a, b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Foo` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `Foo` or manually `impl Debug for Foo` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Foo` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Debug)] [INFO] [stdout] 20 | struct Foo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for reference `&Cell`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-exterior.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 21 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | ------------ doesn't satisfy `Point: Copy` [INFO] [stdout] ... [INFO] [stdout] 40 | assert_eq!(b.get().z, 13); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Point: Copy` [INFO] [stdout] help: consider annotating `Point` with `#[derive(Clone, Copy)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Clone, Copy)] [INFO] [stdout] 22 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | V2(#[derivative(Debug="ignore")] i32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.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] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] [INFO] [stdout] error[E0277]: `Foo` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(a, b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Debug` is not implemented for `Foo` [INFO] [stdout] | [INFO] [stdout] = note: add `#[derive(Debug)]` to `Foo` or manually `impl Debug for Foo` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Foo` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Debug)] [INFO] [stdout] 20 | struct Foo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `Foo` [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | assert!(!(a != b)); [INFO] [stdout] | - ^^ - Foo [INFO] [stdout] | | [INFO] [stdout] | Foo [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Foo` [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct Foo { [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Foo` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(PartialEq)] [INFO] [stdout] 20 | struct Foo { [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/derive-debug.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-eq-packed.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-eq-packed.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[derivative(Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-eq-packed.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [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/rustc-deriving-meta-multiple.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[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-deriving-meta-multiple.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-eq-packed.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[derivative(Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/cmp.rs:960:1 [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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[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-meta-multiple.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | 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] 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/derive-debug.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/derive-debug.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/rustc-deriving-meta-multiple.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[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/rustc-deriving-meta-multiple.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | #[derivative(Debug="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-debug.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-eq-packed.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(Eq(bound=""))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-eq-packed.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-eq-packed.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[derivative(PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [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/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/cmp.rs:1344:1 [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: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-clone-array.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/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] [stderr] error: could not compile `tulip-derivative` (test "rustc-issue-29540") due to 3 previous errors [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-exterior") due to 9 previous errors [INFO] [stderr] error: could not compile `tulip-derivative` (test "derive-eq") due to 8 previous errors [INFO] [stdout] error[E0599]: `Foo` is not an iterator [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 19 | struct Foo { [INFO] [stdout] | ------------- method `eq` not found for this struct because it doesn't satisfy `Foo: Iterator` [INFO] [stdout] ... [INFO] [stdout] 31 | assert!(a.eq(&b)); [INFO] [stdout] | ^^ `Foo` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Foo: Iterator` [INFO] [stdout] which is required by `&mut Foo: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `eq`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `x.a` [INFO] [stdout] --> tests/rustc-expr-copy.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 28 | let mut x = A {a: 10}; [INFO] [stdout] | ----- move occurs because `x` has type `A`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 32 | let mut y = x; [INFO] [stdout] | - value moved here [INFO] [stdout] 33 | f(&mut y); [INFO] [stdout] 34 | assert_eq!(x.a, 20); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.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/derive-debug.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/derive-debug.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-debug.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | struct F(#[derivative(Debug="ignore")] isize); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | 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-in-fn.rs:19:14 [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-clone-array.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[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-clone-array.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/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/derive-ord.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(PartialEq, Eq, Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Foo` is not an iterator [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 19 | struct Foo { [INFO] [stdout] | ------------- method `ne` not found for this struct because it doesn't satisfy `Foo: Iterator` [INFO] [stdout] ... [INFO] [stdout] 32 | assert!(!a.ne(&b)); [INFO] [stdout] | ^^ `Foo` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Foo: Iterator` [INFO] [stdout] which is required by `&mut Foo: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `ne`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[derivative(PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | 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: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-in-fn.rs:20:7 [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-in-fn.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-debug.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/derive-ord.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(PartialEq, Eq, Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0463, E0599. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Foo` [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | let _ = a == a; // check for PartialEq impl w/o testing its correctness [INFO] [stdout] | - ^^ - Foo [INFO] [stdout] | | [INFO] [stdout] | Foo [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Foo` [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | struct Foo { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Foo` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(PartialEq)] [INFO] [stdout] 29 | struct Foo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "issue-55") due to 4 previous errors [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[derivative( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[derivative(PartialEq, PartialOrd, Ord, Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[derivative(PartialEq(bound = ""))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-via-extension-type-params") due to 9 previous errors [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[derivative(PartialOrd(bound = ""))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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] 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: 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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[derivative(Ord(bound = ""))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[derivative(Eq(bound = ""))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(PartialEq, Eq, Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[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/derive-debug.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-debug.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | struct G(isize, #[derivative(Debug="ignore")] isize); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[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] 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] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[derivative(PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Foo: Eq` is not satisfied [INFO] [stdout] --> tests/derive-eq-packed.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq(Foo { foo: 7 }); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `Foo` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_eq` [INFO] [stdout] --> tests/derive-eq-packed.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | fn assert_eq(_: T) {} [INFO] [stdout] | ^^ required by this bound in `assert_eq` [INFO] [stdout] help: consider annotating `Foo` with `#[derive(Eq)]` [INFO] [stdout] | [INFO] [stdout] 12 + #[derive(Eq)] [INFO] [stdout] 13 | struct Foo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(PartialEq, Eq, Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `WithPtr: Eq` is not satisfied [INFO] [stdout] --> tests/derive-eq-packed.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq(WithPtr { foo: ptr1 }); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `WithPtr` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_eq` [INFO] [stdout] --> tests/derive-eq-packed.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | fn assert_eq(_: T) {} [INFO] [stdout] | ^^ required by this bound in `assert_eq` [INFO] [stdout] help: consider annotating `WithPtr` with `#[derive(Eq)]` [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Eq)] [INFO] [stdout] 20 | struct WithPtr { [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] 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] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-clone-array") due to 3 previous errors [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[derivative(PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Generic` [INFO] [stdout] --> tests/derive-eq-packed.rs:59:42 [INFO] [stdout] | [INFO] [stdout] 59 | assert!(Generic(SomeType { foo: 0 }) == Generic(SomeType { foo: 0 })); [INFO] [stdout] | ---------------------------- ^^ ---------------------------- Generic [INFO] [stdout] | | [INFO] [stdout] | Generic [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Generic` [INFO] [stdout] --> tests/derive-eq-packed.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | struct Generic(T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Generic` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 33 + #[derive(PartialEq)] [INFO] [stdout] 34 | struct Generic(T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Generic: Eq` is not satisfied [INFO] [stdout] --> tests/derive-eq-packed.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq(Generic(SomeType { foo: 0 })); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `Generic` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_eq` [INFO] [stdout] --> tests/derive-eq-packed.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | fn assert_eq(_: T) {} [INFO] [stdout] | ^^ required by this bound in `assert_eq` [INFO] [stdout] help: consider annotating `Generic` with `#[derive(Eq)]` [INFO] [stdout] | [INFO] [stdout] 33 + #[derive(Eq)] [INFO] [stdout] 34 | struct Generic(T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[derivative(PartialOrd = "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-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[derivative(Ord = "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-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Foo` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-in-fn.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | format!("{:?}", f); [INFO] [stdout] | ---- ^ `Foo` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [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::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Foo` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Debug)] [INFO] [stdout] 22 | struct Foo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | #[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/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0463. [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-expr-copy") due to 4 previous errors [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] 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-ord.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(PartialEq, Eq, Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[derivative(PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | #[derivative(PartialOrd = "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-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | #[derivative(Ord = "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-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | struct J(#[derivative(Debug="ignore")] NoDebug); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.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 "derive-eq-packed") due to 12 previous errors [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] 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-ord.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(PartialEq, Eq, Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | #[derivative(PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | 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] 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/derive-ord.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | #[derivative( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [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: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 84 | #[derivative(PartialOrd, Ord, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[derivative( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[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: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-ord.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 104 | #[derivative(PartialEq, PartialOrd, Ord, Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[derivative(PartialEq = "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-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | #[derivative(PartialOrd = "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-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | #[derivative(Ord = "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-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-in-fn") due to 4 previous errors [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-zero-sized-btreemap-insert") due to 5 previous errors [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Foo` in the current scope [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 28 | struct Foo { [INFO] [stdout] | ---------- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 40 | let _ = a.clone(); // check for Clone impl w/o testing its correctness [INFO] [stdout] | ^^^^^ method not found in `Foo` [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] 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: `docsrs`, `feature`, and `test` and 31 more [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[E0277]: the trait bound `Foo: Hash` is not satisfied [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | hash(&a); // check for Hash impl w/o testing its correctness [INFO] [stdout] | ---- ^^ the trait `Hash` is not implemented for `Foo` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `hash` [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | fn hash(_t: &T) {} [INFO] [stdout] | ^^^^ required by this bound in `hash` [INFO] [stdout] help: consider annotating `Foo` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Hash)] [INFO] [stdout] 29 | struct Foo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: `Foo` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:68:40 [INFO] [stdout] | [INFO] [stdout] 11 | struct Foo { [INFO] [stdout] | ---------- method `to_show` not found for this struct because it doesn't satisfy `Foo: Debug` or `Foo: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 68 | assert_eq!(Foo { foo: 42, bar: 1 }.to_show(), "Foo { foo: 42 }".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Foo` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Foo: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `Foo` or manually `impl Debug for Foo` [INFO] [stdout] help: consider annotating `Foo` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(Debug)] [INFO] [stdout] 12 | struct Foo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Bar` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 19 | struct Bar ( [INFO] [stdout] | ---------- method `to_show` not found for this struct because it doesn't satisfy `Bar: Debug` or `Bar: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 69 | assert_eq!(Bar(42, 1).to_show(), "Bar(42)".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Bar` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Bar: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `Bar` or manually `impl Debug for Bar` [INFO] [stdout] help: consider annotating `Bar` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Debug)] [INFO] [stdout] 20 | struct Bar ( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-meta-multiple") due to 8 previous errors [INFO] [stdout] error[E0599]: `C` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 27 | enum C { [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `C: Debug` or `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 70 | assert_eq!(C::V1(12).to_show(), "V1(12)".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `C` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | 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] 27 + #[derive(Debug)] [INFO] [stdout] 28 | enum C { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Foo` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 17 | struct Foo { [INFO] [stdout] | ---------- method `partial_cmp` not found for this struct because it doesn't satisfy `Foo: Iterator` [INFO] [stdout] ... [INFO] [stdout] 125 | Foo { foo: 7 }.partial_cmp(&Foo { foo: 42 }), [INFO] [stdout] | ^^^^^^^^^^^ `Foo` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Foo: Iterator` [INFO] [stdout] which is required by `&mut Foo: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `C` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 27 | enum C { [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `C: Debug` or `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 71 | assert_eq!(C::V2(12).to_show(), "V2".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `C` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | 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] 27 + #[derive(Debug)] [INFO] [stdout] 28 | enum C { [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]: `Foo` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 17 | struct Foo { [INFO] [stdout] | ---------- method `partial_cmp` not found for this struct because it doesn't satisfy `Foo: Iterator` [INFO] [stdout] ... [INFO] [stdout] 129 | Foo { foo: 42 }.partial_cmp(&Foo { foo: 42 }), [INFO] [stdout] | ^^^^^^^^^^^ `Foo` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Foo: Iterator` [INFO] [stdout] which is required by `&mut Foo: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [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[E0599]: `Foo` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 17 | struct Foo { [INFO] [stdout] | ---------- method `partial_cmp` not found for this struct because it doesn't satisfy `Foo: Iterator` [INFO] [stdout] ... [INFO] [stdout] 133 | Foo { foo: 42 }.partial_cmp(&Foo { foo: 7 }), [INFO] [stdout] | ^^^^^^^^^^^ `Foo` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Foo: Iterator` [INFO] [stdout] which is required by `&mut Foo: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [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] error[E0599]: `Foo` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 17 | struct Foo { [INFO] [stdout] | ---------- method `cmp` not found for this struct because it doesn't satisfy `Foo: Iterator` [INFO] [stdout] ... [INFO] [stdout] 136 | assert_eq!(Foo { foo: 7 }.cmp(&Foo { foo: 42 }), Ordering::Less); [INFO] [stdout] | ^^^ `Foo` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Foo: Iterator` [INFO] [stdout] which is required by `&mut Foo: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `C` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 27 | enum C { [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `C: Debug` or `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 72 | assert_eq!(C::V3("foo".to_string()).to_show(), "V3(\"foo\")".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `C` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | 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] 27 + #[derive(Debug)] [INFO] [stdout] 28 | enum C { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Foo` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 17 | struct Foo { [INFO] [stdout] | ---------- method `cmp` not found for this struct because it doesn't satisfy `Foo: Iterator` [INFO] [stdout] ... [INFO] [stdout] 137 | assert_eq!(Foo { foo: 42 }.cmp(&Foo { foo: 42 }), Ordering::Equal); [INFO] [stdout] | ^^^ `Foo` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Foo: Iterator` [INFO] [stdout] which is required by `&mut Foo: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `D` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 35 | enum D { [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `D: Debug` or `D: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 73 | assert_eq!(D::V1 { a: 42 }.to_show(), "V1".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `D` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `D: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | 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/derive-debug.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | fn to_show(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider annotating `D` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Debug)] [INFO] [stdout] 36 | enum D { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Foo` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 17 | struct Foo { [INFO] [stdout] | ---------- method `cmp` not found for this struct because it doesn't satisfy `Foo: Iterator` [INFO] [stdout] ... [INFO] [stdout] 138 | assert_eq!(Foo { foo: 42 }.cmp(&Foo { foo: 7 }), Ordering::Greater); [INFO] [stdout] | ^^^ `Foo` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Foo: Iterator` [INFO] [stdout] which is required by `&mut Foo: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `WithPtr` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:145:31 [INFO] [stdout] | [INFO] [stdout] 33 | struct WithPtr { [INFO] [stdout] | ------------------------- method `partial_cmp` not found for this struct because it doesn't satisfy `WithPtr: Iterator` [INFO] [stdout] ... [INFO] [stdout] 145 | WithPtr { foo: ptr1 }.partial_cmp(&WithPtr { foo: ptr1 }), [INFO] [stdout] | ^^^^^^^^^^^ `WithPtr` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `WithPtr: Iterator` [INFO] [stdout] which is required by `&mut WithPtr: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [INFO] [stdout] [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[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[E0599]: `WithPtr` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:149:31 [INFO] [stdout] | [INFO] [stdout] 33 | struct WithPtr { [INFO] [stdout] | ------------------------- method `cmp` not found for this struct because it doesn't satisfy `WithPtr: Iterator` [INFO] [stdout] ... [INFO] [stdout] 149 | WithPtr { foo: ptr1 }.cmp(&WithPtr { foo: ptr1 }), [INFO] [stdout] | ^^^ `WithPtr` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `WithPtr: Iterator` [INFO] [stdout] which is required by `&mut WithPtr: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [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[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[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[E0599]: `WithPtr` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:153:31 [INFO] [stdout] | [INFO] [stdout] 33 | struct WithPtr { [INFO] [stdout] | ------------------------- method `partial_cmp` not found for this struct because it doesn't satisfy `WithPtr: Iterator` [INFO] [stdout] ... [INFO] [stdout] 153 | WithPtr { foo: ptr1 }.partial_cmp(&WithPtr { foo: ptr2 }), [INFO] [stdout] | ^^^^^^^^^^^ `WithPtr` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `WithPtr: Iterator` [INFO] [stdout] which is required by `&mut WithPtr: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `WithPtr` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:157:31 [INFO] [stdout] | [INFO] [stdout] 33 | struct WithPtr { [INFO] [stdout] | ------------------------- method `cmp` not found for this struct because it doesn't satisfy `WithPtr: Iterator` [INFO] [stdout] ... [INFO] [stdout] 157 | WithPtr { foo: ptr1 }.cmp(&WithPtr { foo: ptr2 }), [INFO] [stdout] | ^^^ `WithPtr` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `WithPtr: Iterator` [INFO] [stdout] which is required by `&mut WithPtr: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Empty` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:161:22 [INFO] [stdout] | [INFO] [stdout] 43 | struct Empty; [INFO] [stdout] | ------------ method `partial_cmp` not found for this struct because it doesn't satisfy `Empty: Iterator` [INFO] [stdout] ... [INFO] [stdout] 161 | assert_eq!(Empty.partial_cmp(&Empty), Some(Ordering::Equal)); [INFO] [stdout] | ^^^^^^^^^^^ `Empty` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Empty: Iterator` [INFO] [stdout] which is required by `&mut Empty: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `F` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 44 | struct F(#[derivative(Debug="ignore")] 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] 74 | assert_eq!(F(42).to_show(), "F".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `F` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `F: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | 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] 44 + #[derive(Debug)] [INFO] [stdout] 45 | struct F(#[derivative(Debug="ignore")] isize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `AllIgnored` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:163:31 [INFO] [stdout] | [INFO] [stdout] 47 | struct AllIgnored { [INFO] [stdout] | ----------------- method `partial_cmp` not found for this struct because it doesn't satisfy `AllIgnored: Iterator` [INFO] [stdout] ... [INFO] [stdout] 163 | AllIgnored { foo: 0 }.partial_cmp(&AllIgnored { foo: 42 }), [INFO] [stdout] | ^^^^^^^^^^^ `AllIgnored` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `AllIgnored: Iterator` [INFO] [stdout] which is required by `&mut AllIgnored: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `OneIgnored` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:167:39 [INFO] [stdout] | [INFO] [stdout] 55 | struct OneIgnored { [INFO] [stdout] | ----------------- method `partial_cmp` not found for this struct because it doesn't satisfy `OneIgnored: Iterator` [INFO] [stdout] ... [INFO] [stdout] 167 | OneIgnored { foo: 0, bar: 6 }.partial_cmp(&OneIgnored { foo: 42, bar: 7 }), [INFO] [stdout] | ^^^^^^^^^^^ `OneIgnored` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `OneIgnored: Iterator` [INFO] [stdout] which is required by `&mut OneIgnored: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `G` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 48 | struct G(isize, #[derivative(Debug="ignore")] 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] 75 | assert_eq!(G(42, 0).to_show(), "G(42)".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `G` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `G: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | 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] 48 + #[derive(Debug)] [INFO] [stdout] 49 | struct G(isize, #[derivative(Debug="ignore")] isize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `J` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 52 | struct J(#[derivative(Debug="ignore")] NoDebug); [INFO] [stdout] | -------- method `to_show` not found for this struct because it doesn't satisfy `J: Debug` or `J: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 76 | assert_eq!(J(NoDebug).to_show(), "J".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `J` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `J: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | 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] 52 + #[derive(Debug)] [INFO] [stdout] 53 | struct J(#[derivative(Debug="ignore")] NoDebug); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `OneIgnored` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:171:39 [INFO] [stdout] | [INFO] [stdout] 55 | struct OneIgnored { [INFO] [stdout] | ----------------- method `partial_cmp` not found for this struct because it doesn't satisfy `OneIgnored: Iterator` [INFO] [stdout] ... [INFO] [stdout] 171 | OneIgnored { foo: 0, bar: 6 }.partial_cmp(&OneIgnored { foo: 42, bar: 6 }), [INFO] [stdout] | ^^^^^^^^^^^ `OneIgnored` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `OneIgnored: Iterator` [INFO] [stdout] which is required by `&mut OneIgnored: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [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[E0599]: `OneIgnored` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:175:39 [INFO] [stdout] | [INFO] [stdout] 55 | struct OneIgnored { [INFO] [stdout] | ----------------- method `partial_cmp` not found for this struct because it doesn't satisfy `OneIgnored: Iterator` [INFO] [stdout] ... [INFO] [stdout] 175 | OneIgnored { foo: 0, bar: 7 }.partial_cmp(&OneIgnored { foo: 42, bar: 6 }), [INFO] [stdout] | ^^^^^^^^^^^ `OneIgnored` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `OneIgnored: Iterator` [INFO] [stdout] which is required by `&mut OneIgnored: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [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]: `Empty` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 43 | struct Empty; [INFO] [stdout] | ------------ method `cmp` not found for this struct because it doesn't satisfy `Empty: Iterator` [INFO] [stdout] ... [INFO] [stdout] 178 | assert_eq!(Empty.cmp(&Empty), Ordering::Equal); [INFO] [stdout] | ^^^ `Empty` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Empty: Iterator` [INFO] [stdout] which is required by `&mut Empty: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [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] [stdout] error[E0599]: `AllIgnored` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:180:31 [INFO] [stdout] | [INFO] [stdout] 47 | struct AllIgnored { [INFO] [stdout] | ----------------- method `cmp` not found for this struct because it doesn't satisfy `AllIgnored: Iterator` [INFO] [stdout] ... [INFO] [stdout] 180 | AllIgnored { foo: 0 }.cmp(&AllIgnored { foo: 42 }), [INFO] [stdout] | ^^^ `AllIgnored` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `AllIgnored: Iterator` [INFO] [stdout] which is required by `&mut AllIgnored: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [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[E0599]: `OneIgnored` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:184:39 [INFO] [stdout] | [INFO] [stdout] 55 | struct OneIgnored { [INFO] [stdout] | ----------------- method `cmp` not found for this struct because it doesn't satisfy `OneIgnored: Iterator` [INFO] [stdout] ... [INFO] [stdout] 184 | OneIgnored { foo: 0, bar: 6 }.cmp(&OneIgnored { foo: 42, bar: 7 }), [INFO] [stdout] | ^^^ `OneIgnored` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `OneIgnored: Iterator` [INFO] [stdout] which is required by `&mut OneIgnored: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `OneIgnored` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:188:39 [INFO] [stdout] | [INFO] [stdout] 55 | struct OneIgnored { [INFO] [stdout] | ----------------- method `cmp` not found for this struct because it doesn't satisfy `OneIgnored: Iterator` [INFO] [stdout] ... [INFO] [stdout] 188 | OneIgnored { foo: 0, bar: 6 }.cmp(&OneIgnored { foo: 42, bar: 6 }), [INFO] [stdout] | ^^^ `OneIgnored` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `OneIgnored: Iterator` [INFO] [stdout] which is required by `&mut OneIgnored: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [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[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[E0599]: `OneIgnored` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:192:39 [INFO] [stdout] | [INFO] [stdout] 55 | struct OneIgnored { [INFO] [stdout] | ----------------- method `cmp` not found for this struct because it doesn't satisfy `OneIgnored: Iterator` [INFO] [stdout] ... [INFO] [stdout] 192 | OneIgnored { foo: 0, bar: 7 }.cmp(&OneIgnored { foo: 42, bar: 6 }), [INFO] [stdout] | ^^^ `OneIgnored` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `OneIgnored: Iterator` [INFO] [stdout] which is required by `&mut OneIgnored: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Option` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:197:28 [INFO] [stdout] | [INFO] [stdout] 26 | enum Option { [INFO] [stdout] | -------------- method `partial_cmp` not found for this enum because it doesn't satisfy `Option: Iterator` [INFO] [stdout] ... [INFO] [stdout] 197 | Option::None::.partial_cmp(&Option::Some(7)), [INFO] [stdout] | ^^^^^^^^^^^ `Option` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option: Iterator` [INFO] [stdout] which is required by `&mut Option: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `partial_cmp` exists on the type `u8` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/cmp.rs:1371:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "derive-debug") due to 31 previous errors [INFO] [stdout] error[E0599]: `Option<{integer}>` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:201:25 [INFO] [stdout] | [INFO] [stdout] 26 | enum Option { [INFO] [stdout] | -------------- method `partial_cmp` not found for this enum because it doesn't satisfy `Option<{integer}>: Iterator` [INFO] [stdout] ... [INFO] [stdout] 201 | Option::Some(6).partial_cmp(&Option::Some(7)), [INFO] [stdout] | ^^^^^^^^^^^ `Option<{integer}>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut Option<{integer}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `partial_cmp` exists on the type `{integer}` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/cmp.rs:1371:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [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[E0599]: `Option<{integer}>` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:205:26 [INFO] [stdout] | [INFO] [stdout] 26 | enum Option { [INFO] [stdout] | -------------- method `partial_cmp` not found for this enum because it doesn't satisfy `Option<{integer}>: Iterator` [INFO] [stdout] ... [INFO] [stdout] 205 | Option::Some(42).partial_cmp(&Option::Some(42)), [INFO] [stdout] | ^^^^^^^^^^^ `Option<{integer}>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut Option<{integer}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `partial_cmp` exists on the type `{integer}` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/cmp.rs:1371:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Option` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:209:28 [INFO] [stdout] | [INFO] [stdout] 26 | enum Option { [INFO] [stdout] | -------------- method `partial_cmp` not found for this enum because it doesn't satisfy `Option: Iterator` [INFO] [stdout] ... [INFO] [stdout] 209 | Option::None::.partial_cmp(&Option::None::), [INFO] [stdout] | ^^^^^^^^^^^ `Option` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option: Iterator` [INFO] [stdout] which is required by `&mut Option: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `partial_cmp` exists on the type `u8` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/cmp.rs:1371:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Option<{integer}>` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 26 | enum Option { [INFO] [stdout] | -------------- method `partial_cmp` not found for this enum because it doesn't satisfy `Option<{integer}>: Iterator` [INFO] [stdout] ... [INFO] [stdout] 213 | Option::Some(7).partial_cmp(&Option::Some(6)), [INFO] [stdout] | ^^^^^^^^^^^ `Option<{integer}>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut Option<{integer}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `partial_cmp` exists on the type `{integer}` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/cmp.rs:1371:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Option<{integer}>` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:217:25 [INFO] [stdout] | [INFO] [stdout] 26 | enum Option { [INFO] [stdout] | -------------- method `partial_cmp` not found for this enum because it doesn't satisfy `Option<{integer}>: Iterator` [INFO] [stdout] ... [INFO] [stdout] 217 | Option::Some(7).partial_cmp(&Option::None::), [INFO] [stdout] | ^^^^^^^^^^^ `Option<{integer}>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut Option<{integer}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `partial_cmp` exists on the type `{integer}` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/cmp.rs:1371:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "derive-hash") due to 36 previous errors; 1 warning emitted [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: `docsrs`, `feature`, and `test` and 31 more [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[E0599]: `Option` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:220:35 [INFO] [stdout] | [INFO] [stdout] 26 | enum Option { [INFO] [stdout] | -------------- method `cmp` not found for this enum because it doesn't satisfy `Option: Iterator` [INFO] [stdout] ... [INFO] [stdout] 220 | assert_eq!(Option::None::.cmp(&Option::Some(7)), Ordering::Less); [INFO] [stdout] | ^^^ `Option` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option: Iterator` [INFO] [stdout] which is required by `&mut Option: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `cmp` exists on the type `u8` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/cmp.rs:978:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Option<{integer}>` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:221:32 [INFO] [stdout] | [INFO] [stdout] 26 | enum Option { [INFO] [stdout] | -------------- method `cmp` not found for this enum because it doesn't satisfy `Option<{integer}>: Iterator` [INFO] [stdout] ... [INFO] [stdout] 221 | assert_eq!(Option::Some(6).cmp(&Option::Some(7)), Ordering::Less); [INFO] [stdout] | ^^^ `Option<{integer}>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut Option<{integer}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `cmp` exists on the type `{integer}` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/cmp.rs:978:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Option<{integer}>` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:222:33 [INFO] [stdout] | [INFO] [stdout] 26 | enum Option { [INFO] [stdout] | -------------- method `cmp` not found for this enum because it doesn't satisfy `Option<{integer}>: Iterator` [INFO] [stdout] ... [INFO] [stdout] 222 | assert_eq!(Option::Some(42).cmp(&Option::Some(42)), Ordering::Equal); [INFO] [stdout] | ^^^ `Option<{integer}>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut Option<{integer}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `cmp` exists on the type `{integer}` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/cmp.rs:978:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Option` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:223:35 [INFO] [stdout] | [INFO] [stdout] 26 | enum Option { [INFO] [stdout] | -------------- method `cmp` not found for this enum because it doesn't satisfy `Option: Iterator` [INFO] [stdout] ... [INFO] [stdout] 223 | assert_eq!(Option::None::.cmp(&Option::None::), Ordering::Equal); [INFO] [stdout] | ^^^ `Option` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option: Iterator` [INFO] [stdout] which is required by `&mut Option: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `cmp` exists on the type `u8` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/cmp.rs:978:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Option<{integer}>` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:224:32 [INFO] [stdout] | [INFO] [stdout] 26 | enum Option { [INFO] [stdout] | -------------- method `cmp` not found for this enum because it doesn't satisfy `Option<{integer}>: Iterator` [INFO] [stdout] ... [INFO] [stdout] 224 | assert_eq!(Option::Some(7).cmp(&Option::Some(6)), Ordering::Greater); [INFO] [stdout] | ^^^ `Option<{integer}>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut Option<{integer}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `cmp` exists on the type `{integer}` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/cmp.rs:978:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Option<{integer}>` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:225:32 [INFO] [stdout] | [INFO] [stdout] 26 | enum Option { [INFO] [stdout] | -------------- method `cmp` not found for this enum because it doesn't satisfy `Option<{integer}>: Iterator` [INFO] [stdout] ... [INFO] [stdout] 225 | assert_eq!(Option::Some(7).cmp(&Option::None::), Ordering::Greater); [INFO] [stdout] | ^^^ `Option<{integer}>` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut Option<{integer}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `cmp` exists on the type `{integer}` [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/cmp.rs:978:5 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Tenth` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 64 | struct Tenth( [INFO] [stdout] | ------------ method `partial_cmp` not found for this struct because it doesn't satisfy `Tenth: Iterator` [INFO] [stdout] ... [INFO] [stdout] 227 | assert_eq!(Tenth(0).partial_cmp(&Tenth(67)), None); [INFO] [stdout] | ^^^^^^^^^^^ `Tenth` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Tenth: Iterator` [INFO] [stdout] which is required by `&mut Tenth: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Tenth` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:228:26 [INFO] [stdout] | [INFO] [stdout] 64 | struct Tenth( [INFO] [stdout] | ------------ method `partial_cmp` not found for this struct because it doesn't satisfy `Tenth: Iterator` [INFO] [stdout] ... [INFO] [stdout] 228 | assert_eq!(Tenth(42).partial_cmp(&Tenth(67)), Some(Ordering::Less)); [INFO] [stdout] | ^^^^^^^^^^^ `Tenth` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Tenth: Iterator` [INFO] [stdout] which is required by `&mut Tenth: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Tenth` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:229:26 [INFO] [stdout] | [INFO] [stdout] 64 | struct Tenth( [INFO] [stdout] | ------------ method `partial_cmp` not found for this struct because it doesn't satisfy `Tenth: Iterator` [INFO] [stdout] ... [INFO] [stdout] 229 | assert_eq!(Tenth(60).partial_cmp(&Tenth(67)), Some(Ordering::Equal)); [INFO] [stdout] | ^^^^^^^^^^^ `Tenth` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Tenth: Iterator` [INFO] [stdout] which is required by `&mut Tenth: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Tenth` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:230:27 [INFO] [stdout] | [INFO] [stdout] 64 | struct Tenth( [INFO] [stdout] | ------------ method `partial_cmp` not found for this struct because it doesn't satisfy `Tenth: Iterator` [INFO] [stdout] ... [INFO] [stdout] 230 | assert_eq!(Tenth(100).partial_cmp(&Tenth(67)), Some(Ordering::Greater)); [INFO] [stdout] | ^^^^^^^^^^^ `Tenth` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Tenth: Iterator` [INFO] [stdout] which is required by `&mut Tenth: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Tenth` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 64 | struct Tenth( [INFO] [stdout] | ------------ method `cmp` not found for this struct because it doesn't satisfy `Tenth: Iterator` [INFO] [stdout] ... [INFO] [stdout] 231 | assert_eq!(Tenth(42).cmp(&Tenth(67)), Ordering::Less); [INFO] [stdout] | ^^^ `Tenth` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Tenth: Iterator` [INFO] [stdout] which is required by `&mut Tenth: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Tenth` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:232:26 [INFO] [stdout] | [INFO] [stdout] 64 | struct Tenth( [INFO] [stdout] | ------------ method `cmp` not found for this struct because it doesn't satisfy `Tenth: Iterator` [INFO] [stdout] ... [INFO] [stdout] 232 | assert_eq!(Tenth(60).cmp(&Tenth(67)), Ordering::Equal); [INFO] [stdout] | ^^^ `Tenth` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Tenth: Iterator` [INFO] [stdout] which is required by `&mut Tenth: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Tenth` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:233:27 [INFO] [stdout] | [INFO] [stdout] 64 | struct Tenth( [INFO] [stdout] | ------------ method `cmp` not found for this struct because it doesn't satisfy `Tenth: Iterator` [INFO] [stdout] ... [INFO] [stdout] 233 | assert_eq!(Tenth(100).cmp(&Tenth(67)), Ordering::Greater); [INFO] [stdout] | ^^^ `Tenth` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Tenth: Iterator` [INFO] [stdout] which is required by `&mut Tenth: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Generic` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:236:38 [INFO] [stdout] | [INFO] [stdout] 85 | struct Generic( [INFO] [stdout] | ----------------- method `partial_cmp` not found for this struct because it doesn't satisfy `Generic: Iterator` [INFO] [stdout] ... [INFO] [stdout] 236 | Generic(SomeType { foo: 0 }).partial_cmp(&Generic(SomeType { foo: 0 })), [INFO] [stdout] | ^^^^^^^^^^^ `Generic` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Generic: Iterator` [INFO] [stdout] which is required by `&mut Generic: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Generic` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:240:38 [INFO] [stdout] | [INFO] [stdout] 85 | struct Generic( [INFO] [stdout] | ----------------- method `cmp` not found for this struct because it doesn't satisfy `Generic: Iterator` [INFO] [stdout] ... [INFO] [stdout] 240 | Generic(SomeType { foo: 0 }).cmp(&Generic(SomeType { foo: 0 })), [INFO] [stdout] | ^^^ `Generic` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Generic: Iterator` [INFO] [stdout] which is required by `&mut Generic: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `GenericIgnore` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:249:10 [INFO] [stdout] | [INFO] [stdout] 105 | struct GenericIgnore { [INFO] [stdout] | ----------------------- method `cmp` not found for this struct because it doesn't satisfy `GenericIgnore: Iterator` [INFO] [stdout] ... [INFO] [stdout] 245 | / GenericIgnore { [INFO] [stdout] 246 | | f: 123, [INFO] [stdout] 247 | | t: PhantomData::::default() [INFO] [stdout] 248 | | } [INFO] [stdout] 249 | | .cmp(&GenericIgnore { [INFO] [stdout] | | -^^^ `GenericIgnore` is not an iterator [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `GenericIgnore: Iterator` [INFO] [stdout] which is required by `&mut GenericIgnore: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `Ord` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `GenericIgnore` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:260:10 [INFO] [stdout] | [INFO] [stdout] 105 | struct GenericIgnore { [INFO] [stdout] | ----------------------- method `partial_cmp` not found for this struct because it doesn't satisfy `GenericIgnore: Iterator` [INFO] [stdout] ... [INFO] [stdout] 256 | / GenericIgnore { [INFO] [stdout] 257 | | f: 123, [INFO] [stdout] 258 | | t: PhantomData::::default() [INFO] [stdout] 259 | | } [INFO] [stdout] 260 | | .partial_cmp(&GenericIgnore { [INFO] [stdout] | | -^^^^^^^^^^^ `GenericIgnore` is not an iterator [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `GenericIgnore: Iterator` [INFO] [stdout] which is required by `&mut GenericIgnore: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `partial_cmp`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] candidate #2: `PartialOrd` [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] [stderr] error: could not compile `tulip-derivative` (test "derive-ord") due to 75 previous errors [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ast.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn all_fields(&self) -> Vec<&Field> { [INFO] [stdout] | ^^^^^ ------ [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn all_fields(&self) -> Vec<&Field<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3a46d80bde7ee744ffbc3c4f77fe7aae9fc3325dbe08f0e0156b9ea3969fef98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a46d80bde7ee744ffbc3c4f77fe7aae9fc3325dbe08f0e0156b9ea3969fef98", kill_on_drop: false }` [INFO] [stdout] 3a46d80bde7ee744ffbc3c4f77fe7aae9fc3325dbe08f0e0156b9ea3969fef98