[INFO] cloning repository https://github.com/sergey-tihon/rust-macros [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sergey-tihon/rust-macros" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergey-tihon%2Frust-macros", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergey-tihon%2Frust-macros'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6cc9c2210ad0a3df260c75593ac5de0e657c0ac2 [INFO] testing sergey-tihon/rust-macros against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergey-tihon%2Frust-macros" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sergey-tihon/rust-macros on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sergey-tihon/rust-macros [INFO] finished tweaking git repo https://github.com/sergey-tihon/rust-macros [INFO] tweaked toml for git repo https://github.com/sergey-tihon/rust-macros written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sergey-tihon/rust-macros 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1afeb8e222df6528c27604006dd16f9d93a1d3361be92071c64fa85f3a8fe878 [INFO] running `Command { std: "docker" "start" "-a" "1afeb8e222df6528c27604006dd16f9d93a1d3361be92071c64fa85f3a8fe878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1afeb8e222df6528c27604006dd16f9d93a1d3361be92071c64fa85f3a8fe878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1afeb8e222df6528c27604006dd16f9d93a1d3361be92071c64fa85f3a8fe878", kill_on_drop: false }` [INFO] [stdout] 1afeb8e222df6528c27604006dd16f9d93a1d3361be92071c64fa85f3a8fe878 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcee5fb0320a1cc45fe1590c1c9f909acce337899b038551d6ee5f5ae1eee6cb [INFO] running `Command { std: "docker" "start" "-a" "fcee5fb0320a1cc45fe1590c1c9f909acce337899b038551d6ee5f5ae1eee6cb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling builder-code v0.1.0 (/opt/rustwide/workdir/builder-code) [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling proc-macro v0.1.0 (/opt/rustwide/workdir/proc-macro) [INFO] [stderr] Compiling proc-macro-attr v0.1.0 (/opt/rustwide/workdir/proc-macro-attr) [INFO] [stderr] Compiling panic-to-result-macro v0.1.0 (/opt/rustwide/workdir/panic-to-result-macro) [INFO] [stderr] Compiling builder-macro v0.1.0 (/opt/rustwide/workdir/builder-macro) [INFO] [stderr] Compiling proc-macro-derive v0.1.0 (/opt/rustwide/workdir/proc-macro-derive) [INFO] [stderr] Compiling config-macro v0.1.0 (/opt/rustwide/workdir/config-macro) [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stderr] pub struct Example4 { pub first : String, pub second : u32 } [INFO] [stderr] pub struct Example5(u32, String); [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.79s [INFO] running `Command { std: "docker" "inspect" "fcee5fb0320a1cc45fe1590c1c9f909acce337899b038551d6ee5f5ae1eee6cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcee5fb0320a1cc45fe1590c1c9f909acce337899b038551d6ee5f5ae1eee6cb", kill_on_drop: false }` [INFO] [stdout] fcee5fb0320a1cc45fe1590c1c9f909acce337899b038551d6ee5f5ae1eee6cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3915f8259ffb52470d4fdb96f6f3ef7fd0fbab6e56a6d6a11e3ea026dc3d45e [INFO] running `Command { std: "docker" "start" "-a" "a3915f8259ffb52470d4fdb96f6f3ef7fd0fbab6e56a6d6a11e3ea026dc3d45e", kill_on_drop: false }` [INFO] [stderr] Compiling config-macro v0.1.0 (/opt/rustwide/workdir/config-macro) [INFO] [stderr] Compiling builder-macro v0.1.0 (/opt/rustwide/workdir/builder-macro) [INFO] [stderr] Compiling panic-to-result-macro v0.1.0 (/opt/rustwide/workdir/panic-to-result-macro) [INFO] [stderr] Compiling proc-macro-attr v0.1.0 (/opt/rustwide/workdir/proc-macro-attr) [INFO] [stderr] Compiling proc-macro v0.1.0 (/opt/rustwide/workdir/proc-macro) [INFO] [stderr] Compiling proc-macro-derive v0.1.0 (/opt/rustwide/workdir/proc-macro-derive) [INFO] [stderr] Compiling builder-code v0.1.0 (/opt/rustwide/workdir/builder-code) [INFO] [stderr] Compiling app v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stderr] pub struct Example4 { pub first : String, pub second : u32 } [INFO] [stderr] pub struct Example5(u32, String); [INFO] [stderr] pub struct Example4 { pub first : String, pub second : u32 } [INFO] [stderr] pub struct Example5(u32, String); [INFO] [stderr] pub struct ExampleEx [INFO] [stderr] { pub first : String, pub second : u32, third : String, fourth : u32 } [INFO] [stdout] warning: fields `third` and `fourth` are never read [INFO] [stdout] --> app/tests/public_usage_tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | struct ExampleEx { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | third: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | fourth: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `breath_of_a_fish` and `anything_else` are never read [INFO] [stdout] --> app/tests/builder_usage_tests.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 137 | struct Gleichnis { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 138 | roots_of: String, [INFO] [stdout] 139 | breath_of_a_fish: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 140 | anything_else: bool, [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 9.94s [INFO] running `Command { std: "docker" "inspect" "a3915f8259ffb52470d4fdb96f6f3ef7fd0fbab6e56a6d6a11e3ea026dc3d45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3915f8259ffb52470d4fdb96f6f3ef7fd0fbab6e56a6d6a11e3ea026dc3d45e", kill_on_drop: false }` [INFO] [stdout] a3915f8259ffb52470d4fdb96f6f3ef7fd0fbab6e56a6d6a11e3ea026dc3d45e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d74e0f0152b42c8ad30405a3688f973abef24528919e425af667670720cf53eb [INFO] running `Command { std: "docker" "start" "-a" "d74e0f0152b42c8ad30405a3688f973abef24528919e425af667670720cf53eb", kill_on_drop: false }` [INFO] [stderr] warning: fields `breath_of_a_fish` and `anything_else` are never read [INFO] [stderr] --> app/tests/builder_usage_tests.rs:139:9 [INFO] [stderr] | [INFO] [stderr] 137 | struct Gleichnis { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 138 | roots_of: String, [INFO] [stderr] 139 | breath_of_a_fish: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 140 | anything_else: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] pub struct Example4 { pub first : String, pub second : u32 } [INFO] [stderr] pub struct Example5(u32, String); [INFO] [stderr] pub struct Example4 { pub first : String, pub second : u32 } [INFO] [stderr] pub struct Example5(u32, String); [INFO] [stderr] pub struct ExampleEx [INFO] [stderr] { pub first : String, pub second : u32, third : String, fourth : u32 } [INFO] [stderr] warning: fields `third` and `fourth` are never read [INFO] [stderr] --> app/tests/public_usage_tests.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 5 | struct ExampleEx { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | third: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 9 | fourth: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `app` (test "builder_usage_tests") generated 1 warning [INFO] [stderr] warning: `app` (test "public_usage_tests") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/app-983e30f3f7d81a50) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test panic_to_result::tests::happy_path ... ok [INFO] [stdout] test panic_to_result::tests::should_panic_on_invalid_age ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running tests/builder_usage_tests.rs (/opt/rustwide/target/debug/deps/builder_usage_tests-1571923a7dc83a56) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test should_generate_builder_for_struct_with_single_property ... ok [INFO] [stdout] test should_generate_builder_for_struct_with_one_renamed_prop ... ok [INFO] [stdout] test should_generate_builder_for_struct_with_multiple_properties ... ok [INFO] [stdout] test should_generate_builder_for_struct_with_two_properties ... ok [INFO] [stdout] test should_generate_builder_for_struct_with_two_props_one_custom_name ... ok [INFO] [stdout] test should_use_defaults_when_attribute_is_present ... ok [INFO] [stdout] test should_generate_builder_for_struct_with_one_renamed_property ... ok [INFO] [stdout] test should_generate_builder_for_struct_with_no_properties ... ok [INFO] [stdout] test should_work_with_correct_order ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/compilation_tests.rs (/opt/rustwide/target/debug/deps/compilation_tests-de7bece10bcf9266) [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling builder-code v0.1.0 (/opt/rustwide/workdir/builder-code) [INFO] [stderr] Compiling panic-to-result-macro v0.1.0 (/opt/rustwide/workdir/panic-to-result-macro) [INFO] [stderr] Compiling proc-macro-attr v0.1.0 (/opt/rustwide/workdir/proc-macro-attr) [INFO] [stderr] Compiling builder-macro v0.1.0 (/opt/rustwide/workdir/builder-macro) [INFO] [stderr] Compiling proc-macro v0.1.0 (/opt/rustwide/workdir/proc-macro) [INFO] [stderr] Compiling config-macro v0.1.0 (/opt/rustwide/workdir/config-macro) [INFO] [stderr] Compiling proc-macro-derive v0.1.0 (/opt/rustwide/workdir/proc-macro-derive) [INFO] [stderr] Checking app-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/app) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.09s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/fails/build_defaults_without_default.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `DoesNotImplementDefault: Default` is not satisfied [INFO] [stderr] --> tests/fails/build_defaults_without_default.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | not: DoesNotImplementDefault, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `DoesNotImplementDefault` [INFO] [stderr] | [INFO] [stderr] = help: see issue #48214 [INFO] [stderr] help: consider annotating `DoesNotImplementDefault` with `#[derive(Default)]` [INFO] [stderr] | [INFO] [stderr] 3 + #[derive(Default)] [INFO] [stderr] 4 | struct DoesNotImplementDefault; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `DoesNotImplementDefault: Default` is not satisfied [INFO] [stderr] --> tests/fails/build_defaults_without_default.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Builder)] [INFO] [stderr] | ^^^^^^^ the trait `Default` is not implemented for `DoesNotImplementDefault` [INFO] [stderr] | [INFO] [stderr] note: required by a bound in `Option::::unwrap_or_default` [INFO] [stderr] --> $RUST/core/src/option.rs [INFO] [stderr] | [INFO] [stderr] | pub fn unwrap_or_default(self) -> T [INFO] [stderr] | ----------------- required by a bound in this associated function [INFO] [stderr] | where [INFO] [stderr] | T: Default, [INFO] [stderr] | ^^^^^^^ required by this bound in `Option::::unwrap_or_default` [INFO] [stderr] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider annotating `DoesNotImplementDefault` with `#[derive(Default)]` [INFO] [stderr] | [INFO] [stderr] 3 + #[derive(Default)] [INFO] [stderr] 4 | struct DoesNotImplementDefault; [INFO] [stderr] | [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `DoesNotImplementDefault: Default` is not satisfied [INFO] [stderr] --> tests/fails/build_defaults_without_default.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | not: DoesNotImplementDefault, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `DoesNotImplementDefault` [INFO] [stderr] | [INFO] [stderr] = help: see issue #48214 [INFO] [stderr] help: consider annotating `DoesNotImplementDefault` with `#[derive(Default)]` [INFO] [stderr] | [INFO] [stderr] 3 + #[derive(Default)] [INFO] [stderr] 4 | struct DoesNotImplementDefault; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `DoesNotImplementDefault: Default` is not satisfied [INFO] [stderr] --> tests/fails/build_defaults_without_default.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Builder)] [INFO] [stderr] | ^^^^^^^ the trait `Default` is not implemented for `DoesNotImplementDefault` [INFO] [stderr] | [INFO] [stderr] note: required by a bound in `Option::::unwrap_or_default` [INFO] [stderr] --> $RUST/core/src/option.rs [INFO] [stderr] = note: this error originates in the derive macro `Builder` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: consider annotating `DoesNotImplementDefault` with `#[derive(Default)]` [INFO] [stderr] | [INFO] [stderr] 3 + #[derive(Default)] [INFO] [stderr] 4 | struct DoesNotImplementDefault; [INFO] [stderr] | [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/fails/build_enum.rs ... ok [INFO] [stderr] test tests/fails/build_struct_unnamed.rs ... ok [INFO] [stderr] test tests/fails/build_with_missing_setters.rs ... ok [INFO] [stderr] test tests/fails/panic_return_result.rs ... ok [INFO] [stderr] test tests/fails/panic_two_errors.rs ... ok [INFO] [stderr] test tests/fails/panic_without_message.rs ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test should_not_compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- should_not_compile stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'should_not_compile' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.99/src/run.rs:101:13: [INFO] [stdout] 1 of 7 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5a1e5df0f29a - std::backtrace_rs::backtrace::libunwind::trace::h88deb10bd0145eb8 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5a1e5df0f29a - std::backtrace_rs::backtrace::trace_unsynchronized::he1036f5481c14dff [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5a1e5df0f29a - std::sys::backtrace::_print_fmt::hecc345b6e70c4b20 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5a1e5df0f29a - ::fmt::he089f96442833f67 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5a1e5df38793 - core::fmt::rt::Argument::fmt::h1f77cded99c71a14 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5a1e5df38793 - core::fmt::write::h2f210ed4c94745cb [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/fmt/mod.rs:1440:21 [INFO] [stdout] 6: 0x5a1e5df0b8c3 - std::io::Write::write_fmt::he723b56f7e0bd522 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x5a1e5df0f0e2 - std::sys::backtrace::BacktraceLock::print::h810fbd31421329e6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5a1e5df10dd0 - std::panicking::default_hook::{{closure}}::hbaad47ed9dc6356d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5a1e5df10b6d - std::panicking::default_hook::h24e207139139d40a [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:319:9 [INFO] [stdout] 10: 0x5a1e5ded7733 - as core::ops::function::Fn>::call::h63353c459bb27956 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 11: 0x5a1e5ded7733 - test::test_main::{{closure}}::hd5af4d6c4e32fe08 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x5a1e5df11603 - as core::ops::function::Fn>::call::h3af32c23caf5c679 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:2007:9 [INFO] [stdout] 13: 0x5a1e5df11603 - std::panicking::rust_panic_with_hook::ha9131beeb2ddc506 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:836:13 [INFO] [stdout] 14: 0x5a1e5df112da - std::panicking::begin_panic_handler::{{closure}}::h1bba0eaeb6da506f [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:701:13 [INFO] [stdout] 15: 0x5a1e5df0f799 - std::sys::backtrace::__rust_end_short_backtrace::h1d1ca3eade483f4c [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5a1e5df10f6d - rust_begin_unwind [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:692:5 [INFO] [stdout] 17: 0x5a1e5dbee430 - core::panicking::panic_fmt::h896a0727a1a943f9 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5a1e5dc33d04 - trybuild::run::::run::h17c8d639a5d8fa95 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.99/src/run.rs:101:13 [INFO] [stdout] 19: 0x5a1e5dc392d8 - ::drop::h91cfb96fc9c78cf5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.99/src/lib.rs:319:13 [INFO] [stdout] 20: 0x5a1e5dbeeef7 - core::ptr::drop_in_place::h60acdf5e3ce9415b [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ptr/mod.rs:523:1 [INFO] [stdout] 21: 0x5a1e5dbef623 - compilation_tests::should_not_compile::haeb3418753e1a94d [INFO] [stdout] at /opt/rustwide/workdir/app/tests/compilation_tests.rs:5:1 [INFO] [stdout] 22: 0x5a1e5dbef5b7 - compilation_tests::should_not_compile::{{closure}}::h58108650b1a1639f [INFO] [stdout] at /opt/rustwide/workdir/app/tests/compilation_tests.rs:2:24 [INFO] [stdout] 23: 0x5a1e5dbeee96 - core::ops::function::FnOnce::call_once::h52df24b895b791a3 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5a1e5dedcedb - core::ops::function::FnOnce::call_once::h8acc80b5a33ff319 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5a1e5dedcedb - test::__rust_begin_short_backtrace::h52b6da716ad42b7d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:632:18 [INFO] [stdout] 26: 0x5a1e5dedbe13 - test::run_test_in_process::{{closure}}::h2580047890abbefe [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:655:60 [INFO] [stdout] 27: 0x5a1e5dedbe13 - as core::ops::function::FnOnce<()>>::call_once::h936f8c89d0a99c40 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x5a1e5dedbe13 - std::panicking::try::do_call::h868682cc368697f9 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stdout] 29: 0x5a1e5dedbe13 - std::panicking::try::h0356ffc38cbb5501 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stdout] 30: 0x5a1e5dedbe13 - std::panic::catch_unwind::h74edf102a3082536 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stdout] 31: 0x5a1e5dedbe13 - test::run_test_in_process::hc27d69576b7224e4 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:655:27 [INFO] [stdout] 32: 0x5a1e5dedbe13 - test::run_test::{{closure}}::h9f3bfaf910429adb [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:576:43 [INFO] [stdout] 33: 0x5a1e5de9fb45 - test::run_test::{{closure}}::h3d537cdce8ec5816 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/test/src/lib.rs:606:41 [INFO] [stdout] 34: 0x5a1e5de9fb45 - std::sys::backtrace::__rust_begin_short_backtrace::hb51d9a6c67ec382d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x5a1e5dea3586 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5738f3abb9603fe6 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:564:17 [INFO] [stdout] 36: 0x5a1e5dea3586 - as core::ops::function::FnOnce<()>>::call_once::h5e9f4b56e45e8108 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5a1e5dea3586 - std::panicking::try::do_call::ha36db853b2f34e23 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:584:40 [INFO] [stdout] 38: 0x5a1e5dea3586 - std::panicking::try::h57e1aa33a0efb1be [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panicking.rs:547:19 [INFO] [stdout] 39: 0x5a1e5dea3586 - std::panic::catch_unwind::hdb71a6103024936e [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/panic.rs:358:14 [INFO] [stdout] 40: 0x5a1e5dea3586 - std::thread::Builder::spawn_unchecked_::{{closure}}::h8caa22218f423ab1 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/thread/mod.rs:562:30 [INFO] [stdout] 41: 0x5a1e5dea3586 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb3b44780e9c053e5 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5a1e5df167cb - as core::ops::function::FnOnce>::call_once::h2649f14f1b1c150d [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 43: 0x5a1e5df167cb - as core::ops::function::FnOnce>::call_once::hb2ade58cb34e1bc4 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/alloc/src/boxed.rs:1993:9 [INFO] [stdout] 44: 0x5a1e5df167cb - std::sys::pal::unix::thread::Thread::new::thread_start::ha07e360225fa3528 [INFO] [stdout] at /rustc/4d91de4e48198da2e33413efdcd9cd2cc0c46688/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 45: 0x7b2db521bac3 - [INFO] [stdout] 46: 0x7b2db52aca04 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stderr] error: test failed, to rerun pass `-p app --test compilation_tests` [INFO] [stdout] should_not_compile [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 27.68s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d74e0f0152b42c8ad30405a3688f973abef24528919e425af667670720cf53eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d74e0f0152b42c8ad30405a3688f973abef24528919e425af667670720cf53eb", kill_on_drop: false }` [INFO] [stdout] d74e0f0152b42c8ad30405a3688f973abef24528919e425af667670720cf53eb