[INFO] fetching crate tulip-derivative 2.2.1... [INFO] building tulip-derivative-2.2.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate tulip-derivative 2.2.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate tulip-derivative 2.2.1 [INFO] finished tweaking crates.io crate tulip-derivative 2.2.1 [INFO] tweaked toml for crates.io crate tulip-derivative 2.2.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tulip-derivative 2.2.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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.106) [INFO] [stderr] Adding trybuild v1.0.22 (available: v1.0.111) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.22 [INFO] [stderr] Downloaded runtime-macros-derive v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9ee6dfeccf51a7fdb6323363a9b2e7193d90f3eac98678da9dee66f4783b654 [INFO] running `Command { std: "docker" "start" "-a" "c9ee6dfeccf51a7fdb6323363a9b2e7193d90f3eac98678da9dee66f4783b654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9ee6dfeccf51a7fdb6323363a9b2e7193d90f3eac98678da9dee66f4783b654", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9ee6dfeccf51a7fdb6323363a9b2e7193d90f3eac98678da9dee66f4783b654", kill_on_drop: false }` [INFO] [stdout] c9ee6dfeccf51a7fdb6323363a9b2e7193d90f3eac98678da9dee66f4783b654 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b8adb3005b845d5da7f17cd39527ccfb3985e59799fbee843a6fa419c62ed4e [INFO] running `Command { std: "docker" "start" "-a" "1b8adb3005b845d5da7f17cd39527ccfb3985e59799fbee843a6fa419c62ed4e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.40 [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 9.63s [INFO] running `Command { std: "docker" "inspect" "1b8adb3005b845d5da7f17cd39527ccfb3985e59799fbee843a6fa419c62ed4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b8adb3005b845d5da7f17cd39527ccfb3985e59799fbee843a6fa419c62ed4e", kill_on_drop: false }` [INFO] [stdout] 1b8adb3005b845d5da7f17cd39527ccfb3985e59799fbee843a6fa419c62ed4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03a3582fa4d10afabd6405a12edf262e0dc63d743e28fb11f74d85daf1e019a7 [INFO] running `Command { std: "docker" "start" "-a" "03a3582fa4d10afabd6405a12edf262e0dc63d743e28fb11f74d85daf1e019a7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling runtime-macros-derive v0.4.0 [INFO] [stderr] Compiling tulip-derivative v2.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stdout] warning: unexpected `cfg` condition name: `tarpaulin_include` [INFO] [stdout] --> src/lib.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(not(tarpaulin_include))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tarpaulin_include)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `span` is never read [INFO] [stdout] --> src/ast.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Field<'a> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub span: proc_macro2::Span, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ast.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn all_fields(&self) -> Vec<&Field> { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn all_fields(&self) -> Vec<&Field<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling trybuild v1.0.22 [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-clone-struct.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-clone-struct.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Default, Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-clone-struct.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[derivative(Clone)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-deriving-clone-struct.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `S` in the current scope [INFO] [stdout] --> tests/rustc-deriving-clone-struct.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 23 | struct S { [INFO] [stdout] | -------- method `clone` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 46 | let _ = S::default().clone(); [INFO] [stdout] | ^^^^^ method not found in `S` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `clone`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-issue-32292.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-deriving-clone-struct") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-deriving-via-extension-hash-struct.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-32292.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/rustc-issue-32292.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(Hash, Eq, PartialEq, Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/rustc-issue-32292.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/rustc-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/issue-55.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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[E0463]: can't find crate for `derivative` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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 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: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/issue-55.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/issue-55.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/issue-55.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/issue-55.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | struct _Bar<'a, T: Foo>(#[derivative(Debug(format_with="fmt"))] Qux<'a, T>); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/issue-55.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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-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] 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-bounds.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[derivative(Default(bound="T: Default, U: std::ops::Not, U: Default", new="true"))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-default-bounds.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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] For more information about this error, try `rustc --explain E0463`. [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] [stderr] error: could not compile `tulip-derivative` (test "rustc-issue-32292") due to 3 previous errors [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] [stderr] error: could not compile `tulip-derivative` (test "issue-55") due to 4 previous errors [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 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/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/cmp.rs:265:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stdout] error[E0599]: 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/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/cmp.rs:265:5 [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: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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-partial-eq-packed.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | #[derivative(PartialEq(bound = ""))] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "rustc-issue-3935") due to 4 previous errors [INFO] [stderr] error: could not compile `tulip-derivative` (test "derive-default-bounds") due to 14 previous errors [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[derivative(PartialEq = "ignore")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.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/derive-partial-eq-packed.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[derivative(PartialEq = "ignore")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[derivative(PartialEq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | struct Generic(#[derivative(PartialEq(compare_with = "dummy_cmp", bound = ""))] T); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | #[derivative(PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | #[derivative(PartialEq = "ignore")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/rustc-deriving-via-extension-hash-struct.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/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-debug.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 10 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | #[derivative(Debug="ignore")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | #[derivative(Debug="ignore")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | V2(#[derivative(Debug="ignore")] i32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | struct F(#[derivative(Debug="ignore")] isize); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[derivative(Debug)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | struct G(isize, #[derivative(Debug="ignore")] isize); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `derivative` is imported here, but it is an unresolved item, not an attribute [INFO] [stdout] --> tests/derive-debug.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate derivative; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Derivative` in this scope [INFO] [stdout] --> tests/derive-debug.rs:50:10 [INFO] [stdout] | [INFO] [stdout] 50 | #[derive(Derivative)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] [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[E0369]: binary operation `==` cannot be applied to type `Foo` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | assert!(Foo { foo: 7 } == Foo { foo: 7 }); [INFO] [stdout] | -------------- ^^ -------------- Foo [INFO] [stdout] | | [INFO] [stdout] | Foo [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Foo` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct Foo { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Foo` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 12 + #[derive(PartialEq)] [INFO] [stdout] 13 | struct Foo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `Foo` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | assert!(Foo { foo: 7 } != Foo { foo: 42 }); [INFO] [stdout] | -------------- ^^ --------------- Foo [INFO] [stdout] | | [INFO] [stdout] | Foo [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Foo` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct Foo { [INFO] [stdout] | ^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Foo` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 12 + #[derive(PartialEq)] [INFO] [stdout] 13 | struct Foo { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `WithPtr` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:91:35 [INFO] [stdout] | [INFO] [stdout] 91 | assert!(WithPtr { foo: ptr1 } == WithPtr { foo: ptr1 }); [INFO] [stdout] | --------------------- ^^ --------------------- WithPtr [INFO] [stdout] | | [INFO] [stdout] | WithPtr [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq>` might be missing for `WithPtr` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct WithPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq>` [INFO] [stdout] help: consider annotating `WithPtr` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(PartialEq)] [INFO] [stdout] 20 | struct WithPtr { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `WithPtr` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | assert!(WithPtr { foo: ptr1 } != WithPtr { foo: ptr2 }); [INFO] [stdout] | --------------------- ^^ --------------------- WithPtr [INFO] [stdout] | | [INFO] [stdout] | WithPtr [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq>` might be missing for `WithPtr` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct WithPtr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq>` [INFO] [stdout] help: consider annotating `WithPtr` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(PartialEq)] [INFO] [stdout] 20 | struct WithPtr { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Empty` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | assert!(Empty == Empty); [INFO] [stdout] | ----- ^^ ----- Empty [INFO] [stdout] | | [INFO] [stdout] | Empty [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Empty` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | struct Empty; [INFO] [stdout] | ^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Empty` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(PartialEq)] [INFO] [stdout] 28 | struct Empty; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `AllIgnored` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:95:35 [INFO] [stdout] | [INFO] [stdout] 95 | assert!(AllIgnored { foo: 0 } == AllIgnored { foo: 42 }); [INFO] [stdout] | --------------------- ^^ ---------------------- AllIgnored [INFO] [stdout] | | [INFO] [stdout] | AllIgnored [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `AllIgnored` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | struct AllIgnored { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `AllIgnored` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 32 + #[derive(PartialEq)] [INFO] [stdout] 33 | struct AllIgnored { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `OneIgnored` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | assert!(OneIgnored { foo: 0, bar: 6 } == OneIgnored { foo: 42, bar: 6 }); [INFO] [stdout] | ----------------------------- ^^ ------------------------------ OneIgnored [INFO] [stdout] | | [INFO] [stdout] | OneIgnored [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `OneIgnored` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | struct OneIgnored { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `OneIgnored` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 40 + #[derive(PartialEq)] [INFO] [stdout] 41 | struct OneIgnored { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `OneIgnored` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:97:43 [INFO] [stdout] | [INFO] [stdout] 97 | assert!(OneIgnored { foo: 0, bar: 6 } != OneIgnored { foo: 42, bar: 7 }); [INFO] [stdout] | ----------------------------- ^^ ------------------------------ OneIgnored [INFO] [stdout] | | [INFO] [stdout] | OneIgnored [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `OneIgnored` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | struct OneIgnored { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `OneIgnored` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 40 + #[derive(PartialEq)] [INFO] [stdout] 41 | struct OneIgnored { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Parity` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | assert!(Parity(3) == Parity(7)); [INFO] [stdout] | --------- ^^ --------- Parity [INFO] [stdout] | | [INFO] [stdout] | Parity [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Parity` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Parity` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 49 + #[derive(PartialEq)] [INFO] [stdout] 50 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Parity` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | assert!(Parity(2) == Parity(42)); [INFO] [stdout] | --------- ^^ ---------- Parity [INFO] [stdout] | | [INFO] [stdout] | Parity [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Parity` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Parity` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 49 + #[derive(PartialEq)] [INFO] [stdout] 50 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `Parity` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | assert!(Parity(3) != Parity(42)); [INFO] [stdout] | --------- ^^ ---------- Parity [INFO] [stdout] | | [INFO] [stdout] | Parity [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Parity` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Parity` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 49 + #[derive(PartialEq)] [INFO] [stdout] 50 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `!=` cannot be applied to type `Parity` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 108 | assert!(Parity(2) != Parity(7)); [INFO] [stdout] | --------- ^^ --------- Parity [INFO] [stdout] | | [INFO] [stdout] | Parity [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Parity` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [INFO] [stdout] | ^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Parity` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 49 + #[derive(PartialEq)] [INFO] [stdout] 50 | struct Parity(#[derivative(PartialEq(compare_with = "same_parity"))] u8); [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] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Generic` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:110:42 [INFO] [stdout] | [INFO] [stdout] 110 | assert!(Generic(SomeType { foo: 0 }) == Generic(SomeType { foo: 0 })); [INFO] [stdout] | ---------------------------- ^^ ---------------------------- Generic [INFO] [stdout] | | [INFO] [stdout] | Generic [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `Generic` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | struct Generic(#[derivative(PartialEq(compare_with = "dummy_cmp", bound = ""))] T); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `Generic` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 58 + #[derive(PartialEq)] [INFO] [stdout] 59 | struct Generic(#[derivative(PartialEq(compare_with = "dummy_cmp", bound = ""))] T); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tulip-derivative` (test "derive-partial-eq-packed") due to 37 previous errors [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `GenericIgnore` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 112 | / GenericIgnore { [INFO] [stdout] 113 | | f: 123, [INFO] [stdout] 114 | | t: NonPartialEq [INFO] [stdout] 115 | | } == GenericIgnore { [INFO] [stdout] | | _________-_^^_- [INFO] [stdout] | ||_________| [INFO] [stdout] | | GenericIgnore [INFO] [stdout] 116 | | f: 123, [INFO] [stdout] 117 | | t: NonPartialEq [INFO] [stdout] 118 | | } [INFO] [stdout] | |_________- GenericIgnore [INFO] [stdout] | [INFO] [stdout] note: an implementation of `PartialEq` might be missing for `GenericIgnore` [INFO] [stdout] --> tests/derive-partial-eq-packed.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | struct GenericIgnore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] help: consider annotating `GenericIgnore` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 69 + #[derive(PartialEq)] [INFO] [stdout] 70 | struct GenericIgnore { [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] Some errors have detailed explanations: E0369, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stdout] error[E0599]: `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]: `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] [stderr] error: could not compile `tulip-derivative` (test "derive-debug") due to 31 previous errors [INFO] [stdout] error[E0599]: `C` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 27 | enum C { [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `C: Debug` or `C: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 72 | assert_eq!(C::V3("foo".to_string()).to_show(), "V3(\"foo\")".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `C` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `C: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `C` or manually `impl Debug for C` [INFO] [stdout] help: consider annotating `C` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 27 + #[derive(Debug)] [INFO] [stdout] 28 | enum C { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `D` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 35 | enum D { [INFO] [stdout] | ------ method `to_show` not found for this enum because it doesn't satisfy `D: Debug` or `D: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 73 | assert_eq!(D::V1 { a: 42 }.to_show(), "V1".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `D` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `D: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `D` or manually `impl Debug for D` [INFO] [stdout] note: the method `to_show` exists on the type `isize` [INFO] [stdout] --> tests/derive-debug.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | fn to_show(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider annotating `D` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Debug)] [INFO] [stdout] 36 | enum D { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `F` doesn't implement `Debug` [INFO] [stdout] --> tests/derive-debug.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 44 | struct F(#[derivative(Debug="ignore")] isize); [INFO] [stdout] | -------- method `to_show` not found for this struct because it doesn't satisfy `F: Debug` or `F: ToDebug` [INFO] [stdout] ... [INFO] [stdout] 74 | assert_eq!(F(42).to_show(), "F".to_string()); [INFO] [stdout] | ^^^^^^^ method cannot be called on `F` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `F: Debug` was not satisfied [INFO] [stdout] --> tests/derive-debug.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | impl ToDebug for T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ------- - [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] = note: add `#[derive(Debug)]` to `F` or manually `impl Debug for F` [INFO] [stdout] help: consider annotating `F` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 44 + #[derive(Debug)] [INFO] [stdout] 45 | struct F(#[derivative(Debug="ignore")] isize); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [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] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "03a3582fa4d10afabd6405a12edf262e0dc63d743e28fb11f74d85daf1e019a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03a3582fa4d10afabd6405a12edf262e0dc63d743e28fb11f74d85daf1e019a7", kill_on_drop: false }` [INFO] [stdout] 03a3582fa4d10afabd6405a12edf262e0dc63d743e28fb11f74d85daf1e019a7