[INFO] fetching crate tulip-derivative 2.2.1... [INFO] building tulip-derivative-2.2.1 against master#461e8078010433ff7de2db2aaae8a3cfb0847215 for pr-94962 [INFO] extracting crate tulip-derivative 2.2.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate tulip-derivative 2.2.1 on toolchain 461e8078010433ff7de2db2aaae8a3cfb0847215 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tulip-derivative 2.2.1 [INFO] finished tweaking crates.io crate tulip-derivative 2.2.1 [INFO] tweaked toml for crates.io crate tulip-derivative 2.2.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.22 [INFO] [stderr] Downloaded runtime-macros-derive v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e91f61f5a2ccb915b65cf1e9d95dff240529be71335cedf4598b0eda49aefe96 [INFO] running `Command { std: "docker" "start" "-a" "e91f61f5a2ccb915b65cf1e9d95dff240529be71335cedf4598b0eda49aefe96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e91f61f5a2ccb915b65cf1e9d95dff240529be71335cedf4598b0eda49aefe96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e91f61f5a2ccb915b65cf1e9d95dff240529be71335cedf4598b0eda49aefe96", kill_on_drop: false }` [INFO] [stdout] e91f61f5a2ccb915b65cf1e9d95dff240529be71335cedf4598b0eda49aefe96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59bb3eef525bfc721e76978f535ab549d0db3bbcac9e3a79d39d83a80480522c [INFO] running `Command { std: "docker" "start" "-a" "59bb3eef525bfc721e76978f535ab549d0db3bbcac9e3a79d39d83a80480522c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling tulip-derivative v2.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.66s [INFO] running `Command { std: "docker" "inspect" "59bb3eef525bfc721e76978f535ab549d0db3bbcac9e3a79d39d83a80480522c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59bb3eef525bfc721e76978f535ab549d0db3bbcac9e3a79d39d83a80480522c", kill_on_drop: false }` [INFO] [stdout] 59bb3eef525bfc721e76978f535ab549d0db3bbcac9e3a79d39d83a80480522c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+461e8078010433ff7de2db2aaae8a3cfb0847215" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35e990d613ad9891d5317508341ed5a800e0b3a62532bb3b6ba51892d81b3f6c [INFO] running `Command { std: "docker" "start" "-a" "35e990d613ad9891d5317508341ed5a800e0b3a62532bb3b6ba51892d81b3f6c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling runtime-macros-derive v0.4.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling trybuild v1.0.22 [INFO] [stderr] Compiling tulip-derivative v2.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-13434.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-eq.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-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[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-6341.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-bounds.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-42453.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-21402.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-clone-struct.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/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-enum-single-variant.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/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[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-expr-copy.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/issue-37-turbofish.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/issue-67.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-issue-19358.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/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] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/issue-55.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-3935.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-6341.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-42453.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/rustc-issue-19358.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/issue-67.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/issue-55.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/issue-37-turbofish.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-19358.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[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-19358.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-42453.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[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-42453.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-6341.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-issue-6341.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-19358.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(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 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: aborting due to 3 previous errors [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/issue-37-turbofish.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/issue-37-turbofish.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-eq-packed.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-bounds.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-issue-19358.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[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-19358.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/issue-55.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/issue-55.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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: 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/rustc-deriving-cmp-generic-struct.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/derive-debug.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[derivative(Debug="ignore")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/issue-37-turbofish.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[derivative(Debug(format_with = "std::fmt::Debug::fmt"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/issue-37-turbofish.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [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: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-eq-packed.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[derivative(Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-bounds.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[derivative(Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-bounds.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-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] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-3935.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/issue-55.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | struct _Bar<'a, T: Foo>(#[derivative(Debug(format_with="fmt"))] Qux<'a, T>); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/issue-55.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` due to 4 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/rustc-issue-13434.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-21402.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-eq.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.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-cmp-generic-struct.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(PartialEq, Eq, 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/rustc-deriving-cmp-generic-struct.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-enum-single-variant.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-eq-packed.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-3935.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-issue-3935.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-eq.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[derivative(Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-eq.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-13434.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-13434.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-eq.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/issue-67.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[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/issue-67.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-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] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-clone-struct.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Default, Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-eq.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[derivative(Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-eq.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.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/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-eq-packed.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[derivative(Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Foo` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-issue-19358.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | println!("{:?} {:?}", a, b); [INFO] [stdout] | ^ `Foo` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Foo` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Foo` or manually `impl Debug for Foo` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-eq.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[derivative(Eq(bound=""))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-eq.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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 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/rustc-deriving-clone-struct.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[derivative(Clone)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-clone-struct.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-enum-single-variant.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[derivative(PartialEq="feature_allow_slow_enum")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-enum-single-variant.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-21402.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[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-21402.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.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 attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative( [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-cmp-generic-enum.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-eq-packed.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(Eq(bound=""))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `Bike` [INFO] [stdout] --> tests/rustc-issue-3935.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | assert!(town_bike != my_bike); [INFO] [stdout] | --------- ^^ ------- Bike [INFO] [stdout] | | [INFO] [stdout] | Bike [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Bike` [INFO] [stdout] --> tests/rustc-issue-3935.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct Bike { [INFO] [stdout] | ^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Bike` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(*s1 == *s2, eq); [INFO] [stdout] | --- ^^ --- S<{integer}> [INFO] [stdout] | | [INFO] [stdout] | S<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | struct S { [INFO] [stdout] | ^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `S<{integer}>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `MyStruct` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-issue-13434.rs:37:77 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!("MyStruct".to_string(), do_stuff(|s: MyStruct| format!("{:?}", s))); [INFO] [stdout] | ^ `MyStruct` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `MyStruct` [INFO] [stdout] = note: add `#[derive(Debug)]` to `MyStruct` or manually `impl Debug for MyStruct` [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find 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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0463. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [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 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[E0277]: the trait bound `Foo: Eq` is not satisfied [INFO] [stdout] --> tests/derive-eq.rs:42:15 [INFO] [stdout] | [INFO] [stdout] 42 | assert_eq(Foo { foo: 7 }); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `Foo` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_eq` [INFO] [stdout] --> tests/derive-eq.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | fn assert_eq(_: T) {} [INFO] [stdout] | ^^ required by this bound in `assert_eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-eq-packed.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Bar` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-issue-19358.rs:40:30 [INFO] [stdout] | [INFO] [stdout] 40 | println!("{:?} {:?}", a, b); [INFO] [stdout] | ^ `Bar` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Bar` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Bar` or manually `impl Debug for Bar` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(*s1 != *s2, !eq); [INFO] [stdout] | --- ^^ --- S<{integer}> [INFO] [stdout] | | [INFO] [stdout] | S<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | struct S { [INFO] [stdout] | ^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `S<{integer}>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(PartialEq)] [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/derive-eq-packed.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[derivative(PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | assert_eq!(*e1 == *e2, eq); [INFO] [stdout] | --- ^^ --- E<{integer}> [INFO] [stdout] | | [INFO] [stdout] | E<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum E { [INFO] [stdout] | ^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `E<{integer}>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(PartialEq)] [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: aborting due to 7 previous errors [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[E0277]: the trait bound `WithPtr: Eq` is not satisfied [INFO] [stdout] --> tests/derive-eq.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq(WithPtr { foo: ptr1 }); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `WithPtr` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_eq` [INFO] [stdout] --> tests/derive-eq.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | fn assert_eq(_: T) {} [INFO] [stdout] | ^^ required by this bound in `assert_eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `S` in the current scope [INFO] [stdout] --> tests/rustc-deriving-clone-struct.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 23 | struct S { [INFO] [stdout] | -------- method `clone` not found for this [INFO] [stdout] ... [INFO] [stdout] 46 | let _ = S::default().clone(); [INFO] [stdout] | ^^^^^ method not found in `S` [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[E0369]: binary operation `<` cannot be applied to type `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(*s1 < *s2, lt); [INFO] [stdout] | --- ^ --- S<{integer}> [INFO] [stdout] | | [INFO] [stdout] | S<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd<_>` might be missing for `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | struct S { [INFO] [stdout] | ^^^^^^^^^^^ must implement `PartialOrd<_>` [INFO] [stdout] help: consider annotating `S<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [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] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | V2(#[derivative(Debug="ignore")] i32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-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.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [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-debug.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/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: aborting due to 4 previous errors [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] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Foo: Eq` is not satisfied [INFO] [stdout] --> tests/derive-eq-packed.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq(Foo { foo: 7 }); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `Foo` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_eq` [INFO] [stdout] --> tests/derive-eq-packed.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | fn assert_eq(_: T) {} [INFO] [stdout] | ^^ required by this bound in `assert_eq` [INFO] [stdout] [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] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-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[E0369]: binary operation `!=` cannot be applied to type `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(*e1 != *e2, !eq); [INFO] [stdout] | --- ^^ --- E<{integer}> [INFO] [stdout] | | [INFO] [stdout] | E<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum E { [INFO] [stdout] | ^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `E<{integer}>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(PartialEq)] [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] 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[E0277]: the trait bound `WithPtr: Eq` is not satisfied [INFO] [stdout] --> tests/derive-eq-packed.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq(WithPtr { foo: ptr1 }); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `WithPtr` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_eq` [INFO] [stdout] --> tests/derive-eq-packed.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | fn assert_eq(_: T) {} [INFO] [stdout] | ^^ required by this bound in `assert_eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | struct F(#[derivative(Debug="ignore")] isize); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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 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[E0369]: binary operation `<` cannot be applied to type `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(*e1 < *e2, lt); [INFO] [stdout] | --- ^ --- E<{integer}> [INFO] [stdout] | | [INFO] [stdout] | E<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd<_>` might be missing for `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum E { [INFO] [stdout] | ^^^^^^^^^ must implement `PartialOrd<_>` [INFO] [stdout] help: consider annotating `E<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Generic` [INFO] [stdout] --> tests/derive-eq-packed.rs:59:42 [INFO] [stdout] | [INFO] [stdout] 59 | assert!(Generic(SomeType { foo: 0 }) == Generic(SomeType { foo: 0 })); [INFO] [stdout] | ---------------------------- ^^ ---------------------------- Generic [INFO] [stdout] | | [INFO] [stdout] | Generic [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Generic` [INFO] [stdout] --> tests/derive-eq-packed.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | struct Generic(T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Generic` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(PartialEq)] [INFO] [stdout] | [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[E0369]: binary operation `>` cannot be applied to type `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(*s1 > *s2, gt); [INFO] [stdout] | --- ^ --- S<{integer}> [INFO] [stdout] | | [INFO] [stdout] | S<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd<_>` might be missing for `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | struct S { [INFO] [stdout] | ^^^^^^^^^^^ must implement `PartialOrd<_>` [INFO] [stdout] help: consider annotating `S<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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[E0369]: binary operation `>` cannot be applied to type `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(*e1 > *e2, gt); [INFO] [stdout] | --- ^ --- E<{integer}> [INFO] [stdout] | | [INFO] [stdout] | E<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd<_>` might be missing for `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum E { [INFO] [stdout] | ^^^^^^^^^ must implement `PartialOrd<_>` [INFO] [stdout] help: consider annotating `E<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(PartialEq, PartialOrd)] [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[E0369]: binary operation `<=` cannot be applied to type `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(*s1 <= *s2, le); [INFO] [stdout] | --- ^^ --- S<{integer}> [INFO] [stdout] | | [INFO] [stdout] | S<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd<_>` might be missing for `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | struct S { [INFO] [stdout] | ^^^^^^^^^^^ must implement `PartialOrd<_>` [INFO] [stdout] help: consider annotating `S<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(PartialEq, PartialOrd)] [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[E0277]: the trait bound `Generic: Eq` is not satisfied [INFO] [stdout] --> tests/derive-eq-packed.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq(Generic(SomeType { foo: 0 })); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Eq` is not implemented for `Generic` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `assert_eq` [INFO] [stdout] --> tests/derive-eq-packed.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | fn assert_eq(_: T) {} [INFO] [stdout] | ^^ required by this bound in `assert_eq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [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] Some errors have detailed explanations: E0277, E0369, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<=` cannot be applied to type `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(*e1 <= *e2, le); [INFO] [stdout] | --- ^^ --- E<{integer}> [INFO] [stdout] | | [INFO] [stdout] | E<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd<_>` might be missing for `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum E { [INFO] [stdout] | ^^^^^^^^^ must implement `PartialOrd<_>` [INFO] [stdout] help: consider annotating `E<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(PartialEq, PartialOrd)] [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] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `A: Debug` [INFO] [stdout] | doesn't satisfy `A: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 35 | assert_eq!(A(42).to_show(), "42".to_string()); [INFO] [stdout] | ^^^^^^^ `A` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `A: Debug` [INFO] [stdout] --> tests/derive-debug-transparent.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `A` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [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[E0369]: binary operation `>=` cannot be applied to type `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(*s1 >= *s2, ge); [INFO] [stdout] | --- ^^ --- S<{integer}> [INFO] [stdout] | | [INFO] [stdout] | S<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd<_>` might be missing for `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | struct S { [INFO] [stdout] | ^^^^^^^^^^^ must implement `PartialOrd<_>` [INFO] [stdout] help: consider annotating `S<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(PartialEq, PartialOrd)] [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 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/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[E0599]: the method `cmp` exists for reference `&S<{integer}>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 21 | struct S { [INFO] [stdout] | ----------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `S<{integer}>: Iterator` [INFO] [stdout] | doesn't satisfy `S<{integer}>: Ord` [INFO] [stdout] ... [INFO] [stdout] 56 | assert_eq!(s1.cmp(s2), ord); [INFO] [stdout] | ^^^ method cannot be called on `&S<{integer}>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `S<{integer}>: Ord` [INFO] [stdout] which is required by `&S<{integer}>: Ord` [INFO] [stdout] `&S<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut &S<{integer}>: Iterator` [INFO] [stdout] `S<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut S<{integer}>: Iterator` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] help: consider annotating `S<{integer}>` with `#[derive(Eq, Ord, PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Eq, Ord, PartialEq, PartialOrd)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [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[E0369]: binary operation `>=` cannot be applied to type `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(*e1 >= *e2, ge); [INFO] [stdout] | --- ^^ --- E<{integer}> [INFO] [stdout] | | [INFO] [stdout] | E<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd<_>` might be missing for `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum E { [INFO] [stdout] | ^^^^^^^^^ must implement `PartialOrd<_>` [INFO] [stdout] help: consider annotating `E<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(PartialEq, PartialOrd)] [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[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] | --------------------- [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `B: Debug` [INFO] [stdout] | doesn't satisfy `B: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 36 | assert_eq!(B([42]).to_show(), "[42]".to_string()); [INFO] [stdout] | ^^^^^^^ `B` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `B: Debug` [INFO] [stdout] --> tests/derive-debug-transparent.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `B` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [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: 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[E0599]: `C` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-transparent.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 17 | enum C { [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `C: Debug` [INFO] [stdout] | doesn't satisfy `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 37 | assert_eq!(C::Foo(42).to_show(), "Foo(42)".to_string()); [INFO] [stdout] | ^^^^^^^ `C` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `C: Debug` [INFO] [stdout] --> tests/derive-debug-transparent.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `C` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cmp` exists for reference `&E<{integer}>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 26 | enum E { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `E<{integer}>: Iterator` [INFO] [stdout] | doesn't satisfy `E<{integer}>: Ord` [INFO] [stdout] ... [INFO] [stdout] 65 | assert_eq!(e1.cmp(e2), ord); [INFO] [stdout] | ^^^ method cannot be called on `&E<{integer}>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `E<{integer}>: Ord` [INFO] [stdout] which is required by `&E<{integer}>: Ord` [INFO] [stdout] `&E<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut &E<{integer}>: Iterator` [INFO] [stdout] `E<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut E<{integer}>: Iterator` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] help: consider annotating `E<{integer}>` with `#[derive(Eq, Ord, PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Eq, Ord, PartialEq, PartialOrd)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [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] Some errors have detailed explanations: E0369, E0463, E0599. [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] | ---------- [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `Foo: Debug` [INFO] [stdout] | doesn't satisfy `Foo: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 68 | assert_eq!(Foo { foo: 42, bar: 1 }.to_show(), "Foo { foo: 42 }".to_string()); [INFO] [stdout] | ^^^^^^^ `Foo` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `Foo: Debug` [INFO] [stdout] --> tests/derive-debug.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `Foo` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [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] | ------ [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `C: Debug` [INFO] [stdout] | doesn't satisfy `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 38 | assert_eq!(C::Bar(42).to_show(), "42".to_string()); [INFO] [stdout] | ^^^^^^^ `C` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `C: Debug` [INFO] [stdout] --> tests/derive-debug-transparent.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `C` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [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] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: `Bar` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 19 | / struct Bar ( [INFO] [stdout] 20 | | u8, [INFO] [stdout] 21 | | #[derivative(Debug="ignore")] [INFO] [stdout] 22 | | u8, [INFO] [stdout] 23 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | method `to_show` not found for this [INFO] [stdout] | |__doesn't satisfy `Bar: Debug` [INFO] [stdout] | doesn't satisfy `Bar: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 69 | assert_eq!(Bar(42, 1).to_show(), "Bar(42)".to_string()); [INFO] [stdout] | ^^^^^^^ `Bar` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `Bar: Debug` [INFO] [stdout] --> tests/derive-debug.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `Bar` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug)] [INFO] [stdout] | [INFO] [stdout] [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] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `Foo<{integer}, NoDebug>: Debug` [INFO] [stdout] | doesn't satisfy `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] | ^^^^^^^ `Foo<{integer}, NoDebug>` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `Foo<{integer}, NoDebug>: Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `Foo<{integer}, NoDebug>` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [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] | ------ [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `C: Debug` [INFO] [stdout] | doesn't satisfy `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 70 | assert_eq!(C::V1(12).to_show(), "V1(12)".to_string()); [INFO] [stdout] | ^^^^^^^ `C` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `C: Debug` [INFO] [stdout] --> tests/derive-debug.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `C` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug)] [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] 22 | | T, [INFO] [stdout] 23 | | #[derivative(Debug="ignore")] [INFO] [stdout] 24 | | U, [INFO] [stdout] 25 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | method `to_show` not found for this [INFO] [stdout] | |__doesn't satisfy `Bar<{integer}, NoDebug>: Debug` [INFO] [stdout] | doesn't satisfy `Bar<{integer}, NoDebug>: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 83 | assert_eq!(Bar(42, NoDebug).to_show(), "Bar(42)".to_string()); [INFO] [stdout] | ^^^^^^^ `Bar<{integer}, NoDebug>` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `Bar<{integer}, NoDebug>: Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `Bar<{integer}, NoDebug>` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Debug)] [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] | ------ [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `C: Debug` [INFO] [stdout] | doesn't satisfy `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 71 | assert_eq!(C::V2(12).to_show(), "V2".to_string()); [INFO] [stdout] | ^^^^^^^ `C` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `C: Debug` [INFO] [stdout] --> tests/derive-debug.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `C` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug)] [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] | ------------ [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `C: Debug` [INFO] [stdout] | doesn't satisfy `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 84 | assert_eq!(C::V1::(12).to_show(), "V1(12)".to_string()); [INFO] [stdout] | ^^^^^^^ `C` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `C: Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `C` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [INFO] [stdout] | [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] | ------ [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `C: Debug` [INFO] [stdout] | doesn't satisfy `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 72 | assert_eq!(C::V3("foo".to_string()).to_show(), "V3(\"foo\")".to_string()); [INFO] [stdout] | ^^^^^^^ `C` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `C: Debug` [INFO] [stdout] --> tests/derive-debug.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `C` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug)] [INFO] [stdout] | [INFO] [stdout] [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] | ------------ [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `C: Debug` [INFO] [stdout] | doesn't satisfy `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 85 | assert_eq!(C::V2::(NoDebug).to_show(), "V2".to_string()); [INFO] [stdout] | ^^^^^^^ `C` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `C: Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `C` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [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] | ------ [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `D: Debug` [INFO] [stdout] | doesn't satisfy `D: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 73 | assert_eq!(D::V1 { a: 42 }.to_show(), "V1".to_string()); [INFO] [stdout] | ^^^^^^^ `D` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `D: Debug` [INFO] [stdout] --> tests/derive-debug.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `D` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [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] | ------------ [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `C: Debug` [INFO] [stdout] | doesn't satisfy `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 86 | assert_eq!(C::V3::("foo".to_string()).to_show(), "V3(\"foo\")".to_string()); [INFO] [stdout] | ^^^^^^^ `C` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `C: Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `C` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Debug)] [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] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `F: Debug` [INFO] [stdout] | doesn't satisfy `F: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 74 | assert_eq!(F(42).to_show(), "F".to_string()); [INFO] [stdout] | ^^^^^^^ `F` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `F: Debug` [INFO] [stdout] --> tests/derive-debug.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `F` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug)] [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] | --------- [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `D: Debug` [INFO] [stdout] | doesn't satisfy `D: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 87 | assert_eq!(D::V1 { a: NoDebug }.to_show(), "V1".to_string()); [INFO] [stdout] | ^^^^^^^ `D` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `D: Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `D` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug)] [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] | ----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `G: Debug` [INFO] [stdout] | doesn't satisfy `G: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 75 | assert_eq!(G(42, 0).to_show(), "G(42)".to_string()); [INFO] [stdout] | ^^^^^^^ `G` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `G: Debug` [INFO] [stdout] --> tests/derive-debug.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `G` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug)] [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] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `F: Debug` [INFO] [stdout] | doesn't satisfy `F: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 88 | assert_eq!(F(NoDebug).to_show(), "F".to_string()); [INFO] [stdout] | ^^^^^^^ `F` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `F: Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `F` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug)] [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] | ------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `J: Debug` [INFO] [stdout] | doesn't satisfy `J: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 76 | assert_eq!(J(NoDebug).to_show(), "J".to_string()); [INFO] [stdout] | ^^^^^^^ `J` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `J: Debug` [INFO] [stdout] --> tests/derive-debug.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `J` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] 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] | ---------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `G: Debug` [INFO] [stdout] | doesn't satisfy `G: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 89 | assert_eq!(G(42, NoDebug).to_show(), "G(42)".to_string()); [INFO] [stdout] | ^^^^^^^ `G` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `G: Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `G` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Debug)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [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] | --------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `J: Debug` [INFO] [stdout] | doesn't satisfy `J: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 90 | assert_eq!(J(NoDebug).to_show(), "J".to_string()); [INFO] [stdout] | ^^^^^^^ `J` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `J: Debug` [INFO] [stdout] --> tests/derive-debug-generics.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `J` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Debug)] [INFO] [stdout] | [INFO] [stdout] [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 `{:?}` [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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 `{:?}` [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` (in Nightly builds, run with -Z macro-backtrace for more info) [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/clippy-warning-clone-from.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors [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[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[derivative(PartialEq, Hash, Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-via-extension-hash-struct.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 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/clippy-warning-clone-from.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/clippy-warning-clone-from.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[derivative(Clone(clone_from = "true"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/clippy-warning-clone-from.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Foo` [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(a, b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Foo [INFO] [stdout] | Foo [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Foo` [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct Foo { [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Foo` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-clone-tuple-struct.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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-28561.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Foo` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | assert_eq!(a, b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `Foo` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Foo` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Foo` or manually `impl Debug for Foo` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `Foo` [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | assert!(!(a != b)); [INFO] [stdout] | - ^^ - Foo [INFO] [stdout] | | [INFO] [stdout] | Foo [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Foo` [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct Foo { [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Foo` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[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-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.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-partial-eq-packed.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[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-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-via-extension-hash-struct.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Foo` is not an iterator [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 19 | struct Foo { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | method `eq` not found for this [INFO] [stdout] | doesn't satisfy `Foo: Iterator` [INFO] [stdout] ... [INFO] [stdout] 31 | assert!(a.eq(&b)); [INFO] [stdout] | ^^ `Foo` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Foo: Iterator` [INFO] [stdout] which is required by `&mut Foo: Iterator` [INFO] [stdout] note: the following trait must be implemented [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 `eq`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[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-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-via-extension-hash-struct.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-deriving-via-extension-hash-struct.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Foo` is not an iterator [INFO] [stdout] --> tests/rustc-deriving-via-extension-type-params.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 19 | struct Foo { [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | method `ne` not found for this [INFO] [stdout] | doesn't satisfy `Foo: Iterator` [INFO] [stdout] ... [INFO] [stdout] 32 | assert!(!a.ne(&b)); [INFO] [stdout] | ^^ `Foo` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Foo: Iterator` [INFO] [stdout] which is required by `&mut Foo: Iterator` [INFO] [stdout] note: the following trait must be implemented [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 `ne`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.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-partial-eq-packed.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-19102.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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.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-partial-eq-packed.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | struct Generic(#[derivative(PartialEq(compare_with = "dummy_cmp", bound = ""))] T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | #[derivative(PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.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-partial-eq-packed.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[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-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-clone-tuple-struct.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-copyclone.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/rustc-deriving-clone-tuple-struct.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(Clone)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-clone-tuple-struct.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[derivative(Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[derivative(Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-19102.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-cmp-generic-struct-enum.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative( [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-cmp-generic-struct-enum.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-19102.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[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-issue-19102.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-28561.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | / define! { [INFO] [stdout] 42 | | struct; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-28561.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(Debug, Default, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-issue-28561.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | / define! { [INFO] [stdout] 42 | | struct; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-28561.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | / define! { [INFO] [stdout] 50 | | struct { [INFO] [stdout] 51 | | foo: u8 [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | / define! { [INFO] [stdout] 50 | | struct { [INFO] [stdout] 51 | | foo: u8 [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-28561.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 60 | #[derivative(Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-issue-28561.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | / define! { [INFO] [stdout] 61 | | struct<'a> { [INFO] [stdout] 62 | | foo: u8, [INFO] [stdout] 63 | | bar: &'a str, [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-28561.rs:97:10 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | / define! { [INFO] [stdout] 61 | | struct<'a> { [INFO] [stdout] 62 | | foo: u8, [INFO] [stdout] 63 | | bar: &'a str, [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | / define! { [INFO] [stdout] 73 | | struct<'a> (u8, &'a str); [INFO] [stdout] 74 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-28561.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | #[derivative(Clone, Copy, Debug, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-issue-28561.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-28561.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | / define! { [INFO] [stdout] 73 | | struct<'a> (u8, &'a str); [INFO] [stdout] 74 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | / define! { [INFO] [stdout] 82 | | enum { [INFO] [stdout] 83 | | A, B, C [INFO] [stdout] 84 | | } [INFO] [stdout] 85 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Foo` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | assert!(Foo { foo: 7 } == Foo { foo: 7 }); [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/derive-partial-eq-packed.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct Foo { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Foo` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `Foo` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | assert!(Foo { foo: 7 } != Foo { foo: 42 }); [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/derive-partial-eq-packed.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct Foo { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Foo` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-28561.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | #[derivative(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-issue-28561.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | / define! { [INFO] [stdout] 82 | | enum { [INFO] [stdout] 83 | | A, B, C [INFO] [stdout] 84 | | } [INFO] [stdout] 85 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `WithPtr` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | assert!(WithPtr { foo: ptr1 } == WithPtr { foo: ptr1 }); [INFO] [stdout] | --------------------- ^^ --------------------- WithPtr [INFO] [stdout] | | [INFO] [stdout] | WithPtr [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `WithPtr` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct WithPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `WithPtr` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `WithPtr` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | assert!(WithPtr { foo: ptr1 } != WithPtr { foo: ptr2 }); [INFO] [stdout] | --------------------- ^^ --------------------- WithPtr [INFO] [stdout] | | [INFO] [stdout] | WithPtr [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `WithPtr` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct WithPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `WithPtr` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | / define! { [INFO] [stdout] 94 | | enum { [INFO] [stdout] 95 | | A, B = 42, C [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Empty` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | assert!(Empty == Empty); [INFO] [stdout] | ----- ^^ ----- Empty [INFO] [stdout] | | [INFO] [stdout] | Empty [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Empty` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | struct Empty; [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Empty` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `AllIgnored` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:95:35 [INFO] [stdout] | [INFO] [stdout] 95 | assert!(AllIgnored { foo: 0 } == AllIgnored { foo: 42 }); [INFO] [stdout] | --------------------- ^^ ---------------------- AllIgnored [INFO] [stdout] | | [INFO] [stdout] | AllIgnored [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `AllIgnored` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct AllIgnored { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `AllIgnored` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `OneIgnored` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | assert!(OneIgnored { foo: 0, bar: 6 } == OneIgnored { foo: 42, bar: 6 }); [INFO] [stdout] | ----------------------------- ^^ ------------------------------ OneIgnored [INFO] [stdout] | | [INFO] [stdout] | OneIgnored [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `OneIgnored` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | struct OneIgnored { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `OneIgnored` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `OneIgnored` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:97:43 [INFO] [stdout] | [INFO] [stdout] 97 | assert!(OneIgnored { foo: 0, bar: 6 } != OneIgnored { foo: 42, bar: 7 }); [INFO] [stdout] | ----------------------------- ^^ ------------------------------ OneIgnored [INFO] [stdout] | | [INFO] [stdout] | OneIgnored [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `OneIgnored` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | struct OneIgnored { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `OneIgnored` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | / define! { [INFO] [stdout] 94 | | enum { [INFO] [stdout] 95 | | A, B = 42, C [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | / define! { [INFO] [stdout] 106 | | enum { [INFO] [stdout] 107 | | A, B = 42, C=1 [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hash` found for struct `Foo` in the current scope [INFO] [stdout] --> tests/rustc-deriving-via-extension-hash-struct.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 23 | struct Foo { [INFO] [stdout] | ---------- method `hash` not found for this [INFO] [stdout] ... [INFO] [stdout] 33 | Foo { x: 0, y: 0, z: 0 }.hash(&mut hasher); [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 `hash`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> tests/rustc-deriving-via-extension-hash-struct.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | / define! { [INFO] [stdout] 106 | | enum { [INFO] [stdout] 107 | | A, B = 42, C=1 [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 118 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 121 | #[derivative(Hash="ignore")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(*es1 == *es2, eq); [INFO] [stdout] | ---- ^^ ---- ES<{integer}> [INFO] [stdout] | | [INFO] [stdout] | ES<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum ES { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `ES<{integer}>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Parity` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | assert!(Parity(3) == Parity(7)); [INFO] [stdout] | --------- ^^ --------- Parity [INFO] [stdout] | | [INFO] [stdout] | Parity [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Parity` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Parity` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Parity` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | assert!(Parity(2) == Parity(42)); [INFO] [stdout] | --------- ^^ ---------- Parity [INFO] [stdout] | | [INFO] [stdout] | Parity [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Parity` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Parity` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(*es1 != *es2, !eq); [INFO] [stdout] | ---- ^^ ---- ES<{integer}> [INFO] [stdout] | | [INFO] [stdout] | ES<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum ES { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `ES<{integer}>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `Parity` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | assert!(Parity(3) != Parity(42)); [INFO] [stdout] | --------- ^^ ---------- Parity [INFO] [stdout] | | [INFO] [stdout] | Parity [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Parity` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Parity` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `Parity` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | assert!(Parity(2) != Parity(7)); [INFO] [stdout] | --------- ^^ --------- Parity [INFO] [stdout] | | [INFO] [stdout] | Parity [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Parity` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Parity` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<` cannot be applied to type `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(*es1 < *es2, lt); [INFO] [stdout] | ---- ^ ---- ES<{integer}> [INFO] [stdout] | | [INFO] [stdout] | ES<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd<_>` might be missing for `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum ES { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialOrd<_>` [INFO] [stdout] help: consider annotating `ES<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [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[E0369]: binary operation `==` cannot be applied to type `Generic` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:110:42 [INFO] [stdout] | [INFO] [stdout] 110 | assert!(Generic(SomeType { foo: 0 }) == Generic(SomeType { foo: 0 })); [INFO] [stdout] | ---------------------------- ^^ ---------------------------- Generic [INFO] [stdout] | | [INFO] [stdout] | Generic [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Generic` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | struct Generic(#[derivative(PartialEq(compare_with = "dummy_cmp", bound = ""))] T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Generic` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>` cannot be applied to type `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(*es1 > *es2, gt); [INFO] [stdout] | ---- ^ ---- ES<{integer}> [INFO] [stdout] | | [INFO] [stdout] | ES<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd<_>` might be missing for `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum ES { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialOrd<_>` [INFO] [stdout] help: consider annotating `ES<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `GenericIgnore` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 112 | / GenericIgnore { [INFO] [stdout] 113 | | f: 123, [INFO] [stdout] 114 | | t: NonPartialEq [INFO] [stdout] 115 | | } == GenericIgnore { [INFO] [stdout] | |_________-_^^_- [INFO] [stdout] | ||_________| [INFO] [stdout] | | GenericIgnore [INFO] [stdout] 116 | | f: 123, [INFO] [stdout] 117 | | t: NonPartialEq [INFO] [stdout] 118 | | } [INFO] [stdout] | |__________- GenericIgnore [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `GenericIgnore` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | struct GenericIgnore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `GenericIgnore` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<=` cannot be applied to type `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(*es1 <= *es2, le); [INFO] [stdout] | ---- ^^ ---- ES<{integer}> [INFO] [stdout] | | [INFO] [stdout] | ES<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd<_>` might be missing for `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum ES { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialOrd<_>` [INFO] [stdout] help: consider annotating `ES<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>=` cannot be applied to type `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(*es1 >= *es2, ge); [INFO] [stdout] | ---- ^^ ---- ES<{integer}> [INFO] [stdout] | | [INFO] [stdout] | ES<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd<_>` might be missing for `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum ES { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialOrd<_>` [INFO] [stdout] help: consider annotating `ES<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(PartialEq, PartialOrd)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cmp` exists for reference `&ES<{integer}>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 26 | enum ES { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `ES<{integer}>: Iterator` [INFO] [stdout] | doesn't satisfy `ES<{integer}>: Ord` [INFO] [stdout] ... [INFO] [stdout] 63 | assert_eq!(es1.cmp(es2), ord); [INFO] [stdout] | ^^^ method cannot be called on `&ES<{integer}>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ES<{integer}>: Ord` [INFO] [stdout] which is required by `&ES<{integer}>: Ord` [INFO] [stdout] `&ES<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut &ES<{integer}>: Iterator` [INFO] [stdout] `ES<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut ES<{integer}>: Iterator` [INFO] [stdout] note: the following trait must be implemented [INFO] [stdout] help: consider annotating `ES<{integer}>` with `#[derive(Eq, Ord, PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Eq, Ord, PartialEq, PartialOrd)] [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 [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[E0599]: no method named `clone` found for struct `OurOur1` in the current scope [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:58:27 [INFO] [stdout] | [INFO] [stdout] 48 | struct OurOur1(Liar); [INFO] [stdout] | --------------------- method `clone` not found for this [INFO] [stdout] ... [INFO] [stdout] 58 | let _ = OurOur1(Liar).clone(); [INFO] [stdout] | ^^^^^ method not found in `OurOur1` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [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] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `OurOur2` in the current scope [INFO] [stdout] --> tests/rustc-deriving-copyclone.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 51 | struct OurOur2(Liar); [INFO] [stdout] | --------------------- method `clone` not found for this [INFO] [stdout] ... [INFO] [stdout] 60 | let _ = OurOur2(Liar).clone(); [INFO] [stdout] | ^^^^^ method not found in `OurOur2` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [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: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(fake_hash(Ours), fake_hash(Theirs)); [INFO] [stdout] | --------- ^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(fake_hash(Ours { foo: 0 }), fake_hash(Theirs { foo: 0 })); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(fake_hash(Ours { foo: 42 }), fake_hash(Theirs { foo: 42 })); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours<'_>: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | assert_eq!(fake_hash(Ours { foo: 0, bar: "bar" }), fake_hash(Theirs { foo: 0, bar: "bar" })); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `main::Ours<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours<'_>: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(fake_hash(Ours { foo: 42, bar: "bar" }), fake_hash(Theirs { foo: 42, bar: "bar" })); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `main::Ours<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours<'_>: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | assert_eq!(fake_hash(Ours ( 0, "bar" )), fake_hash(Theirs ( 0, "bar" ))); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `main::Ours<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours<'_>: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(fake_hash(Ours ( 42, "bar" )), fake_hash(Theirs ( 42, "bar" ))); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `main::Ours<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:87:30 [INFO] [stdout] | [INFO] [stdout] 87 | assert_eq!(fake_hash(Ours::A), fake_hash(Theirs::A)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | assert_eq!(fake_hash(Ours::B), fake_hash(Theirs::B)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:89:30 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(fake_hash(Ours::C), fake_hash(Theirs::C)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | assert_eq!(fake_hash(Ours::A), fake_hash(Theirs::A)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | assert_eq!(fake_hash(Ours::B), fake_hash(Theirs::B)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(fake_hash(Ours::C), fake_hash(Theirs::C)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | assert_eq!(fake_hash(Ours::A), fake_hash(Theirs::A)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(fake_hash(Ours::B), fake_hash(Theirs::B)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(fake_hash(Ours::C), fake_hash(Theirs::C)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours<'_>: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:132:30 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(fake_hash(Ours { foo: 0, bar: "bar", baz: 312 }), fake_hash(Theirs { foo: 0, baz: 312 })); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `main::Ours<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours<'_>: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(fake_hash(Ours { foo: 42, bar: "bar", baz: 312 }), fake_hash(Theirs { foo: 42, baz: 312 })); [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Hash` is not implemented for `main::Ours<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 36 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-clone-enum.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-zero-sized-btreemap-insert.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-debug-packed.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-default.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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-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: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-clone-enum.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-clone-enum.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(Clone)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-clone-enum.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug-packed.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-29710.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | 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-issue-19135.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-debug-packed.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/derive-debug-packed.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.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/rustc-zero-sized-btreemap-insert.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-packed.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | #[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-packed.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-packed.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-zero-sized-btreemap-insert.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[derivative(Eq, Hash, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-zero-sized-btreemap-insert.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-packed.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-packed.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-packed.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-packed.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-packed.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[derivative(Default="new")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.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-default.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[derivative(Default(value="42"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.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-packed.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-packed.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-partial-eq.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-packed.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | 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-packed.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/rustc-deriving-clone-generic-tuple-struct.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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug-packed.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[derivative(Default(new="true"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.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-partial-eq.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[derivative(Default(value="42"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.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/rustc-deriving-meta-multiple.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug, Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-packed.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/derive-debug-packed.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-partial-eq.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[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/derive-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-default-bounds.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-issue-58319.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | 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-default.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[derivative(Default(new="true"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.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-packed.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | 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-packed.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-partial-eq.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug-packed.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[derivative(Default(value="[1,2]"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.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-partial-eq.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[derivative(Default(value="[3;2]"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.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-partial-eq.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-packed.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-packed.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-default.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[derivative(Default(value="(4,5)"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.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-default.rs:37:7 [INFO] [stdout] | [INFO] [stdout] 37 | #[derivative(Default(value="B1(6,7)"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.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-packed.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | 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-packed.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-partial-eq.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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-packed.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-packed.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[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-packed.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-default.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[derivative(Default(value="B2{a:8,b:9}"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.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-partial-eq.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.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-default.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | #[derivative(Default)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.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-packed.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | struct K(isize, #[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-packed.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-default.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[derivative(Default)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.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-packed.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 53 | #[derivative(Default)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.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-packed.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | #[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-packed.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-partial-eq.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[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-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[derivative(Default)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.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-packed.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[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-packed.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-default.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Debug, Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-19135.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/derive-default.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | #[derivative(Default)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.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-partial-eq.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | struct A(#[derivative(Default(value="NoDefault"))] NoDefault); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.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/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[E0277]: the trait bound `Zst: Eq` is not satisfied [INFO] [stdout] --> tests/rustc-zero-sized-btreemap-insert.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Ord, PartialOrd)] [INFO] [stdout] | ^^^ the trait `Eq` is not implemented for `Zst` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Ord` [INFO] [stdout] = note: this error originates in the derive macro `Ord` (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-issue-19135.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-issue-19135.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-clone-generics.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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-29710.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `Zst` with `Zst` [INFO] [stdout] --> tests/rustc-zero-sized-btreemap-insert.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Ord, PartialOrd)] [INFO] [stdout] | ^^^^^^^^^^ no implementation for `Zst == Zst` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `Zst` [INFO] [stdout] note: required by a bound in `PartialOrd` [INFO] [stdout] = note: this error originates in the derive macro `PartialOrd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | #[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-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-29710.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[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-29710.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | 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-29710.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.rs:65:3 [INFO] [stdout] | [INFO] [stdout] 65 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[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-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-29710.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[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-29710.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(PartialEq, Eq, Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-in-fn.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[derivative(PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-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 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-partial-eq.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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-meta-multiple.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-23649-3.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: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 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.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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 attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 81 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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-clone-generic-tuple-struct.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-meta-multiple.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[derivative(Clone)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | struct Generic(#[derivative(PartialEq(compare_with = "dummy_cmp", bound = ""))] T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for enum `E` in the current scope [INFO] [stdout] --> tests/rustc-deriving-clone-enum.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 21 | enum E { [INFO] [stdout] | ------ method `clone` not found for this [INFO] [stdout] ... [INFO] [stdout] 29 | let _ = E::A.clone(); [INFO] [stdout] | ^^^^^ method not found in `E` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 90 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[derivative(PartialEq, PartialOrd, Ord, Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-clone-generic-tuple-struct.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(Clone)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-clone-generic-tuple-struct.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-clone-generic-enum.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] [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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-default-bounds.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | #[derivative(PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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: 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-partial-eq.rs:94:7 [INFO] [stdout] | [INFO] [stdout] 94 | #[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-partial-eq.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | 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-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-default-bounds.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[derivative(Default="new")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default-bounds.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-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 attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default-bounds.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[derivative(Default(value="min()", bound="U: std::ops::Not, U: Default"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default-bounds.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-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-ord.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(PartialEq, Eq, Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-default-bounds.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Derivative, PartialEq)] [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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find 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: 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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default-bounds.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[derivative(Default(bound="T: Default, U: std::ops::Not, U: Default", new="true"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default-bounds.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for enum `E` in the current scope [INFO] [stdout] --> tests/rustc-deriving-clone-enum.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 21 | enum E { [INFO] [stdout] | ------ method `clone` not found for this [INFO] [stdout] ... [INFO] [stdout] 30 | let _ = E::B(()).clone(); [INFO] [stdout] | ^^^^^ method not found in `E` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-ord.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-default-bounds.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[derivative(Default(value="min()"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default-bounds.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-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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-default-bounds.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Derivative, PartialEq)] [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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-clone-generics.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-default-bounds.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[derivative(Default(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-default-bounds.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-ord.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | #[derivative(PartialOrd = "ignore")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-clone-generics.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Clone, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-clone-generics.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `LifetimeStruct<'_>` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-issue-19135.rs:25:47 [INFO] [stdout] | [INFO] [stdout] 25 | takes_hrtb_closure(|lts| println!("{:?}", lts)); [INFO] [stdout] | ^^^ `LifetimeStruct<'_>` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `LifetimeStruct<'_>` [INFO] [stdout] = note: add `#[derive(Debug)]` to `LifetimeStruct<'_>` or manually `impl Debug for LifetimeStruct<'_>` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord-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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-clone-generics.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/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-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: 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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-clone-generics.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[derivative(Clone, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-clone-generics.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-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 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[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: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-58319.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-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.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[E0599]: no method named `clone` found for enum `E` in the current scope [INFO] [stdout] --> tests/rustc-deriving-clone-enum.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 21 | enum E { [INFO] [stdout] | ------ method `clone` not found for this [INFO] [stdout] ... [INFO] [stdout] 31 | let _ = E::C.clone(); [INFO] [stdout] | ^^^^^ method not found in `E` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-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[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-19037.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | 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: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/rustc-issue-58319.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[derivative(Clone)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-issue-58319.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/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[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-via-extension-hash-enum.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: cannot find 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-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: 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 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] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 83 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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[E0369]: binary operation `==` cannot be applied to type `Foo` [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | let _ = a == a; // check for PartialEq impl w/o testing its correctness [INFO] [stdout] | - ^^ - Foo [INFO] [stdout] | | [INFO] [stdout] | Foo [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Foo` [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | struct Foo { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Foo` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 84 | #[derivative(PartialOrd, Ord, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[derivative( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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 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: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [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] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: `Foo` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-packed.rs:67:40 [INFO] [stdout] | [INFO] [stdout] 10 | struct Foo { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `Foo: Debug` [INFO] [stdout] | doesn't satisfy `Foo: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 67 | assert_eq!(Foo { foo: 42, bar: 1 }.to_show(), "Foo { foo: 42 }".to_string()); [INFO] [stdout] | ^^^^^^^ `Foo` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `Foo: Debug` [INFO] [stdout] --> tests/derive-debug-packed.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `Foo` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-23649-3.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-ord.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 104 | #[derivative(PartialEq, PartialOrd, Ord, Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-ord.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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-in-fn.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/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/rustc-issue-23649-3.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-issue-23649-3.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Bar` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-packed.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 19 | / struct Bar ( [INFO] [stdout] 20 | | u8, [INFO] [stdout] 21 | | #[derivative(Debug="ignore")] [INFO] [stdout] 22 | | u8, [INFO] [stdout] 23 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | method `to_show` not found for this [INFO] [stdout] | |__doesn't satisfy `Bar: Debug` [INFO] [stdout] | doesn't satisfy `Bar: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 68 | assert_eq!(Bar(42, 1).to_show(), "Bar(42)".to_string()); [INFO] [stdout] | ^^^^^^^ `Bar` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `Bar: Debug` [INFO] [stdout] --> tests/derive-debug-packed.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `Bar` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug)] [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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-clone-generic-enum.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-in-fn.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-in-fn.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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/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[E0599]: `F` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-packed.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 28 | struct F(#[derivative(Debug="ignore")] isize); [INFO] [stdout] | ---------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `F: Debug` [INFO] [stdout] | doesn't satisfy `F: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 69 | assert_eq!(F(42).to_show(), "F".to_string()); [INFO] [stdout] | ^^^^^^^ `F` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `F: Debug` [INFO] [stdout] --> tests/derive-debug-packed.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `F` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Debug)] [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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-clone-generic-enum.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(Clone)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-clone-generic-enum.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `G` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-packed.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 33 | struct G(isize, #[derivative(Debug="ignore")] isize); [INFO] [stdout] | ----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `G: Debug` [INFO] [stdout] | doesn't satisfy `G: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 70 | assert_eq!(G(42, 0).to_show(), "G(42)".to_string()); [INFO] [stdout] | ^^^^^^^ `G` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `G: Debug` [INFO] [stdout] --> tests/derive-debug-packed.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `G` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Debug)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Foo` [INFO] [stdout] --> tests/derive-partial-eq.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | assert!(Foo { foo: 7 } == Foo { foo: 7 }); [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/derive-partial-eq.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct Foo { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Foo` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `J` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-packed.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 38 | struct J(#[derivative(Debug="ignore")] NoDebug); [INFO] [stdout] | ------------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `J: Debug` [INFO] [stdout] | doesn't satisfy `J: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 71 | assert_eq!(J(NoDebug).to_show(), "J".to_string()); [INFO] [stdout] | ^^^^^^^ `J` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `J: Debug` [INFO] [stdout] --> tests/derive-debug-packed.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `J` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug)] [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[E0369]: binary operation `!=` cannot be applied to type `Foo` [INFO] [stdout] --> tests/derive-partial-eq.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | assert!(Foo { foo: 7 } != Foo { foo: 42 }); [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/derive-partial-eq.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | struct Foo { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Foo` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `WithPtr` [INFO] [stdout] --> tests/derive-partial-eq.rs:112:35 [INFO] [stdout] | [INFO] [stdout] 112 | assert!(WithPtr { foo: ptr1 } == WithPtr { foo: ptr1 }); [INFO] [stdout] | --------------------- ^^ --------------------- WithPtr [INFO] [stdout] | | [INFO] [stdout] | WithPtr [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `WithPtr` [INFO] [stdout] --> tests/derive-partial-eq.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | struct WithPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `WithPtr` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `WithPtr` [INFO] [stdout] --> tests/derive-partial-eq.rs:113:35 [INFO] [stdout] | [INFO] [stdout] 113 | assert!(WithPtr { foo: ptr1 } != WithPtr { foo: ptr2 }); [INFO] [stdout] | --------------------- ^^ --------------------- WithPtr [INFO] [stdout] | | [INFO] [stdout] | WithPtr [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `WithPtr` [INFO] [stdout] --> tests/derive-partial-eq.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | struct WithPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `WithPtr` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(PartialEq)] [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[E0599]: `K` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-packed.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 43 | struct K(isize, #[derivative(Debug="ignore")] NoDebug); [INFO] [stdout] | ------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `K: Debug` [INFO] [stdout] | doesn't satisfy `K: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 72 | assert_eq!(K(42, NoDebug).to_show(), "K(42)".to_string()); [INFO] [stdout] | ^^^^^^^ `K` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `K: Debug` [INFO] [stdout] --> tests/derive-debug-packed.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `K` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Empty` [INFO] [stdout] --> tests/derive-partial-eq.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | assert!(Empty == Empty); [INFO] [stdout] | ----- ^^ ----- Empty [INFO] [stdout] | | [INFO] [stdout] | Empty [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Empty` [INFO] [stdout] --> tests/derive-partial-eq.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | struct Empty; [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Empty` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(PartialEq)] [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[E0369]: binary operation `==` cannot be applied to type `AllIgnored` [INFO] [stdout] --> tests/derive-partial-eq.rs:116:35 [INFO] [stdout] | [INFO] [stdout] 116 | assert!(AllIgnored { foo: 0 } == AllIgnored { foo: 42 }); [INFO] [stdout] | --------------------- ^^ ---------------------- AllIgnored [INFO] [stdout] | | [INFO] [stdout] | AllIgnored [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `AllIgnored` [INFO] [stdout] --> tests/derive-partial-eq.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | struct AllIgnored { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `AllIgnored` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `L` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug-packed.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 48 | struct L { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | method `to_show` not found for this [INFO] [stdout] | doesn't satisfy `L: Debug` [INFO] [stdout] | doesn't satisfy `L: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 73 | assert_eq!(L{ foo: NoDebug }.to_show(), "L".to_string()); [INFO] [stdout] | ^^^^^^^ `L` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied because of the requirements of the implementation of `ToDebug` for `_`: [INFO] [stdout] `L: Debug` [INFO] [stdout] --> tests/derive-debug-packed.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^ ^ [INFO] [stdout] help: consider annotating `L` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-29540.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `OneIgnored` [INFO] [stdout] --> tests/derive-partial-eq.rs:117:43 [INFO] [stdout] | [INFO] [stdout] 117 | assert!(OneIgnored { foo: 0, bar: 6 } == OneIgnored { foo: 42, bar: 6 }); [INFO] [stdout] | ----------------------------- ^^ ------------------------------ OneIgnored [INFO] [stdout] | | [INFO] [stdout] | OneIgnored [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `OneIgnored` [INFO] [stdout] --> tests/derive-partial-eq.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | struct OneIgnored { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `OneIgnored` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `OneIgnored` [INFO] [stdout] --> tests/derive-partial-eq.rs:118:43 [INFO] [stdout] | [INFO] [stdout] 118 | assert!(OneIgnored { foo: 0, bar: 6 } != OneIgnored { foo: 42, bar: 7 }); [INFO] [stdout] | ----------------------------- ^^ ------------------------------ OneIgnored [INFO] [stdout] | | [INFO] [stdout] | OneIgnored [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `OneIgnored` [INFO] [stdout] --> tests/derive-partial-eq.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | struct OneIgnored { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `OneIgnored` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(PartialEq)] [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[E0369]: binary operation `==` cannot be applied to type `Option<{integer}>` [INFO] [stdout] --> tests/derive-partial-eq.rs:120:30 [INFO] [stdout] | [INFO] [stdout] 120 | assert!(Option::Some(42) == Option::Some(42)); [INFO] [stdout] | ---------------- ^^ ---------------- Option<{integer}> [INFO] [stdout] | | [INFO] [stdout] | Option<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Option<{integer}>` [INFO] [stdout] --> tests/derive-partial-eq.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | enum Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Option<{integer}>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `Option<{integer}>` [INFO] [stdout] --> tests/derive-partial-eq.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | assert!(Option::Some(0) != Option::Some(42)); [INFO] [stdout] | --------------- ^^ ---------------- Option<{integer}> [INFO] [stdout] | | [INFO] [stdout] | Option<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Option<{integer}>` [INFO] [stdout] --> tests/derive-partial-eq.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | enum Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Option<{integer}>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `Option<{integer}>` [INFO] [stdout] --> tests/derive-partial-eq.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | assert!(Option::Some(42) != Option::None); [INFO] [stdout] | ---------------- ^^ ------------ Option<_> [INFO] [stdout] | | [INFO] [stdout] | Option<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Option<{integer}>` [INFO] [stdout] --> tests/derive-partial-eq.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | enum Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Option<{integer}>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `Option<_>` [INFO] [stdout] --> tests/derive-partial-eq.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | assert!(Option::None != Option::Some(42)); [INFO] [stdout] | ------------ ^^ ---------------- Option<{integer}> [INFO] [stdout] | | [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Option<_>` [INFO] [stdout] --> tests/derive-partial-eq.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | enum Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Option<_>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(PartialEq)] [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-multiple.rs:40:15 [INFO] [stdout] | [INFO] [stdout] 28 | struct Foo { [INFO] [stdout] | ---------- method `clone` not found for this [INFO] [stdout] ... [INFO] [stdout] 40 | let _ = a.clone(); // check for Clone impl w/o testing its correctness [INFO] [stdout] | ^^^^^ method not found in `Foo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option` [INFO] [stdout] --> tests/derive-partial-eq.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | assert!(Option::None:: == Option::None::); [INFO] [stdout] | ------------------ ^^ ------------------ Option [INFO] [stdout] | | [INFO] [stdout] | Option [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Option` [INFO] [stdout] --> tests/derive-partial-eq.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | enum Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Option` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `SimpleEnum` [INFO] [stdout] --> tests/derive-partial-eq.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | assert!(SimpleEnum::Some == SimpleEnum::Some); [INFO] [stdout] | ---------------- ^^ ---------------- SimpleEnum [INFO] [stdout] | | [INFO] [stdout] | SimpleEnum [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `SimpleEnum` [INFO] [stdout] --> tests/derive-partial-eq.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | enum SimpleEnum { [INFO] [stdout] | ^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `SimpleEnum` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `SimpleEnum` [INFO] [stdout] --> tests/derive-partial-eq.rs:127:30 [INFO] [stdout] | [INFO] [stdout] 127 | assert!(SimpleEnum::None == SimpleEnum::None); [INFO] [stdout] | ---------------- ^^ ---------------- SimpleEnum [INFO] [stdout] | | [INFO] [stdout] | SimpleEnum [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `SimpleEnum` [INFO] [stdout] --> tests/derive-partial-eq.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | enum SimpleEnum { [INFO] [stdout] | ^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `SimpleEnum` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `SimpleEnum` [INFO] [stdout] --> tests/derive-partial-eq.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | assert!(SimpleEnum::Some != SimpleEnum::None); [INFO] [stdout] | ---------------- ^^ ---------------- SimpleEnum [INFO] [stdout] | | [INFO] [stdout] | SimpleEnum [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `SimpleEnum` [INFO] [stdout] --> tests/derive-partial-eq.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | enum SimpleEnum { [INFO] [stdout] | ^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `SimpleEnum` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `SimpleEnum` [INFO] [stdout] --> tests/derive-partial-eq.rs:129:30 [INFO] [stdout] | [INFO] [stdout] 129 | assert!(SimpleEnum::None != SimpleEnum::Some); [INFO] [stdout] | ---------------- ^^ ---------------- SimpleEnum [INFO] [stdout] | | [INFO] [stdout] | SimpleEnum [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `SimpleEnum` [INFO] [stdout] --> tests/derive-partial-eq.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | enum SimpleEnum { [INFO] [stdout] | ^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `SimpleEnum` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `UnitEnum` [INFO] [stdout] --> tests/derive-partial-eq.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | assert!(UnitEnum::Single == UnitEnum::Single); [INFO] [stdout] | ---------------- ^^ ---------------- UnitEnum [INFO] [stdout] | | [INFO] [stdout] | UnitEnum [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `UnitEnum` [INFO] [stdout] --> tests/derive-partial-eq.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | enum UnitEnum { [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `UnitEnum` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Parity` [INFO] [stdout] --> tests/derive-partial-eq.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | assert!(Parity(3) == Parity(7)); [INFO] [stdout] | --------- ^^ --------- Parity [INFO] [stdout] | | [INFO] [stdout] | Parity [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Parity` [INFO] [stdout] --> tests/derive-partial-eq.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Parity` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Parity` [INFO] [stdout] --> tests/derive-partial-eq.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | assert!(Parity(2) == Parity(42)); [INFO] [stdout] | --------- ^^ ---------- Parity [INFO] [stdout] | | [INFO] [stdout] | Parity [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Parity` [INFO] [stdout] --> tests/derive-partial-eq.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Parity` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `Parity` [INFO] [stdout] --> tests/derive-partial-eq.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | assert!(Parity(3) != Parity(42)); [INFO] [stdout] | --------- ^^ ---------- Parity [INFO] [stdout] | | [INFO] [stdout] | Parity [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Parity` [INFO] [stdout] --> tests/derive-partial-eq.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Parity` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `S` in the current scope [INFO] [stdout] --> tests/rustc-deriving-clone-generic-tuple-struct.rs:25:22 [INFO] [stdout] | [INFO] [stdout] 21 | struct S(T, ()); [INFO] [stdout] | ------------------- method `clone` not found for this [INFO] [stdout] ... [INFO] [stdout] 25 | let _ = S(1, ()).clone(); [INFO] [stdout] | ^^^^^ method not found in `S<{integer}>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-19037.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `Parity` [INFO] [stdout] --> tests/derive-partial-eq.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | assert!(Parity(2) != Parity(7)); [INFO] [stdout] | --------- ^^ --------- Parity [INFO] [stdout] | | [INFO] [stdout] | Parity [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Parity` [INFO] [stdout] --> tests/derive-partial-eq.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Parity` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Foo: Hash` is not satisfied [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | hash(&a); // check for Hash impl w/o testing its correctness [INFO] [stdout] | ---- ^^ the trait `Hash` is not implemented for `Foo` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `hash` [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | fn hash(_t: &T) {} [INFO] [stdout] | ^^^^ required by this bound in `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Generic` [INFO] [stdout] --> tests/derive-partial-eq.rs:138:42 [INFO] [stdout] | [INFO] [stdout] 138 | assert!(Generic(SomeType { foo: 0 }) == Generic(SomeType { foo: 0 })); [INFO] [stdout] | ---------------------------- ^^ ---------------------------- Generic [INFO] [stdout] | | [INFO] [stdout] | Generic [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `Generic` [INFO] [stdout] --> tests/derive-partial-eq.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | struct Generic(#[derivative(PartialEq(compare_with = "dummy_cmp", bound = ""))] T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `Generic` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `GenericIgnore` [INFO] [stdout] --> tests/derive-partial-eq.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 140 | / GenericIgnore { [INFO] [stdout] 141 | | f: 123, [INFO] [stdout] 142 | | t: PhantomData::::default() [INFO] [stdout] 143 | | } == GenericIgnore { [INFO] [stdout] | |_________-_^^_- [INFO] [stdout] | ||_________| [INFO] [stdout] | | GenericIgnore [INFO] [stdout] 144 | | f: 123, [INFO] [stdout] 145 | | t: PhantomData::::default() [INFO] [stdout] 146 | | } [INFO] [stdout] | |__________- GenericIgnore [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq<_>` might be missing for `GenericIgnore` [INFO] [stdout] --> tests/derive-partial-eq.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | struct GenericIgnore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq<_>` [INFO] [stdout] help: consider annotating `GenericIgnore` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(PartialEq)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-19037.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[derivative(Clone)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-issue-19037.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 55 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `PhantomField` in the current scope [INFO] [stdout] --> tests/derive-clone-generics.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 13 | struct PhantomField { [INFO] [stdout] | ---------------------- method `clone` not found for this [INFO] [stdout] ... [INFO] [stdout] 27 | assert!(phantom_field == phantom_field.clone()); [INFO] [stdout] | ^^^^^ method not found in `PhantomField` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-16530.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `Foo` in the current scope [INFO] [stdout] --> tests/derive-default.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 9 | struct Foo { [INFO] [stdout] | ---------- function or associated item `default` not found for this [INFO] [stdout] ... [INFO] [stdout] 70 | assert_eq!(Foo::default(), Foo { foo: 0, bar: 42 }); [INFO] [stdout] | ^^^^^^^ function or associated item 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 `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-via-extension-hash-enum.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-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] error[E0277]: `Foo` doesn't implement `Debug` [INFO] [stdout] --> tests/rustc-deriving-in-fn.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | format!("{:?}", f); [INFO] [stdout] | ^ `Foo` cannot be formatted using `{:?}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Foo` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Foo` or manually `impl Debug for Foo` [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` (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-via-extension-hash-enum.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-via-extension-hash-enum.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Foo` in the current scope [INFO] [stdout] --> tests/derive-default.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 9 | struct Foo { [INFO] [stdout] | ---------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 71 | assert_eq!(Foo::new(), Foo { foo: 0, bar: 42 }); [INFO] [stdout] | ^^^ function or associated item not found in `Foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-via-extension-hash-enum.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `PhantomTuple` in the current scope [INFO] [stdout] --> tests/derive-clone-generics.rs:28:44 [INFO] [stdout] | [INFO] [stdout] 19 | struct PhantomTuple { [INFO] [stdout] | ---------------------- method `clone` not found for this [INFO] [stdout] ... [INFO] [stdout] 28 | assert!(phantom_tuple == phantom_tuple.clone()); [INFO] [stdout] | ^^^^^ method not found in `PhantomTuple` [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[E0599]: no function or associated item named `default` found for struct `Bar` in the current scope [INFO] [stdout] --> tests/derive-default.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 17 | / struct Bar ( [INFO] [stdout] 18 | | u8, [INFO] [stdout] 19 | | #[derivative(Default(value="42"))] [INFO] [stdout] 20 | | u8, [INFO] [stdout] 21 | | ); [INFO] [stdout] | |__- function or associated item `default` not found for this [INFO] [stdout] ... [INFO] [stdout] 72 | assert_eq!(Bar::default(), Bar(0, 42)); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Bar` [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 `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-via-extension-hash-enum.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-via-extension-hash-enum.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Bar` in the current scope [INFO] [stdout] --> tests/derive-default.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 17 | / struct Bar ( [INFO] [stdout] 18 | | u8, [INFO] [stdout] 19 | | #[derivative(Default(value="42"))] [INFO] [stdout] 20 | | u8, [INFO] [stdout] 21 | | ); [INFO] [stdout] | |__- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 73 | assert_eq!(Bar::new(), Bar(0, 42)); [INFO] [stdout] | ^^^ function or associated item not found in `Bar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Baz` in the current scope [INFO] [stdout] --> tests/derive-default.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 30 | / struct Baz ( [INFO] [stdout] 31 | | #[derivative(Default(value="[1,2]"))] [INFO] [stdout] 32 | | [u8;2], [INFO] [stdout] 33 | | #[derivative(Default(value="[3;2]"))] [INFO] [stdout] ... | [INFO] [stdout] 40 | | B2, [INFO] [stdout] 41 | | ); [INFO] [stdout] | |__- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 74 | assert_eq!(Baz::new(), Baz([1,2], [3,3], (4,5), B1(6,7), B2{a:8,b:9})); [INFO] [stdout] | ^^^ function or associated item not found in `Baz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for enum `E` in the current scope [INFO] [stdout] --> tests/rustc-deriving-clone-generic-enum.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 22 | enum E { [INFO] [stdout] | ----------- method `clone` not found for this [INFO] [stdout] ... [INFO] [stdout] 30 | let _ = E::A::(1).clone(); [INFO] [stdout] | ^^^^^ method not found in `E` [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[E0599]: no function or associated item named `default` found for struct `A` in the current scope [INFO] [stdout] --> tests/derive-default.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 63 | struct A(#[derivative(Default(value="NoDefault"))] NoDefault); [INFO] [stdout] | -------------------------------------------------------------- function or associated item `default` not found for this [INFO] [stdout] ... [INFO] [stdout] 75 | assert_eq!(A::default(), A(NoDefault)); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `A` [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 `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `Foo` in the current scope [INFO] [stdout] --> tests/derive-default-bounds.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 9 | struct Foo { [INFO] [stdout] | ---------------- function or associated item `default` not found for this [INFO] [stdout] ... [INFO] [stdout] 37 | assert_eq!(Foo::default(), Foo { foo: 0u8, bar: 0xffu8 }); [INFO] [stdout] | ^^^^^^^ function or associated item 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 `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `default` found for enum `Enum1` in the current scope [INFO] [stdout] --> tests/derive-default.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 45 | enum Enum1 { [INFO] [stdout] | ---------- variant or associated item `default` not found here [INFO] [stdout] ... [INFO] [stdout] 76 | assert_eq!(Enum1::default(), Enum1::B); [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Enum1` [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 `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `default` found for enum `Enum2` in the current scope [INFO] [stdout] --> tests/derive-default.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 54 | enum Enum2 { [INFO] [stdout] | ---------- variant or associated item `default` not found here [INFO] [stdout] ... [INFO] [stdout] 77 | assert_eq!(Enum2::default(), Enum2::A); [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Enum2` [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 `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `Bar` in the current scope [INFO] [stdout] --> tests/derive-default-bounds.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 17 | struct Bar { [INFO] [stdout] | ---------------- function or associated item `default` not found for this [INFO] [stdout] ... [INFO] [stdout] 38 | assert_eq!(Bar::default(), Bar { foo: 0u8, bar: 0xffu8 }); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Bar<_, _>` [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 `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Foo` in the current scope [INFO] [stdout] --> tests/derive-default-bounds.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 9 | struct Foo { [INFO] [stdout] | ---------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 39 | assert_eq!(Foo::new(), Foo { foo: 0u8, bar: 0xffu8 }); [INFO] [stdout] | ^^^ function or associated item not found in `Foo<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-29540.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Bar` in the current scope [INFO] [stdout] --> tests/derive-default-bounds.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 17 | struct Bar { [INFO] [stdout] | ---------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 40 | assert_eq!(Bar::new(), Bar { foo: 0u8, bar: 0xffu8 }); [INFO] [stdout] | ^^^ function or associated item not found in `Bar<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-29540.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-issue-29540.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `WithOption` in the current scope [INFO] [stdout] --> tests/derive-default-bounds.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 29 | struct WithOption { [INFO] [stdout] | -------------------- function or associated item `default` not found for this [INFO] [stdout] ... [INFO] [stdout] 41 | WithOption::::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `WithOption` [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 `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] 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] For more information about an error, try `rustc --explain E0463`. [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] | ---------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: `Foo` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 17 | struct Foo { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 27 | pub struct Big( [INFO] [stdout] 28 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 29 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ---------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 30 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ---------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 31 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ---------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 32 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ---------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 33 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 34 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 35 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 36 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 37 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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:28:11 [INFO] [stdout] | [INFO] [stdout] 23 | struct Empty; [INFO] [stdout] | ------------- method `hash` not found for this [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[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 38 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 39 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 40 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 41 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `AllIgnored` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:163:31 [INFO] [stdout] | [INFO] [stdout] 47 | struct AllIgnored { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 42 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 43 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 44 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 45 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 46 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Empty` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:178:22 [INFO] [stdout] | [INFO] [stdout] 43 | struct Empty; [INFO] [stdout] | ------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 47 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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 [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[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 48 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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] | ---------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 49 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 50 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hash` [INFO] [stdout] --> tests/rustc-issue-16530.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | use std::hash::{SipHasher, Hasher, Hash}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] | ---------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 51 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ---------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 52 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ---------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 53 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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] | ---------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 54 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ---------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [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<{integer}>` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:205:26 [INFO] [stdout] | [INFO] [stdout] 26 | enum Option { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 55 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 56 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 57 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 58 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 59 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 60 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Option` is not an iterator [INFO] [stdout] --> tests/derive-ord.rs:220:35 [INFO] [stdout] | [INFO] [stdout] 26 | enum Option { [INFO] [stdout] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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] | ------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 61 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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] | ------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 62 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 63 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 64 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 65 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 66 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [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] | ------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 67 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | -------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 68 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 65 | | #[derivative( [INFO] [stdout] 66 | | PartialOrd(compare_with = "partial_cmp_tenth"), [INFO] [stdout] 67 | | Ord(compare_with = "cmp_tenth") [INFO] [stdout] 68 | | )] [INFO] [stdout] 69 | | u8, [INFO] [stdout] 70 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 69 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 65 | | #[derivative( [INFO] [stdout] 66 | | PartialOrd(compare_with = "partial_cmp_tenth"), [INFO] [stdout] 67 | | Ord(compare_with = "cmp_tenth") [INFO] [stdout] 68 | | )] [INFO] [stdout] 69 | | u8, [INFO] [stdout] 70 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 70 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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] 65 | | #[derivative( [INFO] [stdout] 66 | | PartialOrd(compare_with = "partial_cmp_tenth"), [INFO] [stdout] 67 | | Ord(compare_with = "cmp_tenth") [INFO] [stdout] 68 | | )] [INFO] [stdout] 69 | | u8, [INFO] [stdout] 70 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 71 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 72 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 65 | | #[derivative( [INFO] [stdout] 66 | | PartialOrd(compare_with = "partial_cmp_tenth"), [INFO] [stdout] 67 | | Ord(compare_with = "cmp_tenth") [INFO] [stdout] 68 | | )] [INFO] [stdout] 69 | | u8, [INFO] [stdout] 70 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 73 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 65 | | #[derivative( [INFO] [stdout] 66 | | PartialOrd(compare_with = "partial_cmp_tenth"), [INFO] [stdout] 67 | | Ord(compare_with = "cmp_tenth") [INFO] [stdout] 68 | | )] [INFO] [stdout] 69 | | u8, [INFO] [stdout] 70 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 74 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 65 | | #[derivative( [INFO] [stdout] 66 | | PartialOrd(compare_with = "partial_cmp_tenth"), [INFO] [stdout] 67 | | Ord(compare_with = "cmp_tenth") [INFO] [stdout] 68 | | )] [INFO] [stdout] 69 | | u8, [INFO] [stdout] 70 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 75 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 65 | | #[derivative( [INFO] [stdout] 66 | | PartialOrd(compare_with = "partial_cmp_tenth"), [INFO] [stdout] 67 | | Ord(compare_with = "cmp_tenth") [INFO] [stdout] 68 | | )] [INFO] [stdout] 69 | | u8, [INFO] [stdout] 70 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 76 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 86 | | #[derivative( [INFO] [stdout] 87 | | PartialEq = "ignore", [INFO] [stdout] 88 | | PartialOrd(compare_with = "dummy_partial_cmp", bound = ""), [INFO] [stdout] ... | [INFO] [stdout] 91 | | T, [INFO] [stdout] 92 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 77 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 78 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 86 | | #[derivative( [INFO] [stdout] 87 | | PartialEq = "ignore", [INFO] [stdout] 88 | | PartialOrd(compare_with = "dummy_partial_cmp", bound = ""), [INFO] [stdout] ... | [INFO] [stdout] 91 | | T, [INFO] [stdout] 92 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 79 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | method `cmp` not found for this [INFO] [stdout] | doesn't satisfy `GenericIgnore: Iterator` [INFO] [stdout] ... [INFO] [stdout] 249 | .cmp(&GenericIgnore { [INFO] [stdout] | ^^^ `GenericIgnore` is not an iterator [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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 80 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ----------------------- [INFO] [stdout] | | [INFO] [stdout] | method `partial_cmp` not found for this [INFO] [stdout] | doesn't satisfy `GenericIgnore: Iterator` [INFO] [stdout] ... [INFO] [stdout] 260 | .partial_cmp(&GenericIgnore { [INFO] [stdout] | ^^^^^^^^^^^ `GenericIgnore` is not an iterator [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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 81 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 82 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 83 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 84 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 85 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 86 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 59 | | #[derivative( [INFO] [stdout] 60 | | PartialOrd(compare_with = "partial_cmp_tenth"), [INFO] [stdout] 61 | | Ord(compare_with = "cmp_tenth") [INFO] [stdout] 62 | | )] [INFO] [stdout] 63 | | u8, [INFO] [stdout] 64 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 87 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 59 | | #[derivative( [INFO] [stdout] 60 | | PartialOrd(compare_with = "partial_cmp_tenth"), [INFO] [stdout] 61 | | Ord(compare_with = "cmp_tenth") [INFO] [stdout] 62 | | )] [INFO] [stdout] 63 | | u8, [INFO] [stdout] 64 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 88 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 59 | | #[derivative( [INFO] [stdout] 60 | | PartialOrd(compare_with = "partial_cmp_tenth"), [INFO] [stdout] 61 | | Ord(compare_with = "cmp_tenth") [INFO] [stdout] 62 | | )] [INFO] [stdout] 63 | | u8, [INFO] [stdout] 64 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 89 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 90 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 59 | | #[derivative( [INFO] [stdout] 60 | | PartialOrd(compare_with = "partial_cmp_tenth"), [INFO] [stdout] 61 | | Ord(compare_with = "cmp_tenth") [INFO] [stdout] 62 | | )] [INFO] [stdout] 63 | | u8, [INFO] [stdout] 64 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 91 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 59 | | #[derivative( [INFO] [stdout] 60 | | PartialOrd(compare_with = "partial_cmp_tenth"), [INFO] [stdout] 61 | | Ord(compare_with = "cmp_tenth") [INFO] [stdout] 62 | | )] [INFO] [stdout] 63 | | u8, [INFO] [stdout] 64 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 75 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 92 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 59 | | #[derivative( [INFO] [stdout] 60 | | PartialOrd(compare_with = "partial_cmp_tenth"), [INFO] [stdout] 61 | | Ord(compare_with = "cmp_tenth") [INFO] [stdout] 62 | | )] [INFO] [stdout] 63 | | u8, [INFO] [stdout] 64 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 93 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 59 | | #[derivative( [INFO] [stdout] 60 | | PartialOrd(compare_with = "partial_cmp_tenth"), [INFO] [stdout] 61 | | Ord(compare_with = "cmp_tenth") [INFO] [stdout] 62 | | )] [INFO] [stdout] 63 | | u8, [INFO] [stdout] 64 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 94 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 81 | | #[derivative( [INFO] [stdout] 82 | | PartialEq = "ignore", [INFO] [stdout] 83 | | PartialOrd(compare_with = "dummy_partial_cmp", bound = ""), [INFO] [stdout] ... | [INFO] [stdout] 86 | | T, [INFO] [stdout] 87 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `partial_cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `partial_cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 95 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Little: Clone` is not satisfied [INFO] [stdout] --> tests/rustc-issue-58319.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(Clone)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 96 | Little, [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Little` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 81 | | #[derivative( [INFO] [stdout] 82 | | PartialEq = "ignore", [INFO] [stdout] 83 | | PartialOrd(compare_with = "dummy_partial_cmp", bound = ""), [INFO] [stdout] ... | [INFO] [stdout] 86 | | T, [INFO] [stdout] 87 | | ); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__method `cmp` not found for this [INFO] [stdout] | 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 following trait must be implemented [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 `cmp`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Iterator` [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] | ----------------------- [WARN] too many lines in the log, truncating it