[INFO] fetching crate smile-marco 1.0.0... [INFO] testing smile-marco-1.0.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate smile-marco 1.0.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate smile-marco 1.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate smile-marco 1.0.0 [INFO] tweaked toml for crates.io crate smile-marco 1.0.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate smile-marco 1.0.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate smile-marco 1.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a665f04b50c61d39e11bc5ffaf4f8611c0c10440fb56be4b31d17539caf0602 [INFO] running `Command { std: "docker" "start" "-a" "5a665f04b50c61d39e11bc5ffaf4f8611c0c10440fb56be4b31d17539caf0602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a665f04b50c61d39e11bc5ffaf4f8611c0c10440fb56be4b31d17539caf0602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a665f04b50c61d39e11bc5ffaf4f8611c0c10440fb56be4b31d17539caf0602", kill_on_drop: false }` [INFO] [stdout] 5a665f04b50c61d39e11bc5ffaf4f8611c0c10440fb56be4b31d17539caf0602 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e23385e77051ab8d2d6d932388b3d396a37c03b2d48d65b7e1a3da25f9bd33bc [INFO] running `Command { std: "docker" "start" "-a" "e23385e77051ab8d2d6d932388b3d396a37c03b2d48d65b7e1a3da25f9bd33bc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Compiling smile-marco v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:65:48 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn handle_fields_exclude_and_name_attr(&self) -> Vec { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn handle_fields_exclude_and_name_attr(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.64s [INFO] running `Command { std: "docker" "inspect" "e23385e77051ab8d2d6d932388b3d396a37c03b2d48d65b7e1a3da25f9bd33bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e23385e77051ab8d2d6d932388b3d396a37c03b2d48d65b7e1a3da25f9bd33bc", kill_on_drop: false }` [INFO] [stdout] e23385e77051ab8d2d6d932388b3d396a37c03b2d48d65b7e1a3da25f9bd33bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7a513cec85b71a1b18fad4bddf3400dda653d7e935ca3a5f10e93e16a51b3fa2 [INFO] running `Command { std: "docker" "start" "-a" "7a513cec85b71a1b18fad4bddf3400dda653d7e935ca3a5f10e93e16a51b3fa2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling smile-marco v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:65:48 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn handle_fields_exclude_and_name_attr(&self) -> Vec { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn handle_fields_exclude_and_name_attr(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/util.rs:65:48 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn handle_fields_exclude_and_name_attr(&self) -> Vec { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn handle_fields_exclude_and_name_attr(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/wither.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut book = Book { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `author` are never read [INFO] [stdout] --> examples/wither.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Book { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `author` are never read [INFO] [stdout] --> examples/setter.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Book { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `author` is never read [INFO] [stdout] --> examples/builder.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Book { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `author` is never read [INFO] [stdout] --> examples/data.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Book { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `author` is never read [INFO] [stdout] --> examples/getter.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct Book { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.80s [INFO] running `Command { std: "docker" "inspect" "7a513cec85b71a1b18fad4bddf3400dda653d7e935ca3a5f10e93e16a51b3fa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a513cec85b71a1b18fad4bddf3400dda653d7e935ca3a5f10e93e16a51b3fa2", kill_on_drop: false }` [INFO] [stdout] 7a513cec85b71a1b18fad4bddf3400dda653d7e935ca3a5f10e93e16a51b3fa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 55cd6ff9b5b9a753c330dae6404559f46ff67eb32bc1baa46cc8b3ec6b53c423 [INFO] running `Command { std: "docker" "start" "-a" "55cd6ff9b5b9a753c330dae6404559f46ff67eb32bc1baa46cc8b3ec6b53c423", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/util.rs:65:48 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn handle_fields_exclude_and_name_attr(&self) -> Vec { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 65 | pub fn handle_fields_exclude_and_name_attr(&self) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `smile-marco` (lib) generated 1 warning (run `cargo fix --lib -p smile-marco` to apply 1 suggestion) [INFO] [stderr] warning: `smile-marco` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: fields `title` and `author` are never read [INFO] [stderr] --> examples/setter.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | struct Book { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 5 | title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 9 | author: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> examples/wither.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | let mut book = Book { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `title` and `author` are never read [INFO] [stderr] --> examples/wither.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | struct Book { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 5 | title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 9 | author: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `author` is never read [INFO] [stderr] --> examples/data.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 4 | struct Book { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 9 | author: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `author` is never read [INFO] [stderr] --> examples/getter.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 4 | struct Book { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 9 | author: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `author` is never read [INFO] [stderr] --> examples/builder.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 4 | struct Book { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 7 | author: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `smile-marco` (example "setter") generated 1 warning [INFO] [stderr] warning: `smile-marco` (example "wither") generated 2 warnings (run `cargo fix --example "wither"` to apply 1 suggestion) [INFO] [stderr] warning: `smile-marco` (example "data") generated 1 warning [INFO] [stderr] warning: `smile-marco` (example "getter") generated 1 warning [INFO] [stderr] warning: `smile-marco` (example "builder") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/smile_marco-0107396d81a0f233) [INFO] [stderr] Doc-tests smile_marco [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - getter_derive (line 58) ... FAILED [INFO] [stdout] test src/lib.rs - wither_derive (line 144) ... FAILED [INFO] [stdout] test src/lib.rs - setter_derive (line 101) ... FAILED [INFO] [stdout] test src/lib.rs - (line 16) ... ok [INFO] [stdout] test src/lib.rs - builder_derive (line 195) ... FAILED [INFO] [stdout] test src/lib.rs - data (line 268) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - getter_derive (line 58) stdout ---- [INFO] [stdout] error[E0592]: duplicate definitions with name `get_title` [INFO] [stdout] --> src/lib.rs:61:10 [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Getter)] [INFO] [stdout] | ^^^^^^ duplicate definitions for `get_title` [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_title(&self) -> &String { [INFO] [stdout] | ---------------------------------- other definition for `get_title` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_cost` [INFO] [stdout] --> src/lib.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Getter)] [INFO] [stdout] | ^^^^^^ duplicate definitions for `get_cost` [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_cost(&self) -> &i32 { [INFO] [stdout] | ------------------------------ other definition for `get_cost` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(book.get_title(), &"Rust Programming".to_string()); [INFO] [stdout] | ^^^^^^^^^ multiple `get_title` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl for the type `Book` [INFO] [stdout] --> src/lib.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Getter)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl for the type `Book` [INFO] [stdout] --> src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_title(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(book.get_cost(), &100); [INFO] [stdout] | ^^^^^^^^ multiple `get_cost` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl for the type `Book` [INFO] [stdout] --> src/lib.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Getter)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl for the type `Book` [INFO] [stdout] --> src/lib.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_cost(&self) -> &i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0592. [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - wither_derive (line 144) stdout ---- [INFO] [stdout] error[E0592]: duplicate definitions with name `with_title` [INFO] [stdout] --> src/lib.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Wither)] [INFO] [stdout] | ^^^^^^ duplicate definitions for `with_title` [INFO] [stdout] ... [INFO] [stdout] 27 | / pub fn with_title(mut self, func: F) -> Self [INFO] [stdout] 28 | | where [INFO] [stdout] 29 | | F: FnOnce(String) -> String, [INFO] [stdout] | |________________________________________- other definition for `with_title` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Wither` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `with_cost` [INFO] [stdout] --> src/lib.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Wither)] [INFO] [stdout] | ^^^^^^ duplicate definitions for `with_cost` [INFO] [stdout] ... [INFO] [stdout] 35 | / pub fn with_cost(mut self, func: F) -> Self [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | F: FnOnce(i32) -> i32, [INFO] [stdout] | |__________________________________- other definition for `with_cost` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Wither` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 21 | let book = book.with_cost(|v| v+100); [INFO] [stdout] | ^^^^^^^^^ multiple `with_cost` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl for the type `Book` [INFO] [stdout] --> src/lib.rs:147:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Wither)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl for the type `Book` [INFO] [stdout] --> src/lib.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 35 | / pub fn with_cost(mut self, func: F) -> Self [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | F: FnOnce(i32) -> i32, [INFO] [stdout] | |__________________________________^ [INFO] [stdout] = note: this error originates in the derive macro `Wither` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0592. [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - setter_derive (line 101) stdout ---- [INFO] [stdout] error[E0592]: duplicate definitions with name `set_title` [INFO] [stdout] --> src/lib.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Setter)] [INFO] [stdout] | ^^^^^^ duplicate definitions for `set_title` [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn set_title(&mut self, title: String) { [INFO] [stdout] | ------------------------------------------ other definition for `set_title` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Setter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_cost` [INFO] [stdout] --> src/lib.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Setter)] [INFO] [stdout] | ^^^^^^ duplicate definitions for `set_cost` [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn set_cost(&mut self, cost: i32) { [INFO] [stdout] | ------------------------------------- other definition for `set_cost` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Setter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:119:7 [INFO] [stdout] | [INFO] [stdout] 21 | book.set_cost(200); [INFO] [stdout] | ^^^^^^^^ multiple `set_cost` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl for the type `Book` [INFO] [stdout] --> src/lib.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Setter)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl for the type `Book` [INFO] [stdout] --> src/lib.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn set_cost(&mut self, cost: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Setter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_cost` found for struct `Book` in the current scope [INFO] [stdout] --> src/lib.rs:120:18 [INFO] [stdout] | [INFO] [stdout] 7 | struct Book { [INFO] [stdout] | ----------- method `get_cost` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 22 | assert_eq!(book.get_cost(), &200); [INFO] [stdout] | ^^^^^^^^ method not found in `Book` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0592, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - builder_derive (line 195) stdout ---- [INFO] [stdout] error[E0428]: the name `BookBuilder` is defined multiple times [INFO] [stdout] --> src/lib.rs:214:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Builder)] [INFO] [stdout] | ------- previous definition of the type `BookBuilder` here [INFO] [stdout] ... [INFO] [stdout] 22 | struct BookBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `BookBuilder` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `BookBuilder` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `builder` [INFO] [stdout] --> src/lib.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Builder)] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `builder` [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn builder() -> BookBuilder { [INFO] [stdout] | ------------------------------- other definition for `builder` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `new` [INFO] [stdout] --> src/lib.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Builder)] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `new` [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn new() -> Self { [INFO] [stdout] | -------------------- other definition for `new` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `build` [INFO] [stdout] --> src/lib.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Builder)] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `build` [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn build(self) -> Book { [INFO] [stdout] | -------------------------- other definition for `build` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `title` [INFO] [stdout] --> src/lib.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Builder)] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `title` [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn title(mut self, v: String) -> Self { [INFO] [stdout] | ----------------------------------------- other definition for `title` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `price` [INFO] [stdout] --> src/lib.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Builder)] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `price` [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn price(mut self, v: i32) -> Self { [INFO] [stdout] | -------------------------------------- other definition for `price` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `author` [INFO] [stdout] --> src/lib.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Builder)] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `author` [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn author(mut self, v: String) -> Self { [INFO] [stdout] | ------------------------------------------ other definition for `author` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:206:18 [INFO] [stdout] | [INFO] [stdout] 14 | let book = Book::builder() [INFO] [stdout] | ^^^^^^^ multiple `builder` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl for the type `Book` [INFO] [stdout] --> src/lib.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Builder)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl for the type `Book` [INFO] [stdout] --> src/lib.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn builder() -> BookBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Builder)] [INFO] [stdout] | ^^^^^^^ multiple `new` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl for the type `_doctest_main_src_lib_rs_195_0::BookBuilder` [INFO] [stdout] --> src/lib.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Builder)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl for the type `_doctest_main_src_lib_rs_195_0::BookBuilder` [INFO] [stdout] --> src/lib.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:255:22 [INFO] [stdout] | [INFO] [stdout] 63 | BookBuilder::new() [INFO] [stdout] | ^^^ multiple `new` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl for the type `_doctest_main_src_lib_rs_195_0::BookBuilder` [INFO] [stdout] --> src/lib.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Builder)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl for the type `_doctest_main_src_lib_rs_195_0::BookBuilder` [INFO] [stdout] --> src/lib.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0428, E0592. [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - data (line 268) stdout ---- [INFO] [stdout] error[E0428]: the name `Book` is defined multiple times [INFO] [stdout] --> src/lib.rs:279:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct Book { [INFO] [stdout] | ----------- previous definition of the type `Book` here [INFO] [stdout] ... [INFO] [stdout] 14 | struct Book { [INFO] [stdout] | ^^^^^^^^^^^ `Book` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Book` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `BookBuilder` is defined multiple times [INFO] [stdout] --> src/lib.rs:278:31 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ------- previous definition of the type `BookBuilder` here [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ^^^^^^^ `BookBuilder` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `BookBuilder` must be defined only once in the type namespace of this block [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_title` [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `get_title` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ------ other definition for `get_title` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_price` [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `get_price` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ------ other definition for `get_price` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `get_author` [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `get_author` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ------ other definition for `get_author` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Getter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_title` [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `set_title` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ------ other definition for `set_title` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Setter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_price` [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `set_price` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ------ other definition for `set_price` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Setter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `set_author` [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `set_author` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ------ other definition for `set_author` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Setter` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `with_title` [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `with_title` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ------ other definition for `with_title` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Wither` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `with_price` [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `with_price` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ------ other definition for `with_price` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Wither` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `with_author` [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `with_author` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ------ other definition for `with_author` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Wither` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `builder` [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `builder` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ------- other definition for `builder` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `new` [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `new` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ------- other definition for `new` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `build` [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `build` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ------- other definition for `build` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `title` [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `title` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ------- other definition for `title` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `price` [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `price` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ------- other definition for `price` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `author` [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ duplicate definitions for `author` [INFO] [stdout] ... [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ------- other definition for `author` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ multiple `new` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl for the type `_doctest_main_src_lib_rs_268_0::BookBuilder` [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl for the type `_doctest_main_src_lib_rs_268_0::BookBuilder` [INFO] [stdout] --> src/lib.rs:278:31 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:278:31 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ^^^^^^^ multiple `new` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl for the type `_doctest_main_src_lib_rs_268_0::BookBuilder` [INFO] [stdout] --> src/lib.rs:271:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[data] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in an impl for the type `_doctest_main_src_lib_rs_268_0::BookBuilder` [INFO] [stdout] --> src/lib.rs:278:31 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Getter,Setter,Wither,Builder)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0428, E0592. [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - builder_derive (line 195) [INFO] [stdout] src/lib.rs - data (line 268) [INFO] [stdout] src/lib.rs - getter_derive (line 58) [INFO] [stdout] src/lib.rs - setter_derive (line 101) [INFO] [stdout] src/lib.rs - wither_derive (line 144) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "55cd6ff9b5b9a753c330dae6404559f46ff67eb32bc1baa46cc8b3ec6b53c423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55cd6ff9b5b9a753c330dae6404559f46ff67eb32bc1baa46cc8b3ec6b53c423", kill_on_drop: false }` [INFO] [stdout] 55cd6ff9b5b9a753c330dae6404559f46ff67eb32bc1baa46cc8b3ec6b53c423