[INFO] fetching crate structconf 0.4.0... [INFO] testing structconf-0.4.0 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate structconf 0.4.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate structconf 0.4.0 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-11/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dlv-list v0.2.2 [INFO] [stderr] Downloaded syn v1.0.41 [INFO] [stderr] Downloaded libc v0.2.77 [INFO] [stderr] Downloaded ordered-multimap v0.2.4 [INFO] [stderr] Downloaded structconf_derive v0.4.0 [INFO] [stderr] Downloaded rust-ini v0.15.3 [INFO] [stderr] Downloaded trybuild v1.0.34 [INFO] [stderr] Downloaded strum_macros v0.19.2 [INFO] [stderr] Downloaded strum v0.19.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e9dec2c63d0217d881187b54c924a2ff7f34e35edbc1a542f8dace6338ed81a [INFO] running `Command { std: "docker" "start" "-a" "2e9dec2c63d0217d881187b54c924a2ff7f34e35edbc1a542f8dace6338ed81a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e9dec2c63d0217d881187b54c924a2ff7f34e35edbc1a542f8dace6338ed81a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e9dec2c63d0217d881187b54c924a2ff7f34e35edbc1a542f8dace6338ed81a", kill_on_drop: false }` [INFO] [stdout] 2e9dec2c63d0217d881187b54c924a2ff7f34e35edbc1a542f8dace6338ed81a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9755627c74a27eb717c35757f07711a21b0734fa5d79d6af2b87d982d9fb195 [INFO] running `Command { std: "docker" "start" "-a" "a9755627c74a27eb717c35757f07711a21b0734fa5d79d6af2b87d982d9fb195", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [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 strsim v0.9.3 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [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 darling_macro v0.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [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 17.46s [INFO] running `Command { std: "docker" "inspect" "a9755627c74a27eb717c35757f07711a21b0734fa5d79d6af2b87d982d9fb195", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9755627c74a27eb717c35757f07711a21b0734fa5d79d6af2b87d982d9fb195", kill_on_drop: false }` [INFO] [stdout] a9755627c74a27eb717c35757f07711a21b0734fa5d79d6af2b87d982d9fb195 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e42138cf11f443873effc95ee2fb3392d94427ca446d189178aa72b05be52a8 [INFO] running `Command { std: "docker" "start" "-a" "1e42138cf11f443873effc95ee2fb3392d94427ca446d189178aa72b05be52a8", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [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 dirs v3.0.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling strum_macros v0.19.2 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling serde_json v1.0.57 [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 18.15s [INFO] running `Command { std: "docker" "inspect" "1e42138cf11f443873effc95ee2fb3392d94427ca446d189178aa72b05be52a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e42138cf11f443873effc95ee2fb3392d94427ca446d189178aa72b05be52a8", kill_on_drop: false }` [INFO] [stdout] 1e42138cf11f443873effc95ee2fb3392d94427ca446d189178aa72b05be52a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0d4175d7a5f241ea37866ad178834f2f8eea67463ffed48275abab0521076bbd [INFO] running `Command { std: "docker" "start" "-a" "0d4175d7a5f241ea37866ad178834f2f8eea67463ffed48275abab0521076bbd", 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-c384c2168f68d50b) [INFO] [stdout] [INFO] [stderr] Running tests/compile_tests.rs (/opt/rustwide/target/debug/deps/compile_tests-3157839ca5ba9377) [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 1 test [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [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 bitflags v1.2.1 [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 cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [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 rand_core v0.5.1 [INFO] [stderr] Compiling dirs v3.0.2 [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 darling_macro v0.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling strum_macros v0.19.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling structconf_derive v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.25 [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 19.07s [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: 0x55c7d6229bc0 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55c7d6229bc0 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55c7d6229bc0 - std[77c0456e0eb29f0c]::sys_common::backtrace::_print_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55c7d6229bc0 - ::fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] error: test failed, to rerun pass '--test compile_tests' [INFO] [stdout] 4: 0x55c7d624e40c - core[ee1ca6415511a9c4]::fmt::write [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x55c7d6226135 - as std[77c0456e0eb29f0c]::io::Write>::write_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x55c7d622befb - std[77c0456e0eb29f0c]::sys_common::backtrace::_print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55c7d622befb - std[77c0456e0eb29f0c]::sys_common::backtrace::print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55c7d622befb - std[77c0456e0eb29f0c]::panicking::default_hook::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55c7d622ba0c - std[77c0456e0eb29f0c]::panicking::default_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55c7d622c5a1 - std[77c0456e0eb29f0c]::panicking::rust_panic_with_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55c7d622c0a7 - std[77c0456e0eb29f0c]::panicking::begin_panic_handler::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55c7d622a0bc - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55c7d622c009 - rust_begin_unwind [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55c7d5fdbd9b - std[77c0456e0eb29f0c]::panicking::begin_panic_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:457:5 [INFO] [stdout] 15: 0x55c7d60520b5 - ::run [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.34/src/run.rs:60:13 [INFO] [stdout] 16: 0x55c7d60565a2 - ::drop [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.34/src/lib.rs:285:13 [INFO] [stdout] 17: 0x55c7d5fddc67 - core[ee1ca6415511a9c4]::ptr::drop_in_place:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ptr/mod.rs:192:1 [INFO] [stdout] 18: 0x55c7d5fddbc5 - compile_tests[45ffca3a9c828682]::compile_fails [INFO] [stdout] at /opt/rustwide/workdir/tests/compile_tests.rs:10:1 [INFO] [stdout] 19: 0x55c7d5fddb4a - compile_tests[45ffca3a9c828682]::compile_fails::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/tests/compile_tests.rs:6:1 [INFO] [stdout] 20: 0x55c7d5fdddbe - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55c7d61ff6a3 - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55c7d61ff6a3 - test[eeb9024d9ac7bc83]::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:577:5 [INFO] [stdout] 23: 0x55c7d61fe16c - + core[ee1ca6415511a9c4]::marker::Send> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 24: 0x55c7d61fe16c - + core[ee1ca6415511a9c4]::marker::Send>> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 25: 0x55c7d61fe16c - std[77c0456e0eb29f0c]::panicking::try::do_call:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 26: 0x55c7d61fe16c - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe + core[ee1ca6415511a9c4]::marker::Send>>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 27: 0x55c7d61fe16c - std[77c0456e0eb29f0c]::panic::catch_unwind:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 28: 0x55c7d61fe16c - test[eeb9024d9ac7bc83]::run_test_in_process [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:600:18 [INFO] [stdout] 29: 0x55c7d61fe16c - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x55c7d61dde32 - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x55c7d61dde32 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x55c7d61de718 - ::spawn_unchecked::::{closure#0}::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 33: 0x55c7d61de718 - ::spawn_unchecked::{closure#0}::{closure#0}> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 34: 0x55c7d61de718 - std[77c0456e0eb29f0c]::panicking::try::do_call::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 35: 0x55c7d61de718 - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe<::spawn_unchecked::{closure#0}::{closure#0}>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 36: 0x55c7d61de718 - std[77c0456e0eb29f0c]::panic::catch_unwind::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 37: 0x55c7d61de718 - ::spawn_unchecked::::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 38: 0x55c7d61de718 - <::spawn_unchecked::{closure#0} as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55c7d62319e7 - > as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 40: 0x55c7d62319e7 - >> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 41: 0x55c7d62319e7 - ::new::thread_start [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 42: 0x7fcc00a67609 - start_thread [INFO] [stdout] 43: 0x7fcc00839293 - 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 31.89s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0d4175d7a5f241ea37866ad178834f2f8eea67463ffed48275abab0521076bbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d4175d7a5f241ea37866ad178834f2f8eea67463ffed48275abab0521076bbd", kill_on_drop: false }` [INFO] [stdout] 0d4175d7a5f241ea37866ad178834f2f8eea67463ffed48275abab0521076bbd