[INFO] fetching crate structconf 0.4.0... [INFO] testing structconf-0.4.0 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate structconf 0.4.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate structconf 0.4.0 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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-4/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dlv-list v0.2.2 [INFO] [stderr] Downloaded strum v0.19.2 [INFO] [stderr] Downloaded rust-ini v0.15.3 [INFO] [stderr] Downloaded strum_macros v0.19.2 [INFO] [stderr] Downloaded ordered-multimap v0.2.4 [INFO] [stderr] Downloaded structconf_derive v0.4.0 [INFO] [stderr] Downloaded trybuild v1.0.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3365483ba7b1c074a81f113b5656322bd236b32abb2f98e778c6781e6a862c0a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3365483ba7b1c074a81f113b5656322bd236b32abb2f98e778c6781e6a862c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3365483ba7b1c074a81f113b5656322bd236b32abb2f98e778c6781e6a862c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3365483ba7b1c074a81f113b5656322bd236b32abb2f98e778c6781e6a862c0a", kill_on_drop: false }` [INFO] [stdout] 3365483ba7b1c074a81f113b5656322bd236b32abb2f98e778c6781e6a862c0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a6d399ddbf56d77a55068f51e3a0d11d3743b80fce7eb01a2b447f620514403a [INFO] running `Command { std: "docker" "start" "-a" "a6d399ddbf56d77a55068f51e3a0d11d3743b80fce7eb01a2b447f620514403a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling vec_map v0.8.2 [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 getrandom v0.1.15 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [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 39.17s [INFO] running `Command { std: "docker" "inspect" "a6d399ddbf56d77a55068f51e3a0d11d3743b80fce7eb01a2b447f620514403a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6d399ddbf56d77a55068f51e3a0d11d3743b80fce7eb01a2b447f620514403a", kill_on_drop: false }` [INFO] [stdout] a6d399ddbf56d77a55068f51e3a0d11d3743b80fce7eb01a2b447f620514403a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12c4fa358be0f6d0b1be387d78fb51d95961e93fbd6a21496d1ba9c03118906e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "12c4fa358be0f6d0b1be387d78fb51d95961e93fbd6a21496d1ba9c03118906e", 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 dissimilar v1.0.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling strum v0.19.2 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling strum_macros v0.19.2 [INFO] [stderr] Compiling dirs v3.0.1 [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 26.60s [INFO] running `Command { std: "docker" "inspect" "12c4fa358be0f6d0b1be387d78fb51d95961e93fbd6a21496d1ba9c03118906e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12c4fa358be0f6d0b1be387d78fb51d95961e93fbd6a21496d1ba9c03118906e", kill_on_drop: false }` [INFO] [stdout] 12c4fa358be0f6d0b1be387d78fb51d95961e93fbd6a21496d1ba9c03118906e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e6b581e5270717a462fecf59819521c4135eb5ba7e782ff17267a2d3174e159a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e6b581e5270717a462fecf59819521c4135eb5ba7e782ff17267a2d3174e159a", 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-4bdf426cb5fdb015) [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-27129e5f799158fa) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [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 bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling strum v0.19.5 [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.26 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling structconf_derive v0.4.0 [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 42.86s [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: 0x563c8a2cf260 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x563c8a2cf260 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x563c8a2cf260 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x563c8a2cf260 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x563c8a2f375c - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x563c8a2cb7f5 - std::io::Write::write_fmt::h65d36b96410d80d7 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x563c8a2d158b - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x563c8a2d158b - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x563c8a2d158b - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x563c8a2d109c - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x563c8a2d1c54 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x563c8a2d1737 - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x563c8a2cf73c - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x563c8a2d1699 - rust_begin_unwind [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x563c8a089c9b - std::panicking::begin_panic_fmt::hf70e90a601287d8b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:457:5 [INFO] [stdout] 15: 0x563c8a09aae5 - trybuild::run::::run::h3280410ba2ccb219 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.34/src/run.rs:60:13 [INFO] [stdout] 16: 0x563c8a09efc4 - ::drop::h8914e2c302c609aa [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.34/src/lib.rs:285:13 [INFO] [stdout] 17: 0x563c8a08bab7 - core::ptr::drop_in_place::h29cdee56edc4aa6a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ptr/mod.rs:192:1 [INFO] [stdout] 18: 0x563c8a08c4b5 - compile_tests::compile_fails::hbade7bcaf1d38304 [INFO] [stdout] at /opt/rustwide/workdir/tests/compile_tests.rs:10:1 [INFO] [stdout] 19: 0x563c8a08c43a - compile_tests::compile_fails::{{closure}}::hff341df2b7cb3254 [INFO] [stdout] at /opt/rustwide/workdir/tests/compile_tests.rs:6:1 [INFO] [stdout] 20: 0x563c8a08ba4e - core::ops::function::FnOnce::call_once::h5a7cd8df3009a943 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x563c8a2b1fc3 - core::ops::function::FnOnce::call_once::h227fa683a5745bd3 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x563c8a2b1fc3 - test::__rust_begin_short_backtrace::h3a193bd570ada00a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:578:5 [INFO] [stdout] 23: 0x563c8a2b0a38 - as core::ops::function::FnOnce>::call_once::h262d2f411717179a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 24: 0x563c8a2b0a38 - as core::ops::function::FnOnce<()>>::call_once::hfec00caec3e52a7b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 25: 0x563c8a2b0a38 - std::panicking::try::do_call::ha5f42e76ffda569d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 26: 0x563c8a2b0a38 - std::panicking::try::h53f36df0935b9500 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 27: 0x563c8a2b0a38 - std::panic::catch_unwind::h5a497f74b0ce006f [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 28: 0x563c8a2b0a38 - test::run_test_in_process::hab0aead337f48a88 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:601:18 [INFO] [stdout] 29: 0x563c8a2b0a38 - test::run_test::run_test_inner::{{closure}}::h632c383164d4cba2 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:493:39 [INFO] [stdout] 30: 0x563c8a27f1bd - test::run_test::run_test_inner::{{closure}}::h7c4b3612891a4b58 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:520:37 [INFO] [stdout] 31: 0x563c8a27f1bd - std::sys_common::backtrace::__rust_begin_short_backtrace::habf7d8a08419d00e [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x563c8a2838e8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h3acba502e2068204 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 33: 0x563c8a2838e8 - as core::ops::function::FnOnce<()>>::call_once::h526ef819c1964a35 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 34: 0x563c8a2838e8 - std::panicking::try::do_call::hc0b5663d6373cec8 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 35: 0x563c8a2838e8 - std::panicking::try::ha9007ede9d35dcd6 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 36: 0x563c8a2838e8 - std::panic::catch_unwind::hf60d56329ebbb81c [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 37: 0x563c8a2838e8 - std::thread::Builder::spawn_unchecked::{{closure}}::hb1722d498f4ce777 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 38: 0x563c8a2838e8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h15eb01325730c962 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x563c8a2d7157 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x563c8a2d7157 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 41: 0x563c8a2d7157 - std::sys::unix::thread::Thread::new::thread_start::hb71b17934c5f5e68 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys/unix/thread.rs:91:17 [INFO] [stdout] 42: 0x7f4a0af68609 - start_thread [INFO] [stdout] 43: 0x7f4a0ad3a293 - 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 59.79s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test compile_tests' [INFO] running `Command { std: "docker" "inspect" "e6b581e5270717a462fecf59819521c4135eb5ba7e782ff17267a2d3174e159a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6b581e5270717a462fecf59819521c4135eb5ba7e782ff17267a2d3174e159a", kill_on_drop: false }` [INFO] [stdout] e6b581e5270717a462fecf59819521c4135eb5ba7e782ff17267a2d3174e159a