[INFO] fetching crate mutually_exclusive_features 0.1.0... [INFO] testing mutually_exclusive_features-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate mutually_exclusive_features 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate mutually_exclusive_features 0.1.0 [INFO] finished tweaking crates.io crate mutually_exclusive_features 0.1.0 [INFO] tweaked toml for crates.io crate mutually_exclusive_features 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mutually_exclusive_features 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mutually_exclusive_features 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b5e4aa2fe211b2fb4ab921d55d0e75e70434478f1305784d2262cd94cb4ad83 [INFO] running `Command { std: "docker" "start" "-a" "8b5e4aa2fe211b2fb4ab921d55d0e75e70434478f1305784d2262cd94cb4ad83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b5e4aa2fe211b2fb4ab921d55d0e75e70434478f1305784d2262cd94cb4ad83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b5e4aa2fe211b2fb4ab921d55d0e75e70434478f1305784d2262cd94cb4ad83", kill_on_drop: false }` [INFO] [stdout] 8b5e4aa2fe211b2fb4ab921d55d0e75e70434478f1305784d2262cd94cb4ad83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b4bfd35d9d34cb1ffd259aa64b799fe03549abcd10a1d5719a85381866bf7fe [INFO] running `Command { std: "docker" "start" "-a" "6b4bfd35d9d34cb1ffd259aa64b799fe03549abcd10a1d5719a85381866bf7fe", kill_on_drop: false }` [INFO] [stderr] Compiling mutually_exclusive_features v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "6b4bfd35d9d34cb1ffd259aa64b799fe03549abcd10a1d5719a85381866bf7fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b4bfd35d9d34cb1ffd259aa64b799fe03549abcd10a1d5719a85381866bf7fe", kill_on_drop: false }` [INFO] [stdout] 6b4bfd35d9d34cb1ffd259aa64b799fe03549abcd10a1d5719a85381866bf7fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1402370431ab391df0821e683740db685315f672420e457b81e49d6fd7b86ee [INFO] running `Command { std: "docker" "start" "-a" "f1402370431ab391df0821e683740db685315f672420e457b81e49d6fd7b86ee", kill_on_drop: false }` [INFO] [stderr] Compiling mutually_exclusive_features v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "f1402370431ab391df0821e683740db685315f672420e457b81e49d6fd7b86ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1402370431ab391df0821e683740db685315f672420e457b81e49d6fd7b86ee", kill_on_drop: false }` [INFO] [stdout] f1402370431ab391df0821e683740db685315f672420e457b81e49d6fd7b86ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ac574c5694931ff5bd1a93f9b6e6cae84c6b7fd4b3c524776a497e23fb47c941 [INFO] running `Command { std: "docker" "start" "-a" "ac574c5694931ff5bd1a93f9b6e6cae84c6b7fd4b3c524776a497e23fb47c941", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mutually_exclusive_features-4420da6ddbd2c662) [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] Doc-tests mutually_exclusive_features [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - exactly_one_of (line 71) ... ignored [INFO] [stdout] test src/lib.rs - none_or_one_of (line 16) ... ignored [INFO] [stdout] test src/lib.rs - exactly_one_of (line 65) ... FAILED [INFO] [stdout] test src/lib.rs - none_or_one_of (line 10) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - exactly_one_of (line 65) stdout ---- [INFO] [stdout] error: You must enable exactly one of `feature1`, `feature2`, `feature3` features! [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 6 | exactly_one_of!("feature1", "feature2", "feature3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `exactly_one_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `feature1` [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 6 | exactly_one_of!("feature1", "feature2", "feature3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `exactly_one_of` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `exactly_one_of` may come from an old version of the `mutually_exclusive_features` crate, try updating your dependency with `cargo update -p mutually_exclusive_features` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `exactly_one_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `feature2` [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 6 | exactly_one_of!("feature1", "feature2", "feature3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `exactly_one_of` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `exactly_one_of` may come from an old version of the `mutually_exclusive_features` crate, try updating your dependency with `cargo update -p mutually_exclusive_features` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `exactly_one_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `feature3` [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 6 | exactly_one_of!("feature1", "feature2", "feature3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `exactly_one_of` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `exactly_one_of` may come from an old version of the `mutually_exclusive_features` crate, try updating your dependency with `cargo update -p mutually_exclusive_features` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `exactly_one_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `feature1` [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 6 | exactly_one_of!("feature1", "feature2", "feature3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::none_or_one_of` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::none_or_one_of` may come from an old version of the `mutually_exclusive_features` crate, try updating your dependency with `cargo update -p mutually_exclusive_features` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::none_or_one_of` which comes from the expansion of the macro `exactly_one_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `feature2` [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 6 | exactly_one_of!("feature1", "feature2", "feature3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::none_or_one_of` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::none_or_one_of` may come from an old version of the `mutually_exclusive_features` crate, try updating your dependency with `cargo update -p mutually_exclusive_features` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::none_or_one_of` which comes from the expansion of the macro `exactly_one_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `feature1` [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 6 | exactly_one_of!("feature1", "feature2", "feature3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::none_or_one_of` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::none_or_one_of` may come from an old version of the `mutually_exclusive_features` crate, try updating your dependency with `cargo update -p mutually_exclusive_features` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::none_or_one_of` which comes from the expansion of the macro `exactly_one_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `feature3` [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 6 | exactly_one_of!("feature1", "feature2", "feature3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::none_or_one_of` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::none_or_one_of` may come from an old version of the `mutually_exclusive_features` crate, try updating your dependency with `cargo update -p mutually_exclusive_features` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::none_or_one_of` which comes from the expansion of the macro `exactly_one_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `feature2` [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 6 | exactly_one_of!("feature1", "feature2", "feature3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::none_or_one_of` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::none_or_one_of` may come from an old version of the `mutually_exclusive_features` crate, try updating your dependency with `cargo update -p mutually_exclusive_features` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::none_or_one_of` which comes from the expansion of the macro `exactly_one_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `feature3` [INFO] [stdout] --> src/lib.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 6 | exactly_one_of!("feature1", "feature2", "feature3"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `$crate::none_or_one_of` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `$crate::none_or_one_of` may come from an old version of the `mutually_exclusive_features` crate, try updating your dependency with `cargo update -p mutually_exclusive_features` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `$crate::none_or_one_of` which comes from the expansion of the macro `exactly_one_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - exactly_one_of (line 65) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ac574c5694931ff5bd1a93f9b6e6cae84c6b7fd4b3c524776a497e23fb47c941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac574c5694931ff5bd1a93f9b6e6cae84c6b7fd4b3c524776a497e23fb47c941", kill_on_drop: false }` [INFO] [stdout] ac574c5694931ff5bd1a93f9b6e6cae84c6b7fd4b3c524776a497e23fb47c941