[INFO] fetching crate tulip-derivative 2.2.1... [INFO] testing tulip-derivative-2.2.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate tulip-derivative 2.2.1 into /workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tulip-derivative 2.2.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 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.106) [INFO] [stderr] Adding trybuild v1.0.22 (available: v1.0.110) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] Downloading crates ... [INFO] [stderr] Downloaded runtime-macros-derive v0.4.0 [INFO] [stderr] Downloaded trybuild v1.0.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa444e2b82e4a322eaa0623d5801587a6815d01e7244c4321747d96f662f9f34 [INFO] running `Command { std: "docker" "start" "-a" "fa444e2b82e4a322eaa0623d5801587a6815d01e7244c4321747d96f662f9f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa444e2b82e4a322eaa0623d5801587a6815d01e7244c4321747d96f662f9f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa444e2b82e4a322eaa0623d5801587a6815d01e7244c4321747d96f662f9f34", kill_on_drop: false }` [INFO] [stdout] fa444e2b82e4a322eaa0623d5801587a6815d01e7244c4321747d96f662f9f34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de5e596548de8999a9c3ef871bf5cb7f3fff6a49922cbab234e70ea5af9f33ef [INFO] running `Command { std: "docker" "start" "-a" "de5e596548de8999a9c3ef871bf5cb7f3fff6a49922cbab234e70ea5af9f33ef", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn all_fields(&self) -> Vec<&Field<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.34s [INFO] running `Command { std: "docker" "inspect" "de5e596548de8999a9c3ef871bf5cb7f3fff6a49922cbab234e70ea5af9f33ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de5e596548de8999a9c3ef871bf5cb7f3fff6a49922cbab234e70ea5af9f33ef", kill_on_drop: false }` [INFO] [stdout] de5e596548de8999a9c3ef871bf5cb7f3fff6a49922cbab234e70ea5af9f33ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5802ebcef836a3c9aca6367dd3355188698773c4b672e982b76c5bb35ce3a129 [INFO] running `Command { std: "docker" "start" "-a" "5802ebcef836a3c9aca6367dd3355188698773c4b672e982b76c5bb35ce3a129", 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.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling runtime-macros-derive v0.4.0 [INFO] [stderr] Compiling tulip-derivative v2.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde v1.0.219 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn all_fields(&self) -> Vec<&Field<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling trybuild v1.0.22 [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/issue-57.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/rustc-deriving-meta.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-82.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/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/issue-82.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/issue-82.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-82.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/issue-57.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | gen!(Test); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `gen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-meta.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-debug-transparent.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | 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-57.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | gen!(Test); [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/issue-57.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `gen` (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-meta.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[derivative(PartialEq, Clone, 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.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-debug-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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] [stderr] error: could not compile `tulip-derivative` (test "issue-82") due to 3 previous errors [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug-transparent.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-transparent.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[derivative(Debug="transparent")] [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-transparent.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-debug-transparent.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-transparent.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Debug="transparent")] [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-transparent.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-debug-transparent.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-enum-single-variant.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-transparent.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-transparent.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-transparent.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[derivative(Debug="transparent")] [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-transparent.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-ord-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Foo` [INFO] [stdout] --> tests/rustc-deriving-meta.rs:36:15 [INFO] [stdout] | [INFO] [stdout] 36 | 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.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct Foo { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Foo` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 25 + #[derive(PartialEq)] [INFO] [stdout] 26 | 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:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | #[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: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[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-25394.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 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] [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] error[E0277]: `Test` doesn't implement `Debug` [INFO] [stdout] --> tests/issue-57.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | println!("{:?}", Test { a: 42 }); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ `Test` 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 `Test` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Test` or manually `impl Debug for Test` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Test` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(Debug)] [INFO] [stdout] 12 | pub struct $name { [INFO] [stdout] | [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-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[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: 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] 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/rustc-deriving-show-2.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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] [stderr] error: could not compile `tulip-derivative` (test "issue-57") due to 4 previous errors [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/issue-58.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[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-generics.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-generics.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[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-generics.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-generics.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `A` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-transparent.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 9 | struct A(isize); [INFO] [stdout] | -------- method `to_show` not found for this struct because it doesn't satisfy `A: Debug` or `A: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 35 | assert_eq!(A(42).to_show(), "42".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `A` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `A: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug-transparent.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `A` or manually `impl Debug for A` [INFO] [stdout] help: consider annotating `A` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 9 + #[derive(Debug)] [INFO] [stdout] 10 | struct A(isize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-generics.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-generics.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[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-generics.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-generics.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-generics.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-generics.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | V2(#[derivative(Debug="ignore")] U), [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-generics.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-generics.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `B` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-transparent.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 13 | struct B([isize; 1]); [INFO] [stdout] | -------- method `to_show` not found for this struct because it doesn't satisfy `B: Debug` or `B: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 36 | assert_eq!(B([42]).to_show(), "[42]".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `B` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `B: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug-transparent.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `B` or manually `impl Debug for B` [INFO] [stdout] help: consider annotating `B` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 13 + #[derive(Debug)] [INFO] [stdout] 14 | struct B([isize; 1]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Foo` in the current scope [INFO] [stdout] --> tests/rustc-deriving-meta.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 25 | struct Foo { [INFO] [stdout] | ---------- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 37 | 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] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[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-generics.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-generics.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | #[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-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `C` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-transparent.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 37 | assert_eq!(C::Foo(42).to_show(), "Foo(42)".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-transparent.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | 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] 17 + #[derive(Debug)] [INFO] [stdout] 18 | enum C { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(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: 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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | #[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-generics.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-generics.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | struct F(#[derivative(Debug="ignore")] U); [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-generics.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-generics.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | #[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-generics.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-generics.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | struct G(isize, #[derivative(Debug="ignore")] U); [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-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `C` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-transparent.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 17 | 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] 38 | assert_eq!(C::Bar(42).to_show(), "42".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-transparent.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | 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] 17 + #[derive(Debug)] [INFO] [stdout] 18 | enum C { [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 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] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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 attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 53 | #[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-generics.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-generics.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | struct J(#[derivative(Debug="ignore")] U); [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-generics.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-generics.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Foo: Hash` is not satisfied [INFO] [stdout] --> tests/rustc-deriving-meta.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | 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.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | 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] 25 + #[derive(Hash)] [INFO] [stdout] 26 | struct Foo { [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 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-debug-generics.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | #[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-generics.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-generics.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-enum-single-variant.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-enum-single-variant.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[derivative(PartialEq="feature_allow_slow_enum")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-enum-single-variant.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:75:3 [INFO] [stdout] | [INFO] [stdout] 75 | #[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-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-meta") due to 6 previous errors [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "derive-debug-transparent") due to 12 previous errors [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-enum-single-variant") due to 3 previous errors [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-show.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [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: 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-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] 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] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/issue-58.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Default, Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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-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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-25394.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [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] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | #[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: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 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/rustc-deriving-show-2.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-expr-copy") due to 4 previous errors [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/issue-58.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/issue-58.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-25394.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-25394.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-ord.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [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 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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: `Foo<{integer}, NoDebug>` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:82:46 [INFO] [stdout] | [INFO] [stdout] 13 | struct Foo { [INFO] [stdout] | ---------------- method `to_show` not found for this struct because it doesn't satisfy `Foo<{integer}, NoDebug>: Debug` or `Foo<{integer}, NoDebug>: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 82 | assert_eq!(Foo { foo: 42, bar: NoDebug }.to_show(), "Foo { foo: 42 }".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Foo<{integer}, NoDebug>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Foo<{integer}, NoDebug>: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug-generics.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `Foo<{integer}, NoDebug>` or manually `impl Debug for Foo<{integer}, NoDebug>` [INFO] [stdout] help: consider annotating `Foo<{integer}, NoDebug>` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 13 + #[derive(Debug)] [INFO] [stdout] 14 | struct Foo { [INFO] [stdout] | [INFO] [stdout] [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] 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-ord-packed.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | 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-packed.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/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] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> tests/rustc-issue-25394.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[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: 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] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Bar<{integer}, NoDebug>` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 21 | struct Bar ( [INFO] [stdout] | ---------------- method `to_show` not found for this struct because it doesn't satisfy `Bar<{integer}, NoDebug>: Debug` or `Bar<{integer}, NoDebug>: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 83 | assert_eq!(Bar(42, NoDebug).to_show(), "Bar(42)".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Bar<{integer}, NoDebug>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Bar<{integer}, NoDebug>: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug-generics.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `Bar<{integer}, NoDebug>` or manually `impl Debug for Bar<{integer}, NoDebug>` [INFO] [stdout] help: consider annotating `Bar<{integer}, NoDebug>` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Debug)] [INFO] [stdout] 22 | struct Bar ( [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: 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 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 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[E0277]: `Foo` doesn't implement `Debug` [INFO] [stdout] --> tests/issue-58.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | println!("foo = {:?}", foo1); [INFO] [stdout] | ---- ^^^^ `Foo` cannot be formatted using `{:?}` 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::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Foo` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(Debug)] [INFO] [stdout] 12 | pub struct Foo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `C` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:84:42 [INFO] [stdout] | [INFO] [stdout] 29 | 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] 84 | 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-generics.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 29 + #[derive(Debug)] [INFO] [stdout] 30 | enum C { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "issue-58") due to 4 previous errors [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | 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 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] 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]: `C` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:85:47 [INFO] [stdout] | [INFO] [stdout] 29 | 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] 85 | assert_eq!(C::V2::(NoDebug).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-generics.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 29 + #[derive(Debug)] [INFO] [stdout] 30 | enum C { [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-ord-packed.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | 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[E0599]: `C` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:86:57 [INFO] [stdout] | [INFO] [stdout] 29 | 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] 86 | 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-generics.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 29 + #[derive(Debug)] [INFO] [stdout] 30 | enum C { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-24085.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | 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/derive-ord-packed.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | 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 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[E0599]: `D` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 37 | 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] 87 | assert_eq!(D::V1 { a: NoDebug }.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-generics.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | 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] help: consider annotating `D` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Debug)] [INFO] [stdout] 38 | enum D { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `F` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 46 | struct F(#[derivative(Debug="ignore")] U); [INFO] [stdout] | ----------- method `to_show` not found for this struct because it doesn't satisfy `F: Debug` or `F: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 88 | assert_eq!(F(NoDebug).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-generics.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 46 + #[derive(Debug)] [INFO] [stdout] 47 | struct F(#[derivative(Debug="ignore")] U); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | 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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(PartialEq, Eq, Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `G` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 50 | struct G(isize, #[derivative(Debug="ignore")] U); [INFO] [stdout] | ----------- method `to_show` not found for this struct because it doesn't satisfy `G: Debug` or `G: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 89 | assert_eq!(G(42, NoDebug).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-generics.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 50 + #[derive(Debug)] [INFO] [stdout] 51 | struct G(isize, #[derivative(Debug="ignore")] U); [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] 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] [stdout] error[E0599]: `J` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 54 | struct J(#[derivative(Debug="ignore")] U); [INFO] [stdout] | ----------- method `to_show` not found for this struct because it doesn't satisfy `J: Debug` or `J: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 90 | 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-generics.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 54 + #[derive(Debug)] [INFO] [stdout] 55 | struct J(#[derivative(Debug="ignore")] U); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `PhantomField` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!(&format!("{:?}", PhantomField:: { foo: Default::default() }), "PhantomField { foo: PhantomData }"); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PhantomField` 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 `PhantomField` [INFO] [stdout] = note: add `#[derive(Debug)]` to `PhantomField` or manually `impl Debug for PhantomField` [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 `PhantomField` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 70 + #[derive(Debug)] [INFO] [stdout] 71 | struct PhantomField { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | 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-packed.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | #[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-packed.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `PhantomTuple` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:92:33 [INFO] [stdout] | [INFO] [stdout] 92 | assert_eq!(&format!("{:?}", PhantomTuple:: { foo: Default::default() }), "PhantomTuple { foo: PhantomData }"); [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `PhantomTuple` 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 `PhantomTuple` [INFO] [stdout] = note: add `#[derive(Debug)]` to `PhantomTuple` or manually `impl Debug for PhantomTuple` [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 `PhantomTuple` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 76 + #[derive(Debug)] [INFO] [stdout] 77 | struct PhantomTuple { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463, E0599. [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/rustc-issue-24085.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `B` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 17 | enum B { V1, V2, V3 } [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `B: Debug` or `B: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 65 | assert_eq!(B::V1.to_show(), "V1".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `B` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `B: Debug` was not satisfied [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `B` or manually `impl Debug for B` [INFO] [stdout] help: consider annotating `B` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Debug)] [INFO] [stdout] 18 | enum B { V1, V2, V3 } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-24085.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[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-issue-24085.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | 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-packed.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | #[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-packed.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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `B` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 17 | enum B { V1, V2, V3 } [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `B: Debug` or `B: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 66 | assert_eq!(B::V2.to_show(), "V2".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `B` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `B: Debug` was not satisfied [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `B` or manually `impl Debug for B` [INFO] [stdout] help: consider annotating `B` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Debug)] [INFO] [stdout] 18 | enum B { V1, V2, V3 } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-issue-25394") due to 3 previous errors; 1 warning emitted [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "derive-debug-generics") due to 37 previous errors [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:55:25 [INFO] [stdout] | [INFO] [stdout] 55 | #[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-packed.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | 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-packed.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show.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-issue-16530.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `C` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 21 | enum C { V1(isize), V2(B), V3(String) } [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `C: Debug` or `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 67 | assert_eq!(C::V1(3).to_show(), "V1(3)".to_string()); [INFO] [stdout] | ^^^^^^^ 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/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `C` or manually `impl Debug for C` [INFO] [stdout] help: consider annotating `C` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Debug)] [INFO] [stdout] 22 | enum C { V1(isize), V2(B), V3(String) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | 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-packed.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:99:3 [INFO] [stdout] | [INFO] [stdout] 99 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `C` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 21 | enum C { V1(isize), V2(B), V3(String) } [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `C: Debug` or `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 68 | assert_eq!(C::V2(B::V2).to_show(), "V2(V2)".to_string()); [INFO] [stdout] | ^^^^^^^ 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/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `C` or manually `impl Debug for C` [INFO] [stdout] help: consider annotating `C` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Debug)] [INFO] [stdout] 22 | enum C { V1(isize), V2(B), V3(String) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord-packed.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | #[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-packed.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show.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-deriving-show.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Derivative)] [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] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: `D` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 25 | enum D { V1{ a: isize } } [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `D: Debug` or `D: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 69 | assert_eq!(D::V1{ a: 2 }.to_show(), "V1 { a: 2 }".to_string()); [INFO] [stdout] | ^^^^^^^ 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/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `D` or manually `impl Debug for D` [INFO] [stdout] note: the method `to_show` exists on the type `isize` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | fn to_show(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider annotating `D` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 25 + #[derive(Debug)] [INFO] [stdout] 26 | enum D { V1{ a: isize } } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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]: `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[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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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: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]: `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]: `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] [stderr] error: could not compile `tulip-derivative` (test "rustc-issue-24085") due to 3 previous errors [INFO] [stderr] error: could not compile `tulip-derivative` (test "derive-debug") due to 31 previous errors [INFO] [stdout] error[E0599]: `E` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 29 | struct E; [INFO] [stdout] | -------- method `to_show` not found for this struct because it doesn't satisfy `E: Debug` or `E: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 70 | assert_eq!(E.to_show(), "E".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `E` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `E: Debug` was not satisfied [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `E` or manually `impl Debug for E` [INFO] [stdout] help: consider annotating `E` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 29 + #[derive(Debug)] [INFO] [stdout] 30 | struct E; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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]: `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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `F` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 32 | struct F(isize); [INFO] [stdout] | -------- method `to_show` not found for this struct because it doesn't satisfy `F: Debug` or `F: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 71 | assert_eq!(F(3).to_show(), "F(3)".to_string()); [INFO] [stdout] | ^^^^^^^ 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/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `F` or manually `impl Debug for F` [INFO] [stdout] help: consider annotating `F` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 32 + #[derive(Debug)] [INFO] [stdout] 33 | struct F(isize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `G` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 35 | struct G(isize, isize); [INFO] [stdout] | -------- method `to_show` not found for this struct because it doesn't satisfy `G: Debug` or `G: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 72 | assert_eq!(G(3, 4).to_show(), "G(3, 4)".to_string()); [INFO] [stdout] | ^^^^^^^ 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/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `G` or manually `impl Debug for G` [INFO] [stdout] help: consider annotating `G` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Debug)] [INFO] [stdout] 36 | struct G(isize, isize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-show-2") due to 31 previous errors [INFO] [stdout] error[E0599]: `I` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 41 | struct I { a: isize, b: isize } [INFO] [stdout] | -------- method `to_show` not found for this struct because it doesn't satisfy `I: Debug` or `I: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 73 | assert_eq!(I{ a: 2, b: 4 }.to_show(), "I { a: 2, b: 4 }".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `I` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `I: Debug` was not satisfied [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `I` or manually `impl Debug for I` [INFO] [stdout] help: consider annotating `I` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 41 + #[derive(Debug)] [INFO] [stdout] 42 | struct I { a: isize, b: isize } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show.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/rustc-deriving-show.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-deriving-show.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Derivative)] [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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-16530.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Derivative)] [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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-show.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-show.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `J` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show-2.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 44 | struct J(Custom); [INFO] [stdout] | -------- method `to_show` not found for this struct because it doesn't satisfy `J: Debug` or `J: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 74 | assert_eq!(J(Custom).to_show(), "J(yay)".to_string()); [INFO] [stdout] | ^^^^^^^ 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/rustc-deriving-show-2.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `J` or manually `impl Debug for J` [INFO] [stdout] help: consider annotating `J` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 44 + #[derive(Debug)] [INFO] [stdout] 45 | struct J(Custom); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-16530.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[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-issue-16530.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate 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[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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `Foo` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 16 | struct Foo { [INFO] [stdout] | ---------- method `partial_cmp` not found for this struct because it doesn't satisfy `Foo: Iterator` [INFO] [stdout] ... [INFO] [stdout] 123 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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: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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `Foo` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 16 | struct Foo { [INFO] [stdout] | ---------- method `partial_cmp` not found for this struct because it doesn't satisfy `Foo: Iterator` [INFO] [stdout] ... [INFO] [stdout] 127 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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: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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `Foo` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 16 | struct Foo { [INFO] [stdout] | ---------- method `partial_cmp` not found for this struct because it doesn't satisfy `Foo: Iterator` [INFO] [stdout] ... [INFO] [stdout] 131 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-show") due to 15 previous errors [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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `Foo` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:134:31 [INFO] [stdout] | [INFO] [stdout] 16 | struct Foo { [INFO] [stdout] | ---------- method `cmp` not found for this struct because it doesn't satisfy `Foo: Iterator` [INFO] [stdout] ... [INFO] [stdout] 134 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `Foo` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:135:32 [INFO] [stdout] | [INFO] [stdout] 16 | struct Foo { [INFO] [stdout] | ---------- method `cmp` not found for this struct because it doesn't satisfy `Foo: Iterator` [INFO] [stdout] ... [INFO] [stdout] 135 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `Foo` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 16 | 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: 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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: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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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: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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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-packed.rs:143:31 [INFO] [stdout] | [INFO] [stdout] 23 | struct WithPtr { [INFO] [stdout] | ------------------------- method `partial_cmp` not found for this struct because it doesn't satisfy `WithPtr: Iterator` [INFO] [stdout] ... [INFO] [stdout] 143 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `Unit` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(format!("{:?}", $x), $expected.to_string()) [INFO] [stdout] | ---- required by this formatting parameter [INFO] [stdout] ... [INFO] [stdout] 45 | t!(Unit, "Unit"); [INFO] [stdout] | ^^^^ `Unit` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Unit` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Unit` or manually `impl Debug for Unit` [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Unit` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Debug)] [INFO] [stdout] 20 | struct Unit; [INFO] [stdout] | [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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `partial_cmp` exists on the type `u8` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:1372: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[E0277]: `Tuple` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(format!("{:?}", $x), $expected.to_string()) [INFO] [stdout] | ---- required by this formatting parameter [INFO] [stdout] ... [INFO] [stdout] 46 | t!(Tuple(1, 2), "Tuple(1, 2)"); [INFO] [stdout] | ^^^^^^^^^^^ `Tuple` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Tuple` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Tuple` or manually `impl Debug for Tuple` [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Tuple` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 23 + #[derive(Debug)] [INFO] [stdout] 24 | struct Tuple(isize, usize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `WithPtr` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 23 | struct WithPtr { [INFO] [stdout] | ------------------------- method `cmp` not found for this struct because it doesn't satisfy `WithPtr: Iterator` [INFO] [stdout] ... [INFO] [stdout] 147 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `Struct` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(format!("{:?}", $x), $expected.to_string()) [INFO] [stdout] | ---- required by this formatting parameter [INFO] [stdout] ... [INFO] [stdout] 47 | t!(Struct { x: 1, y: 2 }, "Struct { x: 1, y: 2 }"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ `Struct` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Struct` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Struct` or manually `impl Debug for Struct` [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Struct` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Debug)] [INFO] [stdout] 28 | struct Struct { x: isize, y: usize } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Enum` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(format!("{:?}", $x), $expected.to_string()) [INFO] [stdout] | ---- required by this formatting parameter [INFO] [stdout] ... [INFO] [stdout] 48 | t!(Enum::Nullary, "Nullary"); [INFO] [stdout] | ^^^^^^^^^^^^^ `Enum` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Enum` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Enum` or manually `impl Debug for Enum` [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Enum` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 31 + #[derive(Debug)] [INFO] [stdout] 32 | enum Enum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Enum` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(format!("{:?}", $x), $expected.to_string()) [INFO] [stdout] | ---- required by this formatting parameter [INFO] [stdout] ... [INFO] [stdout] 49 | t!(Enum::Variant(1, 2), "Variant(1, 2)"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `Enum` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Enum` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Enum` or manually `impl Debug for Enum` [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Enum` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 31 + #[derive(Debug)] [INFO] [stdout] 32 | enum Enum { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `WithPtr` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:151:31 [INFO] [stdout] | [INFO] [stdout] 23 | struct WithPtr { [INFO] [stdout] | ------------------------- method `partial_cmp` not found for this struct because it doesn't satisfy `WithPtr: Iterator` [INFO] [stdout] ... [INFO] [stdout] 151 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `partial_cmp` exists on the type `{integer}` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:1372: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[E0277]: `Enum` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-show.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 39 | assert_eq!(format!("{:?}", $x), $expected.to_string()) [INFO] [stdout] | ---- required by this formatting parameter [INFO] [stdout] ... [INFO] [stdout] 50 | t!(Enum::StructVariant { x: 1, y: 2 }, "StructVariant { x: 1, y: 2 }"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Enum` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Enum` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Enum` or manually `impl Debug for Enum` [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `t` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Enum` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 31 + #[derive(Debug)] [INFO] [stdout] 32 | enum Enum { [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[E0599]: no method named `hash` found for struct `Empty` in the current scope [INFO] [stdout] --> tests/rustc-issue-16530.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 23 | struct Empty; [INFO] [stdout] | ------------ method `hash` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 28 | Empty.hash(&mut s1); [INFO] [stdout] | ^^^^ method not found in `Empty` [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 `hash`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `WithPtr` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:155:31 [INFO] [stdout] | [INFO] [stdout] 23 | struct WithPtr { [INFO] [stdout] | ------------------------- method `cmp` not found for this struct because it doesn't satisfy `WithPtr: Iterator` [INFO] [stdout] ... [INFO] [stdout] 155 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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<{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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `partial_cmp` exists on the type `{integer}` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:1372: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]: `Empty` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:159:22 [INFO] [stdout] | [INFO] [stdout] 34 | struct Empty; [INFO] [stdout] | ------------ method `partial_cmp` not found for this struct because it doesn't satisfy `Empty: Iterator` [INFO] [stdout] ... [INFO] [stdout] 159 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `AllIgnored` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:161:31 [INFO] [stdout] | [INFO] [stdout] 39 | struct AllIgnored { [INFO] [stdout] | ----------------- method `partial_cmp` not found for this struct because it doesn't satisfy `AllIgnored: Iterator` [INFO] [stdout] ... [INFO] [stdout] 161 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `partial_cmp` exists on the type `u8` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:1372: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]: no method named `hash` found for struct `Empty` in the current scope [INFO] [stdout] --> tests/rustc-issue-16530.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 23 | struct Empty; [INFO] [stdout] | ------------ method `hash` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 30 | Empty.hash(&mut s2); [INFO] [stdout] | ^^^^ method not found in `Empty` [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 `hash`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `OneIgnored` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:165:39 [INFO] [stdout] | [INFO] [stdout] 48 | struct OneIgnored { [INFO] [stdout] | ----------------- method `partial_cmp` not found for this struct because it doesn't satisfy `OneIgnored: Iterator` [INFO] [stdout] ... [INFO] [stdout] 165 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `partial_cmp` exists on the type `{integer}` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:1372: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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `partial_cmp` exists on the type `{integer}` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:1372: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]: `OneIgnored` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:169:39 [INFO] [stdout] | [INFO] [stdout] 48 | struct OneIgnored { [INFO] [stdout] | ----------------- method `partial_cmp` not found for this struct because it doesn't satisfy `OneIgnored: Iterator` [INFO] [stdout] ... [INFO] [stdout] 169 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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] [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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `cmp` exists on the type `u8` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:979: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]: `OneIgnored` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:173:39 [INFO] [stdout] | [INFO] [stdout] 48 | struct OneIgnored { [INFO] [stdout] | ----------------- method `partial_cmp` not found for this struct because it doesn't satisfy `OneIgnored: Iterator` [INFO] [stdout] ... [INFO] [stdout] 173 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `cmp` exists on the type `{integer}` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:979: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] [stderr] error: could not compile `tulip-derivative` (test "rustc-issue-16530") due to 5 previous errors [INFO] [stdout] error[E0599]: `Empty` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:176:22 [INFO] [stdout] | [INFO] [stdout] 34 | struct Empty; [INFO] [stdout] | ------------ method `cmp` not found for this struct because it doesn't satisfy `Empty: Iterator` [INFO] [stdout] ... [INFO] [stdout] 176 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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<{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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `cmp` exists on the type `{integer}` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:979: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]: `AllIgnored` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:178:31 [INFO] [stdout] | [INFO] [stdout] 39 | struct AllIgnored { [INFO] [stdout] | ----------------- method `cmp` not found for this struct because it doesn't satisfy `AllIgnored: Iterator` [INFO] [stdout] ... [INFO] [stdout] 178 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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: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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `cmp` exists on the type `u8` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:979: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]: `OneIgnored` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:182:39 [INFO] [stdout] | [INFO] [stdout] 48 | struct OneIgnored { [INFO] [stdout] | ----------------- method `cmp` not found for this struct because it doesn't satisfy `OneIgnored: Iterator` [INFO] [stdout] ... [INFO] [stdout] 182 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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-packed.rs:186:39 [INFO] [stdout] | [INFO] [stdout] 48 | struct OneIgnored { [INFO] [stdout] | ----------------- method `cmp` not found for this struct because it doesn't satisfy `OneIgnored: Iterator` [INFO] [stdout] ... [INFO] [stdout] 186 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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<{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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `cmp` exists on the type `{integer}` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:979: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]: `OneIgnored` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:190:39 [INFO] [stdout] | [INFO] [stdout] 48 | struct OneIgnored { [INFO] [stdout] | ----------------- method `cmp` not found for this struct because it doesn't satisfy `OneIgnored: Iterator` [INFO] [stdout] ... [INFO] [stdout] 190 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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<{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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/iter/traits/iterator.rs:39:1 [INFO] [stdout] note: the method `cmp` exists on the type `{integer}` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/cmp.rs:979: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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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-packed.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 58 | struct Tenth( [INFO] [stdout] | ------------ method `partial_cmp` not found for this struct because it doesn't satisfy `Tenth: Iterator` [INFO] [stdout] ... [INFO] [stdout] 225 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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-packed.rs:226:26 [INFO] [stdout] | [INFO] [stdout] 58 | struct Tenth( [INFO] [stdout] | ------------ method `partial_cmp` not found for this struct because it doesn't satisfy `Tenth: Iterator` [INFO] [stdout] ... [INFO] [stdout] 226 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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-packed.rs:227:26 [INFO] [stdout] | [INFO] [stdout] 58 | 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(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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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: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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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-packed.rs:228:27 [INFO] [stdout] | [INFO] [stdout] 58 | 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(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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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-packed.rs:229:26 [INFO] [stdout] | [INFO] [stdout] 58 | struct Tenth( [INFO] [stdout] | ------------ method `cmp` not found for this struct because it doesn't satisfy `Tenth: Iterator` [INFO] [stdout] ... [INFO] [stdout] 229 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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-packed.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 58 | struct Tenth( [INFO] [stdout] | ------------ method `cmp` not found for this struct because it doesn't satisfy `Tenth: Iterator` [INFO] [stdout] ... [INFO] [stdout] 230 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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: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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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-packed.rs:231:27 [INFO] [stdout] | [INFO] [stdout] 58 | 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(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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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-packed.rs:234:38 [INFO] [stdout] | [INFO] [stdout] 80 | struct Generic( [INFO] [stdout] | ----------------- method `partial_cmp` not found for this struct because it doesn't satisfy `Generic: Iterator` [INFO] [stdout] ... [INFO] [stdout] 234 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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-packed.rs:238:38 [INFO] [stdout] | [INFO] [stdout] 80 | struct Generic( [INFO] [stdout] | ----------------- method `cmp` not found for this struct because it doesn't satisfy `Generic: Iterator` [INFO] [stdout] ... [INFO] [stdout] 238 | 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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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]: `GenericIgnore` is not an iterator [INFO] [stdout] --> tests/derive-ord-packed.rs:247:10 [INFO] [stdout] | [INFO] [stdout] 101 | struct GenericIgnore { [INFO] [stdout] | ----------------------- method `cmp` not found for this struct because it doesn't satisfy `GenericIgnore: Iterator` [INFO] [stdout] ... [INFO] [stdout] 243 | / GenericIgnore { [INFO] [stdout] 244 | | f: 123, [INFO] [stdout] 245 | | t: NonPartialOrd [INFO] [stdout] 246 | | } [INFO] [stdout] 247 | | .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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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-packed.rs:258:10 [INFO] [stdout] | [INFO] [stdout] 101 | struct GenericIgnore { [INFO] [stdout] | ----------------------- method `partial_cmp` not found for this struct because it doesn't satisfy `GenericIgnore: Iterator` [INFO] [stdout] ... [INFO] [stdout] 254 | / GenericIgnore { [INFO] [stdout] 255 | | f: 123, [INFO] [stdout] 256 | | t: NonPartialOrd [INFO] [stdout] 257 | | } [INFO] [stdout] 258 | | .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/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/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] [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] [stderr] error: could not compile `tulip-derivative` (test "derive-ord-packed") due to 61 previous errors [INFO] running `Command { std: "docker" "inspect" "5802ebcef836a3c9aca6367dd3355188698773c4b672e982b76c5bb35ce3a129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5802ebcef836a3c9aca6367dd3355188698773c4b672e982b76c5bb35ce3a129", kill_on_drop: false }` [INFO] [stdout] 5802ebcef836a3c9aca6367dd3355188698773c4b672e982b76c5bb35ce3a129