[INFO] fetching crate structconf 0.4.0... [INFO] testing structconf-0.4.0 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate structconf 0.4.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate structconf 0.4.0 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-15/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" "+beta-2021-09-08" "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-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb2dfa55e6e61ee252c4f2edd8290e11eae2d406008d79b916b36b2d5569533e [INFO] running `Command { std: "docker" "start" "-a" "bb2dfa55e6e61ee252c4f2edd8290e11eae2d406008d79b916b36b2d5569533e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb2dfa55e6e61ee252c4f2edd8290e11eae2d406008d79b916b36b2d5569533e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb2dfa55e6e61ee252c4f2edd8290e11eae2d406008d79b916b36b2d5569533e", kill_on_drop: false }` [INFO] [stdout] bb2dfa55e6e61ee252c4f2edd8290e11eae2d406008d79b916b36b2d5569533e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a5dd7fa4a7c80a447fd7fdd3b369b92bda937aa834fd152c7bc144681723fd1 [INFO] running `Command { std: "docker" "start" "-a" "4a5dd7fa4a7c80a447fd7fdd3b369b92bda937aa834fd152c7bc144681723fd1", 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 ppv-lite86 v0.2.9 [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 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 11.47s [INFO] running `Command { std: "docker" "inspect" "4a5dd7fa4a7c80a447fd7fdd3b369b92bda937aa834fd152c7bc144681723fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a5dd7fa4a7c80a447fd7fdd3b369b92bda937aa834fd152c7bc144681723fd1", kill_on_drop: false }` [INFO] [stdout] 4a5dd7fa4a7c80a447fd7fdd3b369b92bda937aa834fd152c7bc144681723fd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dabd7305d0282dae65a0f0e93179b0638e8c141238f772bd219871441cae3e5 [INFO] running `Command { std: "docker" "start" "-a" "0dabd7305d0282dae65a0f0e93179b0638e8c141238f772bd219871441cae3e5", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling glob v0.3.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 52.52s [INFO] running `Command { std: "docker" "inspect" "0dabd7305d0282dae65a0f0e93179b0638e8c141238f772bd219871441cae3e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dabd7305d0282dae65a0f0e93179b0638e8c141238f772bd219871441cae3e5", kill_on_drop: false }` [INFO] [stdout] 0dabd7305d0282dae65a0f0e93179b0638e8c141238f772bd219871441cae3e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 72367161e7b8e295fd45ac09c1d53fe5b13dd0753dd24b6f61146a1a753a03d8 [INFO] running `Command { std: "docker" "start" "-a" "72367161e7b8e295fd45ac09c1d53fe5b13dd0753dd24b6f61146a1a753a03d8", 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-b40c659b3eb91704) [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-2490809f0e6f25ff) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [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 hashbrown v0.7.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling dlv-list v0.2.2 [INFO] [stderr] Compiling ordered-multimap v0.2.4 [INFO] [stderr] Compiling rust-ini v0.15.3 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling strum_macros v0.19.2 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling structconf_derive v0.4.0 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling structconf v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling structconf-tests v0.0.0 (/opt/rustwide/target/tests/structconf) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.60s [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: 0x55d03fa4f4fc - std::backtrace_rs::backtrace::libunwind::trace::h51faa62df48810e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55d03fa4f4fc - std::backtrace_rs::backtrace::trace_unsynchronized::h91de4d8e16d607e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55d03fa4f4fc - std::sys_common::backtrace::_print_fmt::h71b0935f97e4322c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55d03fa4f4fc - ::fmt::h9a78218788c14e18 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55d03fa7463c - core::fmt::write::h3381b3176fe2b3d3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/fmt/mod.rs:1150:17 [INFO] [stdout] 5: 0x55d03fa4b425 - std::io::Write::write_fmt::hb6383f24fe197d3c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/io/mod.rs:1667:15 [INFO] [stdout] 6: 0x55d03fa511b0 - std::sys_common::backtrace::_print::h4b77abc4d907ed0e [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55d03fa511b0 - std::sys_common::backtrace::print::hb170c60b542377ad [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55d03fa511b0 - std::panicking::default_hook::{{closure}}::h12bbda9af8901ee3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:210:50 [INFO] [stdout] 9: 0x55d03fa50da2 - std::panicking::default_hook::h8c6c66d3f3ba6768 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:224:9 [INFO] [stdout] 10: 0x55d03fa51864 - std::panicking::rust_panic_with_hook::h36f2fa0bb09f4069 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:624:17 [INFO] [stdout] 11: 0x55d03fa51340 - std::panicking::begin_panic_handler::{{closure}}::h9c42b65a42d06a7a [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:521:13 [INFO] [stdout] 12: 0x55d03fa4f9c4 - std::sys_common::backtrace::__rust_end_short_backtrace::hc791bddfe31e532c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55d03fa512a9 - rust_begin_unwind [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:517:5 [INFO] [stdout] 14: 0x55d03f801f3b - std::panicking::begin_panic_fmt::h32ac317c038a272d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:460:5 [INFO] [stdout] 15: 0x55d03f81656e - trybuild::run::::run::h927d796d00b5182f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.34/src/run.rs:60:13 [INFO] [stdout] 16: 0x55d03f81a944 - ::drop::h5661831a36d33390 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.34/src/lib.rs:285:13 [INFO] [stdout] 17: 0x55d03f803e67 - core::ptr::drop_in_place::hed696ac91f16d3ed [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 18: 0x55d03f803cb5 - compile_tests::compile_fails::h1c9f04d928a21ceb [INFO] [stdout] at /opt/rustwide/workdir/tests/compile_tests.rs:10:1 [INFO] [stdout] 19: 0x55d03f803c3a - compile_tests::compile_fails::{{closure}}::hb94516dabe678747 [INFO] [stdout] at /opt/rustwide/workdir/tests/compile_tests.rs:6:1 [INFO] [stdout] 20: 0x55d03f803e0e - core::ops::function::FnOnce::call_once::hb6d9d6fbb3481e58 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55d03fa2ca23 - core::ops::function::FnOnce::call_once::h61555a204318cc58 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55d03fa2ca23 - test::__rust_begin_short_backtrace::h8331e7b1cc7a6e62 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:578:5 [INFO] [stdout] 23: 0x55d03fa2b4a8 - as core::ops::function::FnOnce>::call_once::h98582e597fa7f145 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 24: 0x55d03fa2b4a8 - as core::ops::function::FnOnce<()>>::call_once::h38fa7a0826ecff45 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55d03fa2b4a8 - std::panicking::try::do_call::h5b27d1cfffaa9f87 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 26: 0x55d03fa2b4a8 - std::panicking::try::h86f7124b3264bcbe [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 27: 0x55d03fa2b4a8 - std::panic::catch_unwind::h42dadf3598df7528 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 28: 0x55d03fa2b4a8 - test::run_test_in_process::h9d4b7510f0910050 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:601:18 [INFO] [stdout] 29: 0x55d03fa2b4a8 - test::run_test::run_test_inner::{{closure}}::h9b17f1fd181fe294 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:493:39 [INFO] [stdout] 30: 0x55d03f9f8ffe - test::run_test::run_test_inner::{{closure}}::h476f9211dfec6075 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:520:37 [INFO] [stdout] 31: 0x55d03f9f8ffe - std::sys_common::backtrace::__rust_begin_short_backtrace::h5c2db6945645950d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x55d03f9fd898 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h791169ea9ba5492d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 33: 0x55d03f9fd898 - as core::ops::function::FnOnce<()>>::call_once::he930357ede3f4b4d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55d03f9fd898 - std::panicking::try::do_call::h0de4b1dd08a9aa80 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 35: 0x55d03f9fd898 - std::panicking::try::hf5b5c530df698d97 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 36: 0x55d03f9fd898 - std::panic::catch_unwind::hed97078f17dbf191 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 37: 0x55d03f9fd898 - std::thread::Builder::spawn_unchecked::{{closure}}::h2e673950929cba93 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 38: 0x55d03f9fd898 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8e18ddd18a52f010 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55d03fa57043 - as core::ops::function::FnOnce>::call_once::hbbbb32ef11ea0ad2 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 40: 0x55d03fa57043 - as core::ops::function::FnOnce>::call_once::h3b8ef23699fc5385 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 41: 0x55d03fa57043 - std::sys::unix::thread::Thread::new::thread_start::ha57f5cba35f709b7 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 42: 0x7f51133a9609 - start_thread [INFO] [stdout] 43: 0x7f511317b293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] compile_fails [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 19.66s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test compile_tests' [INFO] running `Command { std: "docker" "inspect" "72367161e7b8e295fd45ac09c1d53fe5b13dd0753dd24b6f61146a1a753a03d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72367161e7b8e295fd45ac09c1d53fe5b13dd0753dd24b6f61146a1a753a03d8", kill_on_drop: false }` [INFO] [stdout] 72367161e7b8e295fd45ac09c1d53fe5b13dd0753dd24b6f61146a1a753a03d8