[INFO] fetching crate tulip-derivative 2.2.1... [INFO] testing tulip-derivative-2.2.1 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate tulip-derivative 2.2.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate tulip-derivative 2.2.1 [INFO] finished tweaking crates.io crate tulip-derivative 2.2.1 [INFO] tweaked toml for crates.io crate tulip-derivative 2.2.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tulip-derivative 2.2.1 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] [stderr] Adding runtime-macros-derive v0.4.0 (available: v0.8.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.108) [INFO] [stderr] Adding trybuild v1.0.22 (available: v1.0.113) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c64dcd6f04e03d17618a3728ade8fe04a9dc8f5212b52d72a8b5c3d4f2e00951 [INFO] running `Command { std: "docker" "start" "-a" "c64dcd6f04e03d17618a3728ade8fe04a9dc8f5212b52d72a8b5c3d4f2e00951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c64dcd6f04e03d17618a3728ade8fe04a9dc8f5212b52d72a8b5c3d4f2e00951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c64dcd6f04e03d17618a3728ade8fe04a9dc8f5212b52d72a8b5c3d4f2e00951", kill_on_drop: false }` [INFO] [stdout] c64dcd6f04e03d17618a3728ade8fe04a9dc8f5212b52d72a8b5c3d4f2e00951 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1819d002d989574c12bebe6c8bc1a080a3d0d4f07d692e85b7f8543f999c77ea [INFO] running `Command { std: "docker" "start" "-a" "1819d002d989574c12bebe6c8bc1a080a3d0d4f07d692e85b7f8543f999c77ea", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tulip-derivative v2.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/lib.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Field<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub span: proc_macro2::Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn all_fields(&self) -> Vec<&Field> { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn all_fields(&self) -> Vec<&Field<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.18s [INFO] running `Command { std: "docker" "inspect" "1819d002d989574c12bebe6c8bc1a080a3d0d4f07d692e85b7f8543f999c77ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1819d002d989574c12bebe6c8bc1a080a3d0d4f07d692e85b7f8543f999c77ea", kill_on_drop: false }` [INFO] [stdout] 1819d002d989574c12bebe6c8bc1a080a3d0d4f07d692e85b7f8543f999c77ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 463659d46a5b3fcbe2d48a93deb75b4f7927cc20841f2b76b5cc635bb1d87b45 [INFO] running `Command { std: "docker" "start" "-a" "463659d46a5b3fcbe2d48a93deb75b4f7927cc20841f2b76b5cc635bb1d87b45", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling runtime-macros-derive v0.4.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tulip-derivative v2.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/lib.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Field<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub span: proc_macro2::Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn all_fields(&self) -> Vec<&Field> { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn all_fields(&self) -> Vec<&Field<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling trybuild v1.0.22 [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/issue-58.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-3935.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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/rustc-issue-3935.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/issue-58.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Default, Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/issue-58.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/issue-58.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-3935.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-issue-3935.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-default.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/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[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/issue-37-turbofish.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-clone.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-29710.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-29710.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-issue-29710.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-29710.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-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/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[E0369]: binary operation `!=` cannot be applied to type `Bike` [INFO] [stdout] --> tests/rustc-issue-3935.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | assert!(town_bike != my_bike); [INFO] [stdout] | --------- ^^ ------- Bike [INFO] [stdout] | | [INFO] [stdout] | Bike [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Bike` [INFO] [stdout] --> tests/rustc-issue-3935.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct Bike { [INFO] [stdout] | ^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Bike` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(PartialEq)] [INFO] [stdout] 20 | struct Bike { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-via-extension-hash-struct.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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/rustc-deriving-via-extension-hash-struct.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[derivative(Hash)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-via-extension-hash-struct.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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] Some errors have detailed explanations: E0369, E0463. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[derivative(Default(value="[1,2]"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[derivative(Default(value="[3;2]"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-clone.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-clone.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[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/derive-clone.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-clone.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[derivative(Clone(clone_with="seventh"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-clone.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/derive-default-bounds.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-clone.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [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-clone.rs:36:3 [INFO] [stdout] | [INFO] [stdout] 36 | #[derivative(Clone(clone_from="true"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-clone.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-clone.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | #[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-enum-single-variant.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-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[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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-clone.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[derivative(Clone(clone_from="true"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-clone.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> tests/derive-clone.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-default-bounds.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-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[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Foo` doesn't implement `Debug` [INFO] [stdout] --> tests/issue-58.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | println!("foo = {:?}", foo1); [INFO] [stdout] | ---- ^^^^ `Foo` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `Foo` [INFO] [stdout] = note: add `#[derive(Debug)]` to `Foo` or manually `impl Debug for Foo` [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Foo` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(Debug)] [INFO] [stdout] 12 | pub struct Foo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] [stderr] error: could not compile `tulip-derivative` (test "rustc-issue-29710") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/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[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/clippy-warning-clone-from.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-issue-3935") due to 4 previous errors [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default-bounds.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[derivative(Default="new")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default-bounds.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default-bounds.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[derivative(Default(value="min()", bound="U: std::ops::Not, U: Default"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default-bounds.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-default-bounds.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/issue-37-turbofish.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug, Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hash` found for struct `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 struct [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] help: some of the expressions' fields have a method of the same name [INFO] [stdout] | [INFO] [stdout] 33 | Foo { x: 0, y: 0, z: 0 }.x.hash(&mut hasher); [INFO] [stdout] | ++ [INFO] [stdout] 33 | Foo { x: 0, y: 0, z: 0 }.y.hash(&mut hasher); [INFO] [stdout] | ++ [INFO] [stdout] 33 | Foo { x: 0, y: 0, z: 0 }.z.hash(&mut hasher); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "issue-37-turbofish") due to 4 previous errors [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] [stderr] error: could not compile `tulip-derivative` (test "clippy-warning-clone-from") due to 3 previous errors [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default-bounds.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[derivative(Default(bound="T: Default, U: std::ops::Not, U: Default", new="true"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default-bounds.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "issue-58") due to 4 previous errors [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/clippy-warning-clone-from.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/clippy-warning-clone-from.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[derivative(Clone(clone_from = "true"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/clippy-warning-clone-from.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/issue-37-turbofish.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/issue-37-turbofish.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[derivative(Default)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/issue-37-turbofish.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[derivative(Debug(format_with = "std::fmt::Debug::fmt"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/issue-37-turbofish.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-default.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Debug, Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-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] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default-bounds.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[derivative(Default(value="min()"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default-bounds.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-default-bounds.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Debug, Derivative, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-default-bounds.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[derivative(Default(bound=""))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default-bounds.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find 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[E0369]: binary operation `==` cannot be applied to type `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:54:28 [INFO] [stdout] | [INFO] [stdout] 54 | assert_eq!(*e1 == *e2, eq); [INFO] [stdout] | --- ^^ --- E<{integer}> [INFO] [stdout] | | [INFO] [stdout] | E<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum E { [INFO] [stdout] | ^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `E<{integer}>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(PartialEq)] [INFO] [stdout] 27 | enum E { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(*e1 != *e2, !eq); [INFO] [stdout] | --- ^^ --- E<{integer}> [INFO] [stdout] | | [INFO] [stdout] | E<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum E { [INFO] [stdout] | ^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `E<{integer}>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(PartialEq)] [INFO] [stdout] 27 | enum E { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<` cannot be applied to type `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | assert_eq!(*e1 < *e2, lt); [INFO] [stdout] | --- ^ --- E<{integer}> [INFO] [stdout] | | [INFO] [stdout] | E<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum E { [INFO] [stdout] | ^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `E<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 27 | enum E { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>` cannot be applied to type `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(*e1 > *e2, gt); [INFO] [stdout] | --- ^ --- E<{integer}> [INFO] [stdout] | | [INFO] [stdout] | E<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum E { [INFO] [stdout] | ^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `E<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 27 | enum E { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-bounds.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<=` cannot be applied to type `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(*e1 <= *e2, le); [INFO] [stdout] | --- ^^ --- E<{integer}> [INFO] [stdout] | | [INFO] [stdout] | E<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum E { [INFO] [stdout] | ^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `E<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 27 | enum E { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>=` cannot be applied to type `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq!(*e1 >= *e2, ge); [INFO] [stdout] | --- ^^ --- E<{integer}> [INFO] [stdout] | | [INFO] [stdout] | E<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `E<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum E { [INFO] [stdout] | ^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `E<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 27 | enum E { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-enum-single-variant.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-hash.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-deriving-enum-single-variant.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[derivative(PartialEq="feature_allow_slow_enum")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-enum-single-variant.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cmp` exists for reference `&E<{integer}>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-enum.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 26 | enum E { [INFO] [stdout] | --------- doesn't satisfy `E<{integer}>: Iterator` or `E<{integer}>: Ord` [INFO] [stdout] ... [INFO] [stdout] 65 | assert_eq!(e1.cmp(e2), ord); [INFO] [stdout] | ^^^ method cannot be called on `&E<{integer}>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `E<{integer}>: Ord` [INFO] [stdout] which is required by `&E<{integer}>: Ord` [INFO] [stdout] `&E<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut &E<{integer}>: Iterator` [INFO] [stdout] `E<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut E<{integer}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/iter/traits/iterator.rs:40:1 [INFO] [stdout] help: consider annotating `E<{integer}>` with `#[derive(Eq, Ord, PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(Eq, Ord, PartialEq, PartialOrd)] [INFO] [stdout] 27 | enum E { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-via-extension-hash-struct") due to 4 previous errors [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-cmp-generic-enum") due to 10 previous errors [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/derive-debug.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-hash.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(*s1 == *s2, eq); [INFO] [stdout] | --- ^^ --- S<{integer}> [INFO] [stdout] | | [INFO] [stdout] | S<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | struct S { [INFO] [stdout] | ^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `S<{integer}>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(PartialEq)] [INFO] [stdout] 22 | struct S { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(*s1 != *s2, !eq); [INFO] [stdout] | --- ^^ --- S<{integer}> [INFO] [stdout] | | [INFO] [stdout] | S<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | struct S { [INFO] [stdout] | ^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `S<{integer}>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(PartialEq)] [INFO] [stdout] 22 | struct S { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<` cannot be applied to type `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:49:28 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(*s1 < *s2, lt); [INFO] [stdout] | --- ^ --- S<{integer}> [INFO] [stdout] | | [INFO] [stdout] | S<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | struct S { [INFO] [stdout] | ^^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `S<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 22 | struct S { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[derivative(Debug="ignore")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/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] 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:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>` cannot be applied to type `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(*s1 > *s2, gt); [INFO] [stdout] | --- ^ --- S<{integer}> [INFO] [stdout] | | [INFO] [stdout] | S<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | struct S { [INFO] [stdout] | ^^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `S<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 22 | struct S { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<=` cannot be applied to type `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(*s1 <= *s2, le); [INFO] [stdout] | --- ^^ --- S<{integer}> [INFO] [stdout] | | [INFO] [stdout] | S<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | struct S { [INFO] [stdout] | ^^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `S<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 22 | struct S { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>=` cannot be applied to type `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:53:28 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(*s1 >= *s2, ge); [INFO] [stdout] | --- ^^ --- S<{integer}> [INFO] [stdout] | | [INFO] [stdout] | S<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `S<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | struct S { [INFO] [stdout] | ^^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `S<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 22 | struct S { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-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 attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> tests/rustc-deriving-hash.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[derivative(Debug="ignore")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | V2(#[derivative(Debug="ignore")] i32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-enum-single-variant") due to 3 previous errors [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-cmp-generic-struct") due to 10 previous errors [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | #[derivative(Debug="ignore")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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 enum [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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cmp` exists for reference `&S<{integer}>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 21 | struct S { [INFO] [stdout] | ----------- doesn't satisfy `S<{integer}>: Iterator` or `S<{integer}>: Ord` [INFO] [stdout] ... [INFO] [stdout] 56 | assert_eq!(s1.cmp(s2), ord); [INFO] [stdout] | ^^^ method cannot be called on `&S<{integer}>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `S<{integer}>: Ord` [INFO] [stdout] which is required by `&S<{integer}>: Ord` [INFO] [stdout] `&S<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut &S<{integer}>: Iterator` [INFO] [stdout] `S<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut S<{integer}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/iter/traits/iterator.rs:40:1 [INFO] [stdout] help: consider annotating `S<{integer}>` with `#[derive(Eq, Ord, PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 21 + #[derive(Eq, Ord, PartialEq, PartialOrd)] [INFO] [stdout] 22 | struct S { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | struct F(#[derivative(Debug="ignore")] isize); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0463, E0599. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | struct G(isize, #[derivative(Debug="ignore")] isize); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [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] help: consider annotating `Person` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 24 + #[derive(Hash)] [INFO] [stdout] 25 | struct Person { [INFO] [stdout] | [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] help: consider annotating `Person` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 24 + #[derive(Hash)] [INFO] [stdout] 25 | struct Person { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | struct J(#[derivative(Debug="ignore")] NoDebug); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] help: consider annotating `Person` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 24 + #[derive(Hash)] [INFO] [stdout] 25 | struct Person { [INFO] [stdout] | [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] help: consider annotating `Person` with `#[derive(Hash)]` [INFO] [stdout] | [INFO] [stdout] 24 + #[derive(Hash)] [INFO] [stdout] 25 | struct Person { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Foo` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:68:40 [INFO] [stdout] | [INFO] [stdout] 11 | struct Foo { [INFO] [stdout] | ---------- method `to_show` not found for this struct because it doesn't satisfy `Foo: Debug` or `Foo: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 68 | assert_eq!(Foo { foo: 42, bar: 1 }.to_show(), "Foo { foo: 42 }".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Foo` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Foo: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `Foo` or manually `impl Debug for Foo` [INFO] [stdout] help: consider annotating `Foo` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 11 + #[derive(Debug)] [INFO] [stdout] 12 | struct Foo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Bar` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 19 | struct Bar ( [INFO] [stdout] | ---------- method `to_show` not found for this struct because it doesn't satisfy `Bar: Debug` or `Bar: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 69 | assert_eq!(Bar(42, 1).to_show(), "Bar(42)".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Bar` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Bar: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `Bar` or manually `impl Debug for Bar` [INFO] [stdout] help: consider annotating `Bar` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Debug)] [INFO] [stdout] 20 | struct Bar ( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Foo` in the current scope [INFO] [stdout] --> tests/derive-clone.rs:50:45 [INFO] [stdout] | [INFO] [stdout] 11 | struct Foo { [INFO] [stdout] | ---------- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 50 | assert_eq!(Foo { foo: 31, bar: 6 }, foo.clone()); [INFO] [stdout] | ^^^^^ method not found in `Foo` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `C` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 27 | enum C { [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `C: Debug` or `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 70 | assert_eq!(C::V1(12).to_show(), "V1(12)".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `C` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `C` or manually `impl Debug for C` [INFO] [stdout] help: consider annotating `C` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Debug)] [INFO] [stdout] 28 | enum C { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `C` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 27 | enum C { [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `C: Debug` or `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 71 | assert_eq!(C::V2(12).to_show(), "V2".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `C` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `C` or manually `impl Debug for C` [INFO] [stdout] help: consider annotating `C` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Debug)] [INFO] [stdout] 28 | enum C { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `C` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 27 | enum C { [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `C: Debug` or `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 72 | assert_eq!(C::V3("foo".to_string()).to_show(), "V3(\"foo\")".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `C` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `C` or manually `impl Debug for C` [INFO] [stdout] help: consider annotating `C` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Debug)] [INFO] [stdout] 28 | enum C { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `Foo` in the current scope [INFO] [stdout] --> tests/derive-default-bounds.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 9 | struct Foo { [INFO] [stdout] | ---------------- function or associated item `default` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 37 | assert_eq!(Foo::default(), Foo { foo: 0u8, bar: 0xffu8 }); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Foo<_, _>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `D` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 35 | enum D { [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `D: Debug` or `D: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 73 | assert_eq!(D::V1 { a: 42 }.to_show(), "V1".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `D` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `D: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `D` or manually `impl Debug for D` [INFO] [stdout] note: the method `to_show` exists on the type `isize` [INFO] [stdout] --> tests/derive-debug.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | fn to_show(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider annotating `D` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Debug)] [INFO] [stdout] 36 | enum D { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `F` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 44 | struct F(#[derivative(Debug="ignore")] isize); [INFO] [stdout] | -------- method `to_show` not found for this struct because it doesn't satisfy `F: Debug` or `F: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 74 | assert_eq!(F(42).to_show(), "F".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `F` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `F: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `F` or manually `impl Debug for F` [INFO] [stdout] help: consider annotating `F` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 44 + #[derive(Debug)] [INFO] [stdout] 45 | struct F(#[derivative(Debug="ignore")] isize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `G` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 48 | struct G(isize, #[derivative(Debug="ignore")] isize); [INFO] [stdout] | -------- method `to_show` not found for this struct because it doesn't satisfy `G: Debug` or `G: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 75 | assert_eq!(G(42, 0).to_show(), "G(42)".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `G` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `G: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `G` or manually `impl Debug for G` [INFO] [stdout] help: consider annotating `G` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 48 + #[derive(Debug)] [INFO] [stdout] 49 | struct G(isize, #[derivative(Debug="ignore")] isize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `J` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 52 | struct J(#[derivative(Debug="ignore")] NoDebug); [INFO] [stdout] | -------- method `to_show` not found for this struct because it doesn't satisfy `J: Debug` or `J: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 76 | assert_eq!(J(NoDebug).to_show(), "J".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `J` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `J: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `J` or manually `impl Debug for J` [INFO] [stdout] help: consider annotating `J` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 52 + #[derive(Debug)] [INFO] [stdout] 53 | struct J(#[derivative(Debug="ignore")] NoDebug); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `Bar` in the current scope [INFO] [stdout] --> tests/derive-default-bounds.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 17 | struct Bar { [INFO] [stdout] | ---------------- function or associated item `default` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 38 | assert_eq!(Bar::default(), Bar { foo: 0u8, bar: 0xffu8 }); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `Bar<_, _>` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone_from` found for struct `StructWithCloneFrom` in the current scope [INFO] [stdout] --> tests/derive-clone.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 37 | struct StructWithCloneFrom(EvilCloneFrom); [INFO] [stdout] | -------------------------- method `clone_from` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 53 | foo.clone_from(&StructWithCloneFrom(EvilCloneFrom(0))); [INFO] [stdout] | ^^^^^^^^^^ method not found in `StructWithCloneFrom` [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_from`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Foo` in the current scope [INFO] [stdout] --> tests/derive-default-bounds.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 9 | struct Foo { [INFO] [stdout] | ---------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 39 | assert_eq!(Foo::new(), Foo { foo: 0u8, bar: 0xffu8 }); [INFO] [stdout] | ^^^ function or associated item not found in `Foo<_, _>` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/cmp.rs:264:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Bar` in the current scope [INFO] [stdout] --> tests/derive-default-bounds.rs:40:21 [INFO] [stdout] | [INFO] [stdout] 17 | struct Bar { [INFO] [stdout] | ---------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 40 | assert_eq!(Bar::new(), Bar { foo: 0u8, bar: 0xffu8 }); [INFO] [stdout] | ^^^ function or associated item not found in `Bar<_, _>` [INFO] [stdout] | [INFO] [stdout] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/cmp.rs:264:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone_from` found for enum `EnumWithCloneFrom` in the current scope [INFO] [stdout] --> tests/derive-clone.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 41 | enum EnumWithCloneFrom { [INFO] [stdout] | ---------------------- method `clone_from` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 57 | foo.clone_from(&EnumWithCloneFrom::Evil(EvilCloneFrom(0))); [INFO] [stdout] | ^^^^^^^^^^ method not found in `EnumWithCloneFrom` [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_from`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `WithOption` in the current scope [INFO] [stdout] --> tests/derive-default-bounds.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 29 | struct WithOption { [INFO] [stdout] | -------------------- function or associated item `default` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 41 | WithOption::::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `WithOption` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:52:29 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(*es1 == *es2, eq); [INFO] [stdout] | ---- ^^ ---- ES<{integer}> [INFO] [stdout] | | [INFO] [stdout] | ES<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum ES { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `ES<{integer}>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(PartialEq)] [INFO] [stdout] 27 | enum ES { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "derive-debug") due to 31 previous errors [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-bounds.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(*es1 != *es2, !eq); [INFO] [stdout] | ---- ^^ ---- ES<{integer}> [INFO] [stdout] | | [INFO] [stdout] | ES<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum ES { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `ES<{integer}>` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(PartialEq)] [INFO] [stdout] 27 | enum ES { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<` cannot be applied to type `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(*es1 < *es2, lt); [INFO] [stdout] | ---- ^ ---- ES<{integer}> [INFO] [stdout] | | [INFO] [stdout] | ES<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum ES { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `ES<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 27 | enum ES { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>` cannot be applied to type `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(*es1 > *es2, gt); [INFO] [stdout] | ---- ^ ---- ES<{integer}> [INFO] [stdout] | | [INFO] [stdout] | ES<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum ES { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `ES<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 27 | enum ES { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<=` cannot be applied to type `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(*es1 <= *es2, le); [INFO] [stdout] | ---- ^^ ---- ES<{integer}> [INFO] [stdout] | | [INFO] [stdout] | ES<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum ES { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `ES<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 27 | enum ES { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `>=` cannot be applied to type `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | assert_eq!(*es1 >= *es2, ge); [INFO] [stdout] | ---- ^^ ---- ES<{integer}> [INFO] [stdout] | | [INFO] [stdout] | ES<{integer}> [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialOrd` might be missing for `ES<{integer}>` [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | enum ES { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialOrd` [INFO] [stdout] help: consider annotating `ES<{integer}>` with `#[derive(PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(PartialEq, PartialOrd)] [INFO] [stdout] 27 | enum ES { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-bounds.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[derivative(Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-bounds.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 struct [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 method named `clone_from` found for enum `EnumWithCloneFrom` in the current scope [INFO] [stdout] --> tests/derive-clone.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 41 | enum EnumWithCloneFrom { [INFO] [stdout] | ---------------------- method `clone_from` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 61 | foo.clone_from(&EnumWithCloneFrom::None); [INFO] [stdout] | ^^^^^^^^^^ method not found in `EnumWithCloneFrom` [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_from`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `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 struct [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] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/cmp.rs:264:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-hash") due to 14 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone_from` found for enum `EnumWithCloneFrom` in the current scope [INFO] [stdout] --> tests/derive-clone.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 41 | enum EnumWithCloneFrom { [INFO] [stdout] | ---------------------- method `clone_from` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 65 | foo.clone_from(&EnumWithCloneFrom::None); [INFO] [stdout] | ^^^^^^^^^^ method not found in `EnumWithCloneFrom` [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_from`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `cmp` exists for reference `&ES<{integer}>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/rustc-deriving-cmp-generic-struct-enum.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 26 | enum ES { [INFO] [stdout] | ---------- doesn't satisfy `ES<{integer}>: Iterator` or `ES<{integer}>: Ord` [INFO] [stdout] ... [INFO] [stdout] 63 | assert_eq!(es1.cmp(es2), ord); [INFO] [stdout] | ^^^ method cannot be called on `&ES<{integer}>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `ES<{integer}>: Ord` [INFO] [stdout] which is required by `&ES<{integer}>: Ord` [INFO] [stdout] `&ES<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut &ES<{integer}>: Iterator` [INFO] [stdout] `ES<{integer}>: Iterator` [INFO] [stdout] which is required by `&mut ES<{integer}>: Iterator` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/iter/traits/iterator.rs:40:1 [INFO] [stdout] help: consider annotating `ES<{integer}>` with `#[derive(Eq, Ord, PartialEq, PartialOrd)]` [INFO] [stdout] | [INFO] [stdout] 26 + #[derive(Eq, Ord, PartialEq, PartialOrd)] [INFO] [stdout] 27 | enum ES { [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] | ---------- function or associated item `default` not found for this struct [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] | ---------- function or associated item `new` not found for this struct [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] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/cmp.rs:264:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [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] | ---------- function or associated item `new` not found for this struct [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] help: there is a method `ne` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/cmp.rs:264:5 [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 struct [INFO] [stdout] ... [INFO] [stdout] 75 | assert_eq!(A::default(), A(NoDefault)); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `A` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no 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 for this enum [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] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-bounds") due to 3 previous errors [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 for this enum [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] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-cmp-generic-struct-enum") due to 10 previous errors [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "derive-clone") due to 13 previous errors; 1 warning emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "derive-default-bounds") due to 14 previous errors [INFO] [stderr] error: could not compile `tulip-derivative` (test "derive-default") due to 31 previous errors [INFO] running `Command { std: "docker" "inspect" "463659d46a5b3fcbe2d48a93deb75b4f7927cc20841f2b76b5cc635bb1d87b45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "463659d46a5b3fcbe2d48a93deb75b4f7927cc20841f2b76b5cc635bb1d87b45", kill_on_drop: false }` [INFO] [stdout] 463659d46a5b3fcbe2d48a93deb75b4f7927cc20841f2b76b5cc635bb1d87b45