[INFO] fetching crate structconf 0.4.0... [INFO] testing structconf-0.4.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate structconf 0.4.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate structconf 0.4.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-5/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4916a4c40a21755fda7e3c4b7b2784d861e45fa81b59a1177a04224ccb4298f [INFO] running `Command { std: "docker" "start" "-a" "b4916a4c40a21755fda7e3c4b7b2784d861e45fa81b59a1177a04224ccb4298f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4916a4c40a21755fda7e3c4b7b2784d861e45fa81b59a1177a04224ccb4298f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4916a4c40a21755fda7e3c4b7b2784d861e45fa81b59a1177a04224ccb4298f", kill_on_drop: false }` [INFO] [stdout] b4916a4c40a21755fda7e3c4b7b2784d861e45fa81b59a1177a04224ccb4298f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c72d81b434f14a617c267824563c456eb92ad4a5ae69610a009ebbbd1ec6658 [INFO] running `Command { std: "docker" "start" "-a" "4c72d81b434f14a617c267824563c456eb92ad4a5ae69610a009ebbbd1ec6658", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling hashbrown v0.7.2 [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 16.66s [INFO] running `Command { std: "docker" "inspect" "4c72d81b434f14a617c267824563c456eb92ad4a5ae69610a009ebbbd1ec6658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c72d81b434f14a617c267824563c456eb92ad4a5ae69610a009ebbbd1ec6658", kill_on_drop: false }` [INFO] [stdout] 4c72d81b434f14a617c267824563c456eb92ad4a5ae69610a009ebbbd1ec6658 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c37becf2727c58829c7ffe69bb897dc6e11c701f1857cfef1cb5d813b40166c3 [INFO] running `Command { std: "docker" "start" "-a" "c37becf2727c58829c7ffe69bb897dc6e11c701f1857cfef1cb5d813b40166c3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.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 trybuild v1.0.34 [INFO] [stderr] Compiling structconf v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 17.84s [INFO] running `Command { std: "docker" "inspect" "c37becf2727c58829c7ffe69bb897dc6e11c701f1857cfef1cb5d813b40166c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c37becf2727c58829c7ffe69bb897dc6e11c701f1857cfef1cb5d813b40166c3", kill_on_drop: false }` [INFO] [stdout] c37becf2727c58829c7ffe69bb897dc6e11c701f1857cfef1cb5d813b40166c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fe70cffcf0da97f70fe798c2325a0151a68f50206158862bdc556da699bd6230 [INFO] running `Command { std: "docker" "start" "-a" "fe70cffcf0da97f70fe798c2325a0151a68f50206158862bdc556da699bd6230", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/structconf-c384c2168f68d50b) [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-3157839ca5ba9377) [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 fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.9.3 [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 unicode-segmentation v1.7.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strum v0.19.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling hashbrown v0.7.2 [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.16s [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] [stderr] error: test failed, to rerun pass '--test compile_tests' [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: 0x5555e57c2bf0 - std::backtrace_rs::backtrace::libunwind::trace::h1037ca7e6eeef65c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x5555e57c2bf0 - std::backtrace_rs::backtrace::trace_unsynchronized::haaefac1bc3669450 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5555e57c2bf0 - std::sys_common::backtrace::_print_fmt::h863a6f5e6d995885 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5555e57c2bf0 - ::fmt::h767e17e1aa7df6a8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5555e57e741c - core::fmt::write::h7aa6cd0067dca82a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x5555e57bf295 - std::io::Write::write_fmt::h6f1a9b91376a1376 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x5555e57c4f0b - std::sys_common::backtrace::_print::h2769edb26a7eb606 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5555e57c4f0b - std::sys_common::backtrace::print::ha71f3549862b4cb6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5555e57c4f0b - std::panicking::default_hook::{{closure}}::h95488a3bade217f6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x5555e57c4a1c - std::panicking::default_hook::h290aa602c0fb11df [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x5555e57c55b1 - std::panicking::rust_panic_with_hook::hf32c4fa635e215f2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x5555e57c50b7 - std::panicking::begin_panic_handler::{{closure}}::h95197ccd88846f7a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x5555e57c30cc - std::sys_common::backtrace::__rust_end_short_backtrace::h7641df9566f7b7d0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x5555e57c5019 - rust_begin_unwind [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x5555e5574d9b - std::panicking::begin_panic_fmt::hdc39c0cc0031e534 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:457:5 [INFO] [stdout] 15: 0x5555e55eb0b5 - trybuild::run::::run::h5fd881ef57154ee5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.34/src/run.rs:60:13 [INFO] [stdout] 16: 0x5555e55ef5a2 - ::drop::h5d3bb6449d847970 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.34/src/lib.rs:285:13 [INFO] [stdout] 17: 0x5555e5576d07 - core::ptr::drop_in_place::h750e462b92162f70 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ptr/mod.rs:192:1 [INFO] [stdout] 18: 0x5555e5576bc5 - compile_tests::compile_fails::h40dbb8524e2cb377 [INFO] [stdout] at /opt/rustwide/workdir/tests/compile_tests.rs:10:1 [INFO] [stdout] 19: 0x5555e5576b4a - compile_tests::compile_fails::{{closure}}::hc4e9eb11610c1c75 [INFO] [stdout] at /opt/rustwide/workdir/tests/compile_tests.rs:6:1 [INFO] [stdout] 20: 0x5555e5576c5e - core::ops::function::FnOnce::call_once::h6cc2de699f693e29 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5555e57986c3 - core::ops::function::FnOnce::call_once::h673fbe3f96486fd2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5555e57986c3 - test::__rust_begin_short_backtrace::h8eedc24e104ef6a0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:577:5 [INFO] [stdout] 23: 0x5555e5797170 - as core::ops::function::FnOnce>::call_once::h028d0969d3f94d78 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 24: 0x5555e5797170 - as core::ops::function::FnOnce<()>>::call_once::h7634b01590b1722b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 25: 0x5555e5797170 - std::panicking::try::do_call::hf74f869706dec63b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 26: 0x5555e5797170 - std::panicking::try::hd0b7346ebfaaae44 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 27: 0x5555e5797170 - std::panic::catch_unwind::hdbf6904f7c253080 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 28: 0x5555e5797170 - test::run_test_in_process::h87e95a014ac91067 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:600:18 [INFO] [stdout] 29: 0x5555e5797170 - test::run_test::run_test_inner::{{closure}}::hdd69ae44aaab3470 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x5555e5772442 - test::run_test::run_test_inner::{{closure}}::hc159305704d5b68a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x5555e5772442 - std::sys_common::backtrace::__rust_begin_short_backtrace::h33d8a8ad5f788fcc [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x5555e57761b8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h6181011ddf4b8353 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 33: 0x5555e57761b8 - as core::ops::function::FnOnce<()>>::call_once::hf924ea0a0f25a1c0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 34: 0x5555e57761b8 - std::panicking::try::do_call::hd58061792d05fa5c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 35: 0x5555e57761b8 - std::panicking::try::h3080747417e5af37 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 36: 0x5555e57761b8 - std::panic::catch_unwind::hfeba515dcf36cb66 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 37: 0x5555e57761b8 - std::thread::Builder::spawn_unchecked::{{closure}}::h29d57a62faff749b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 38: 0x5555e57761b8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h44709d312d2a9c59 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x5555e57ca9f7 - as core::ops::function::FnOnce>::call_once::h902e2cf6655e1b0c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 40: 0x5555e57ca9f7 - as core::ops::function::FnOnce>::call_once::h893a5452154309d1 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 41: 0x5555e57ca9f7 - std::sys::unix::thread::Thread::new::thread_start::hdedcb57c96ab37cd [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 42: 0x7ffa84d7d609 - start_thread [INFO] [stdout] 43: 0x7ffa84b4f293 - 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.90s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fe70cffcf0da97f70fe798c2325a0151a68f50206158862bdc556da699bd6230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe70cffcf0da97f70fe798c2325a0151a68f50206158862bdc556da699bd6230", kill_on_drop: false }` [INFO] [stdout] fe70cffcf0da97f70fe798c2325a0151a68f50206158862bdc556da699bd6230