[INFO] fetching crate structconf 0.4.0... [INFO] testing structconf-0.4.0 against 1.55.0 for beta-1.56-1 [INFO] extracting crate structconf 0.4.0 into /workspace/builds/worker-37/source [INFO] validating manifest of crates.io crate structconf 0.4.0 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate structconf 0.4.0 [INFO] finished tweaking crates.io crate structconf 0.4.0 [INFO] tweaked toml for crates.io crate structconf 0.4.0 written to /workspace/builds/worker-37/source/Cargo.toml [INFO] crate crates.io crate structconf 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dlv-list v0.2.2 [INFO] [stderr] Downloaded structconf_derive v0.4.0 [INFO] [stderr] Downloaded rust-ini v0.15.3 [INFO] [stderr] Downloaded ordered-multimap v0.2.4 [INFO] [stderr] Downloaded strum_macros v0.19.2 [INFO] [stderr] Downloaded strum v0.19.2 [INFO] [stderr] Downloaded trybuild v1.0.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 283d536256bf456fb2df3350f167684ffc47db6064025901c650780524e44c09 [INFO] running `Command { std: "docker" "start" "-a" "283d536256bf456fb2df3350f167684ffc47db6064025901c650780524e44c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "283d536256bf456fb2df3350f167684ffc47db6064025901c650780524e44c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "283d536256bf456fb2df3350f167684ffc47db6064025901c650780524e44c09", kill_on_drop: false }` [INFO] [stdout] 283d536256bf456fb2df3350f167684ffc47db6064025901c650780524e44c09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5037dad4b8a514d645a4d1bcda574d3326718e134f6b36ed12cb154fb9f1dd6c [INFO] running `Command { std: "docker" "start" "-a" "5037dad4b8a514d645a4d1bcda574d3326718e134f6b36ed12cb154fb9f1dd6c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling dlv-list v0.2.2 [INFO] [stderr] Compiling ordered-multimap v0.2.4 [INFO] [stderr] Compiling rust-ini v0.15.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling structconf_derive v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling structconf v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.46s [INFO] running `Command { std: "docker" "inspect" "5037dad4b8a514d645a4d1bcda574d3326718e134f6b36ed12cb154fb9f1dd6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5037dad4b8a514d645a4d1bcda574d3326718e134f6b36ed12cb154fb9f1dd6c", kill_on_drop: false }` [INFO] [stdout] 5037dad4b8a514d645a4d1bcda574d3326718e134f6b36ed12cb154fb9f1dd6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f175a605471b3aaaa59d4298ed6a4ae3de8d2fc1f49078b0a3afebaf154a5d2 [INFO] running `Command { std: "docker" "start" "-a" "9f175a605471b3aaaa59d4298ed6a4ae3de8d2fc1f49078b0a3afebaf154a5d2", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling dissimilar v1.0.2 [INFO] [stderr] Compiling strum v0.19.2 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling dirs v3.0.1 [INFO] [stderr] Compiling strum_macros v0.19.2 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling trybuild v1.0.34 [INFO] [stderr] Compiling structconf v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 52.17s [INFO] running `Command { std: "docker" "inspect" "9f175a605471b3aaaa59d4298ed6a4ae3de8d2fc1f49078b0a3afebaf154a5d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f175a605471b3aaaa59d4298ed6a4ae3de8d2fc1f49078b0a3afebaf154a5d2", kill_on_drop: false }` [INFO] [stdout] 9f175a605471b3aaaa59d4298ed6a4ae3de8d2fc1f49078b0a3afebaf154a5d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-37/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 46094148011ab03b0fb84fbc779a430090baa1fbe6e82fc15437e76ee2e588d4 [INFO] running `Command { std: "docker" "start" "-a" "46094148011ab03b0fb84fbc779a430090baa1fbe6e82fc15437e76ee2e588d4", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/structconf-5e40dfea6c1650b9) [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] [stderr] Running tests/compile_tests.rs (/opt/rustwide/target/debug/deps/compile_tests-6aa2eb7c0c6eacc7) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling strum v0.19.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling dlv-list v0.2.2 [INFO] [stderr] Compiling ordered-multimap v0.2.4 [INFO] [stderr] Compiling rust-ini v0.15.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling strum_macros v0.19.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling structconf_derive v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling structconf v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling structconf-tests v0.0.0 (/opt/rustwide/target/tests/structconf) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.22s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test attr_parsing.rs [should pass] ... ok [INFO] [stderr] test basic.rs [should pass] ... ok [INFO] [stderr] test basic_attributes.rs [should pass] ... ok [INFO] [stderr] test custom.rs [should pass] ... ok [INFO] [stderr] test default.rs [should pass] ... ok [INFO] [stderr] test empty.rs [should pass] ... ok [INFO] [stderr] test inverse_arg.rs [should pass] ... ok [INFO] [stderr] test option.rs [should pass] ... ok [INFO] [stderr] test conflicting_file.rs [should fail to compile] ... ok [INFO] [stderr] test conflicting_help.rs [should fail to compile] ... ok [INFO] [stderr] test conflicting_inverse.rs [should fail to compile] ... ok [INFO] [stderr] test conflicting_long.rs [should fail to compile] ... ok [INFO] [stderr] test conflicting_short.rs [should fail to compile] ... ok [INFO] [stderr] test custom_norequisites.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `MyEnum: std::str::FromStr` is not satisfied [INFO] [stderr] --> $DIR/custom_norequisites.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(StructConf)] [INFO] [stderr] | ^^^^^^^^^^ the trait `std::str::FromStr` is not implemented for `MyEnum` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `MyEnum: std::default::Default` is not satisfied [INFO] [stderr] --> $DIR/custom_norequisites.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(StructConf)] [INFO] [stderr] | ^^^^^^^^^^ the trait `std::default::Default` is not implemented for `MyEnum` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::default::Default::default` [INFO] [stderr] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `MyStruct: std::str::FromStr` is not satisfied [INFO] [stderr] --> $DIR/custom_norequisites.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(StructConf)] [INFO] [stderr] | ^^^^^^^^^^ the trait `std::str::FromStr` is not implemented for `MyStruct` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `MyStruct: std::default::Default` is not satisfied [INFO] [stderr] --> $DIR/custom_norequisites.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(StructConf)] [INFO] [stderr] | ^^^^^^^^^^ the trait `std::default::Default` is not implemented for `MyStruct` [INFO] [stderr] | [INFO] [stderr] = note: required by `std::default::Default::default` [INFO] [stderr] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `to_string` found for enum `MyEnum` in the current scope [INFO] [stderr] --> $DIR/custom_norequisites.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 6 | enum MyEnum { [INFO] [stderr] | ----------- [INFO] [stderr] | | [INFO] [stderr] | method `to_string` not found for this [INFO] [stderr] | doesn't satisfy `MyEnum: std::fmt::Display` [INFO] [stderr] | doesn't satisfy `MyEnum: std::string::ToString` [INFO] [stderr] ... [INFO] [stderr] 17 | #[derive(StructConf)] [INFO] [stderr] | ^^^^^^^^^^ method not found in `MyEnum` [INFO] [stderr] | [INFO] [stderr] = note: the method `to_string` exists but the following trait bounds were not satisfied: [INFO] [stderr] `MyEnum: std::fmt::Display` [INFO] [stderr] which is required by `MyEnum: std::string::ToString` [INFO] [stderr] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `to_string` found for struct `MyStruct` in the current scope [INFO] [stderr] --> $DIR/custom_norequisites.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 12 | struct MyStruct { [INFO] [stderr] | --------------- [INFO] [stderr] | | [INFO] [stderr] | method `to_string` not found for this [INFO] [stderr] | doesn't satisfy `MyStruct: std::fmt::Display` [INFO] [stderr] | doesn't satisfy `MyStruct: std::string::ToString` [INFO] [stderr] ... [INFO] [stderr] 17 | #[derive(StructConf)] [INFO] [stderr] | ^^^^^^^^^^ method not found in `MyStruct` [INFO] [stderr] | [INFO] [stderr] = note: the method `to_string` exists but the following trait bounds were not satisfied: [INFO] [stderr] `MyStruct: std::fmt::Display` [INFO] [stderr] which is required by `MyStruct: std::string::ToString` [INFO] [stderr] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `MyEnum: FromStr` is not satisfied [INFO] [stderr] --> $DIR/custom_norequisites.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(StructConf)] [INFO] [stderr] | ^^^^^^^^^^ the trait `FromStr` is not implemented for `MyEnum` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `StructConf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `MyEnum: Default` is not satisfied [INFO] [stderr] --> $DIR/custom_norequisites.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(StructConf)] [INFO] [stderr] | ^^^^^^^^^^ the trait `Default` is not implemented for `MyEnum` [INFO] [stderr] | [INFO] [stderr] note: required by `std::default::Default::default` [INFO] [stderr] = note: this error originates in the derive macro `StructConf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `MyStruct: FromStr` is not satisfied [INFO] [stderr] --> $DIR/custom_norequisites.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(StructConf)] [INFO] [stderr] | ^^^^^^^^^^ the trait `FromStr` is not implemented for `MyStruct` [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the derive macro `StructConf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `MyStruct: Default` is not satisfied [INFO] [stderr] --> $DIR/custom_norequisites.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(StructConf)] [INFO] [stderr] | ^^^^^^^^^^ the trait `Default` is not implemented for `MyStruct` [INFO] [stderr] | [INFO] [stderr] note: required by `std::default::Default::default` [INFO] [stderr] = note: this error originates in the derive macro `StructConf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: the method `to_string` exists for enum `MyEnum`, but its trait bounds were not satisfied [INFO] [stderr] --> $DIR/custom_norequisites.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 6 | enum MyEnum { [INFO] [stderr] | ----------- [INFO] [stderr] | | [INFO] [stderr] | method `to_string` not found for this [INFO] [stderr] | doesn't satisfy `MyEnum: ToString` [INFO] [stderr] | doesn't satisfy `MyEnum: std::fmt::Display` [INFO] [stderr] ... [INFO] [stderr] 17 | #[derive(StructConf)] [INFO] [stderr] | ^^^^^^^^^^ method cannot be called on `MyEnum` due to unsatisfied trait bounds [INFO] [stderr] | [INFO] [stderr] = note: the following trait bounds were not satisfied: [INFO] [stderr] `MyEnum: std::fmt::Display` [INFO] [stderr] which is required by `MyEnum: ToString` [INFO] [stderr] = note: this error originates in the derive macro `StructConf` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0599]: the method `to_string` exists for struct `MyStruct`, but its trait bounds were not satisfied [INFO] [stderr] --> $DIR/custom_norequisites.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 12 | struct MyStruct { [INFO] [stderr] | --------------- [INFO] [stderr] | | [INFO] [stderr] | method `to_string` not found for this [INFO] [stderr] | doesn't satisfy `MyStruct: ToString` [INFO] [stderr] | doesn't satisfy `MyStruct: std::fmt::Display` [INFO] [stderr] ... [INFO] [stderr] 17 | #[derive(StructConf)] [INFO] [stderr] | ^^^^^^^^^^ method cannot be called on `MyStruct` due to unsatisfied trait bounds [INFO] [stderr] | [INFO] [stderr] = note: the following trait bounds were not satisfied: [INFO] [stderr] `MyStruct: std::fmt::Display` [INFO] [stderr] which is required by `MyStruct: ToString` [INFO] [stderr] = note: this error originates in the derive macro `StructConf` (in Nightly builds, run with -Z macro-backtrace for more info) [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 invalid_type_enum.rs [should fail to compile] ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: expected `:`, found `,` [INFO] [stderr] --> $DIR/invalid_type_enum.rs:5:6 [INFO] [stderr] | [INFO] [stderr] 5 | A, [INFO] [stderr] | ^ expected `:` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: expected `:`, found `,` [INFO] [stderr] --> $DIR/invalid_type_enum.rs:5:6 [INFO] [stderr] | [INFO] [stderr] 5 | A, [INFO] [stderr] | ^ expected `:` [INFO] [stderr] [INFO] [stderr] error: proc-macro derive panicked [INFO] [stderr] --> $DIR/invalid_type_enum.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(StructConf)] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: called `Result::unwrap()` on an `Err` value: Error("expected `:`") [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 invalid_type_struct.rs [should fail to compile] ... ok [INFO] [stderr] test inverse_nobool.rs [should fail to compile] ... ok [INFO] [stderr] test repeated_file.rs [should fail to compile] ... ok [INFO] [stderr] test repeated_long.rs [should fail to compile] ... ok [INFO] [stderr] test repeated_short.rs [should fail to compile] ... ok [INFO] [stderr] test repeated_short_auto.rs [should fail to compile] ... ok [INFO] [stderr] test short_nochar.rs [should fail to compile] ... ok [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test compile_fails ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- compile_fails stdout ---- [INFO] [stdout] thread 'compile_fails' panicked at '2 of 22 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.34/src/run.rs:60:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e571811de0 - std::backtrace_rs::backtrace::libunwind::trace::ha0ad43e8a952bfe7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55e571811de0 - std::backtrace_rs::backtrace::trace_unsynchronized::h6830419c0c4130dc [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e571811de0 - std::sys_common::backtrace::_print_fmt::h8f3516631ffa1ef5 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55e571811de0 - ::fmt::he1640d5f0d93f618 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55e57183624c - core::fmt::write::h88012e1f01caeebf [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x55e57180e4c5 - std::io::Write::write_fmt::h7728c39ea5632753 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x55e5718140fb - std::sys_common::backtrace::_print::ha1f00492f406a015 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55e5718140fb - std::sys_common::backtrace::print::hd54561b13feb6af3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55e5718140fb - std::panicking::default_hook::{{closure}}::h84fe124cd0864662 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55e571813c0c - std::panicking::default_hook::h5a8e74a76ce290a7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55e5718147c4 - std::panicking::rust_panic_with_hook::h67c812a4fe9d4c91 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55e5718142a7 - std::panicking::begin_panic_handler::{{closure}}::h33f9c1b96af300d7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55e5718122dc - std::sys_common::backtrace::__rust_end_short_backtrace::h51bae64be5921f0e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55e571814209 - rust_begin_unwind [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55e5715c8c9b - std::panicking::begin_panic_fmt::h7ab3d84aa4ae32a2 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:457:5 [INFO] [stdout] 15: 0x55e5715d9aa5 - trybuild::run::::run::hc746f210499d70d4 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.34/src/run.rs:60:13 [INFO] [stdout] 16: 0x55e5715ddf84 - ::drop::h89a553a98c81219d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.34/src/lib.rs:285:13 [INFO] [stdout] 17: 0x55e5715caad7 - core::ptr::drop_in_place::h8628dca8d782fcb3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ptr/mod.rs:192:1 [INFO] [stdout] 18: 0x55e5715cb455 - compile_tests::compile_fails::h592d08671f9c506e [INFO] [stdout] at /opt/rustwide/workdir/tests/compile_tests.rs:10:1 [INFO] [stdout] 19: 0x55e5715cb3da - compile_tests::compile_fails::{{closure}}::h68876b316cf3c447 [INFO] [stdout] at /opt/rustwide/workdir/tests/compile_tests.rs:6:1 [INFO] [stdout] 20: 0x55e5715caa1e - core::ops::function::FnOnce::call_once::h26a9a94f05a2daf3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e5717f4b13 - core::ops::function::FnOnce::call_once::h5aba9a5d361d6c79 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55e5717f4b13 - test::__rust_begin_short_backtrace::h705bb53b2b1d45e6 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:578:5 [INFO] [stdout] 23: 0x55e5717f35c8 - as core::ops::function::FnOnce>::call_once::ha20f614d7c0b2b6d [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 24: 0x55e5717f35c8 - as core::ops::function::FnOnce<()>>::call_once::hf02f19eeb64ceabd [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 25: 0x55e5717f35c8 - std::panicking::try::do_call::h4bfab65eb3b4b036 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 26: 0x55e5717f35c8 - std::panicking::try::h6613a46a6d2b6f88 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 27: 0x55e5717f35c8 - std::panic::catch_unwind::h9f07b17b60991273 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 28: 0x55e5717f35c8 - test::run_test_in_process::hc38797eecf07854f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:601:18 [INFO] [stdout] 29: 0x55e5717f35c8 - test::run_test::run_test_inner::{{closure}}::hac209db8bce0fd77 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:493:39 [INFO] [stdout] 30: 0x55e5717c1d5d - test::run_test::run_test_inner::{{closure}}::h4aefdd4b4a423e20 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:520:37 [INFO] [stdout] 31: 0x55e5717c1d5d - std::sys_common::backtrace::__rust_begin_short_backtrace::h652c9e2663704700 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x55e5717c6538 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hd84fd5e0b5b1f45f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 33: 0x55e5717c6538 - as core::ops::function::FnOnce<()>>::call_once::he23556962a2ae14b [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 34: 0x55e5717c6538 - std::panicking::try::do_call::h67d4f93e1fbaa5f9 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 35: 0x55e5717c6538 - std::panicking::try::h396886e678db815e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 36: 0x55e5717c6538 - std::panic::catch_unwind::hc1d64dcecf0a00e0 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 37: 0x55e5717c6538 - std::thread::Builder::spawn_unchecked::{{closure}}::hc2644cf33cb61d8e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 38: 0x55e5717c6538 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4473c2c77b66963f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55e571819cc7 - as core::ops::function::FnOnce>::call_once::h6bff7798948b1075 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x55e571819cc7 - as core::ops::function::FnOnce>::call_once::hc2d25ac38f6b2342 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 41: 0x55e571819cc7 - std::sys::unix::thread::Thread::new::thread_start::hbba5bc368baac205 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys/unix/thread.rs:74:17 [INFO] [stdout] 42: 0x7faacb5a8609 - start_thread [INFO] [stdout] 43: 0x7faacb37a293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] compile_fails [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 19.14s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test compile_tests' [INFO] running `Command { std: "docker" "inspect" "46094148011ab03b0fb84fbc779a430090baa1fbe6e82fc15437e76ee2e588d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46094148011ab03b0fb84fbc779a430090baa1fbe6e82fc15437e76ee2e588d4", kill_on_drop: false }` [INFO] [stdout] 46094148011ab03b0fb84fbc779a430090baa1fbe6e82fc15437e76ee2e588d4