[INFO] fetching crate tulip-derivative 2.2.1... [INFO] testing tulip-derivative-2.2.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate tulip-derivative 2.2.1 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate tulip-derivative 2.2.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded runtime-macros-derive v0.4.0 [INFO] [stderr] Downloaded trybuild v1.0.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 90448a703e2648833de7d3a58b75c1ca225de2e4ce7a1283b46bd80340288a3d [INFO] running `Command { std: "docker" "start" "-a" "90448a703e2648833de7d3a58b75c1ca225de2e4ce7a1283b46bd80340288a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90448a703e2648833de7d3a58b75c1ca225de2e4ce7a1283b46bd80340288a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90448a703e2648833de7d3a58b75c1ca225de2e4ce7a1283b46bd80340288a3d", kill_on_drop: false }` [INFO] [stdout] 90448a703e2648833de7d3a58b75c1ca225de2e4ce7a1283b46bd80340288a3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6fbfccf0ec598efb52130fafa6898b0ee060125e0e92416324b4fc6beb42f878 [INFO] running `Command { std: "docker" "start" "-a" "6fbfccf0ec598efb52130fafa6898b0ee060125e0e92416324b4fc6beb42f878", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling tulip-derivative v2.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.36s [INFO] running `Command { std: "docker" "inspect" "6fbfccf0ec598efb52130fafa6898b0ee060125e0e92416324b4fc6beb42f878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fbfccf0ec598efb52130fafa6898b0ee060125e0e92416324b4fc6beb42f878", kill_on_drop: false }` [INFO] [stdout] 6fbfccf0ec598efb52130fafa6898b0ee060125e0e92416324b4fc6beb42f878 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 93b45f82755ddd1d31964d00b337f270c33985692a08e5fa80bb62dfe0f1ee02 [INFO] running `Command { std: "docker" "start" "-a" "93b45f82755ddd1d31964d00b337f270c33985692a08e5fa80bb62dfe0f1ee02", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling runtime-macros-derive v0.4.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.79 [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-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-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: 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[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: 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/derive-hash.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | / define! { [INFO] [stdout] 50 | | struct { [INFO] [stdout] 51 | | foo: u8 [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-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-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 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[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: 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 attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | / define! { [INFO] [stdout] 61 | | struct<'a> { [INFO] [stdout] 62 | | foo: u8, [INFO] [stdout] 63 | | bar: &'a str, [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-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/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: 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/derive-hash.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | / define! { [INFO] [stdout] 73 | | struct<'a> (u8, &'a str); [INFO] [stdout] 74 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | / define! { [INFO] [stdout] 82 | | enum { [INFO] [stdout] 83 | | A, B, C [INFO] [stdout] 84 | | } [INFO] [stdout] 85 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-hash.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | / define! { [INFO] [stdout] 82 | | enum { [INFO] [stdout] 83 | | A, B, C [INFO] [stdout] 84 | | } [INFO] [stdout] 85 | | } [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-hash.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `define` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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: 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: 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[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: 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[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 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: aborting due to 5 previous errors [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] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-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 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[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: 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: 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[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-29030.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/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/derive-debug-generics.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 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] [stderr] error: could not compile `tulip-derivative` due to 6 previous errors [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-24085.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-clone-generic-enum.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(Clone)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-clone-generic-enum.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Derivative, PartialEq)] [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 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 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-generics.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | #[derivative(Debug="ignore")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[derivative(Debug="ignore")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | V2(#[derivative(Debug="ignore")] U), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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 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: 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-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-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 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 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/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 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-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 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 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-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-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-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-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 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: 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-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-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: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | #[derivative(Debug="ignore")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 46 | struct F(#[derivative(Debug="ignore")] U); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-hash.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-exterior.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-29030.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-debug-generics.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | struct G(isize, #[derivative(Debug="ignore")] U); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-29030.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-29030.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:53:3 [INFO] [stdout] | [INFO] [stdout] 53 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | struct J(#[derivative(Debug="ignore")] U); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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[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: 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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-meta-multiple.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/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/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-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[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 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 `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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug-generics.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug-generics.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-exterior.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/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[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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-exterior.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-exterior.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [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] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/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/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[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[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]: 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: 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 derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-hash.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [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] 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[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] 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-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: 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[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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-hash.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[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-hash.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-hash.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-hash.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | #[derivative(Hash)] struct __H__H; [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-hash.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-hash.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-hash.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | #[allow(dead_code)] #[derivative(Hash)] struct Collision<__H> ( __H ); [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-hash.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-hash.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-hash.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[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-hash.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-via-extension-hash-struct.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `main::Ours: Hash` is not satisfied [INFO] [stdout] --> tests/derive-hash.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(fake_hash(Ours::B), fake_hash(Theirs::B)); [INFO] [stdout] | --------- ^^^^^^^ the trait `Hash` is not implemented for `main::Ours` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `fake_hash` [INFO] [stdout] --> tests/derive-hash.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn fake_hash(e: E) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ required by this bound in `fake_hash` [INFO] [stdout] [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[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: 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[E0599]: the method `get` exists for reference `&Cell`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-exterior.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 21 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | ------------ doesn't satisfy `Point: Copy` [INFO] [stdout] ... [INFO] [stdout] 24 | assert_eq!(p.get().z, 12); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Point: Copy` [INFO] [stdout] help: consider annotating `Point` with `#[derive(Clone, Copy)]` [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Copy)] [INFO] [stdout] | [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]: the method `to_show` exists for struct `Foo<{integer}, NoDebug>`, but its trait bounds were not satisfied [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] | ^^^^^^^ method cannot be called on `Foo<{integer}, NoDebug>` due to unsatisfied trait bounds [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[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[E0599]: the method `to_show` exists for struct `Bar<{integer}, NoDebug>`, but its trait bounds were not satisfied [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] | ^^^^^^^ method cannot be called on `Bar<{integer}, NoDebug>` due to unsatisfied trait bounds [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[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: 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[E0599]: the method `get` exists for reference `&Cell`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-exterior.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 21 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | ------------ doesn't satisfy `Point: Copy` [INFO] [stdout] ... [INFO] [stdout] 26 | assert_eq!(p.get().z, 13); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Point: Copy` [INFO] [stdout] help: consider annotating `Point` with `#[derive(Clone, Copy)]` [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Copy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for reference `&Cell`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-exterior.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 21 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | ------------ doesn't satisfy `Point: Copy` [INFO] [stdout] ... [INFO] [stdout] 33 | assert_eq!(b.get().z, 12); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Point: Copy` [INFO] [stdout] help: consider annotating `Point` with `#[derive(Clone, Copy)]` [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Copy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [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] Some errors have detailed explanations: E0277, E0369, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for reference `&Cell`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-exterior.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 21 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | ------------ doesn't satisfy `Point: Copy` [INFO] [stdout] ... [INFO] [stdout] 38 | assert_eq!(b.get().x, 10); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Point: Copy` [INFO] [stdout] help: consider annotating `Point` with `#[derive(Clone, Copy)]` [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Copy)] [INFO] [stdout] | [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[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[E0599]: the method `to_show` exists for enum `C`, but its trait bounds were not satisfied [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] | ^^^^^^^ method cannot be called on `C` due to unsatisfied trait bounds [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]: the method `get` exists for reference `&Cell`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-exterior.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 21 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | ------------ doesn't satisfy `Point: Copy` [INFO] [stdout] ... [INFO] [stdout] 39 | assert_eq!(b.get().y, 11); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Point: Copy` [INFO] [stdout] help: consider annotating `Point` with `#[derive(Clone, Copy)]` [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Copy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_show` exists for enum `C`, but its trait bounds were not satisfied [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] | ^^^^^^^ method cannot be called on `C` due to unsatisfied trait bounds [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]: the method `get` exists for reference `&Cell`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-exterior.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 21 | struct Point {x: isize, y: isize, z: isize} [INFO] [stdout] | ------------ doesn't satisfy `Point: Copy` [INFO] [stdout] ... [INFO] [stdout] 40 | assert_eq!(b.get().z, 13); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Point: Copy` [INFO] [stdout] help: consider annotating `Point` with `#[derive(Clone, Copy)]` [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Copy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_show` exists for enum `C`, but its trait bounds were not satisfied [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] | ^^^^^^^ method cannot be called on `C` due to unsatisfied trait bounds [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: 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[E0599]: the method `to_show` exists for enum `D`, but its trait bounds were not satisfied [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] | ^^^^^^^ method cannot be called on `D` due to unsatisfied trait bounds [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]: the method `to_show` exists for struct `F`, but its trait bounds were not satisfied [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] | ^^^^^^^ method cannot be called on `F` due to unsatisfied trait bounds [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]: 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[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[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[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: aborting due to 9 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]: the method `to_show` exists for struct `G`, but its trait bounds were not satisfied [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] | ^^^^^^^ method cannot be called on `G` due to unsatisfied trait bounds [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] error[E0599]: the method `to_show` exists for struct `J`, but its trait bounds were not satisfied [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] | ^^^^^^^ method cannot be called on `J` due to unsatisfied trait bounds [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[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[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: 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[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: aborting due to 31 previous errors [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[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] 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 `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: 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] error[E0599]: the method `eq` exists for struct `Foo`, but its trait bounds were not satisfied [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] | ^^ method cannot be called on `Foo` due to unsatisfied trait bounds [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] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `ne` exists for struct `Foo`, but its trait bounds were not satisfied [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] | ^^ method cannot be called on `Foo` due to unsatisfied trait bounds [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: 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[E0599]: no method named `hash` found for enum `E` in the current scope [INFO] [stdout] --> tests/rustc-deriving-hash.rs:60:7 [INFO] [stdout] | [INFO] [stdout] 39 | enum E { A=1, B } [INFO] [stdout] | ------ method `hash` not found for this [INFO] [stdout] ... [INFO] [stdout] 60 | e.hash(&mut FakeHasher(v)); [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 `hash`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Person: Hash` is not satisfied [INFO] [stdout] --> tests/rustc-deriving-hash.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | assert_eq!(hash(&person1), hash(&person1)); [INFO] [stdout] | ---- ^^^^^^^^ the trait `Hash` is not implemented for `Person` [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-hash.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | fn hash(t: &T) -> u64 { [INFO] [stdout] | ^^^^ required by this bound in `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Person: Hash` is not satisfied [INFO] [stdout] --> tests/rustc-deriving-hash.rs:75:37 [INFO] [stdout] | [INFO] [stdout] 75 | assert_eq!(hash(&person1), hash(&person1)); [INFO] [stdout] | ---- ^^^^^^^^ the trait `Hash` is not implemented for `Person` [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-hash.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | fn hash(t: &T) -> u64 { [INFO] [stdout] | ^^^^ required by this bound in `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Person: Hash` is not satisfied [INFO] [stdout] --> tests/rustc-deriving-hash.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | assert!(hash(&person1) != hash(&person2)); [INFO] [stdout] | ---- ^^^^^^^^ the trait `Hash` is not implemented for `Person` [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-hash.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | fn hash(t: &T) -> u64 { [INFO] [stdout] | ^^^^ required by this bound in `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Person: Hash` is not satisfied [INFO] [stdout] --> tests/rustc-deriving-hash.rs:76:36 [INFO] [stdout] | [INFO] [stdout] 76 | assert!(hash(&person1) != hash(&person2)); [INFO] [stdout] | ---- ^^^^^^^^ the trait `Hash` is not implemented for `Person` [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-hash.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | fn hash(t: &T) -> u64 { [INFO] [stdout] | ^^^^ required by this bound in `hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "93b45f82755ddd1d31964d00b337f270c33985692a08e5fa80bb62dfe0f1ee02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93b45f82755ddd1d31964d00b337f270c33985692a08e5fa80bb62dfe0f1ee02", kill_on_drop: false }` [INFO] [stdout] 93b45f82755ddd1d31964d00b337f270c33985692a08e5fa80bb62dfe0f1ee02