[INFO] fetching crate core_extensions 1.5.3... [INFO] checking core_extensions-1.5.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate core_extensions 1.5.3 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate core_extensions 1.5.3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate core_extensions 1.5.3 [INFO] finished tweaking crates.io crate core_extensions 1.5.3 [INFO] tweaked toml for crates.io crate core_extensions 1.5.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 938db3b598d99d9507264684507995ba3ece374c433b1f7723599f187502cf18 [INFO] running `Command { std: "docker" "start" "-a" "938db3b598d99d9507264684507995ba3ece374c433b1f7723599f187502cf18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "938db3b598d99d9507264684507995ba3ece374c433b1f7723599f187502cf18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "938db3b598d99d9507264684507995ba3ece374c433b1f7723599f187502cf18", kill_on_drop: false }` [INFO] [stdout] 938db3b598d99d9507264684507995ba3ece374c433b1f7723599f187502cf18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db320249a953e8bd452c53991ce3a829dcfc3e026bc24544f4ef9e0dbebc6e9a [INFO] running `Command { std: "docker" "start" "-a" "db320249a953e8bd452c53991ce3a829dcfc3e026bc24544f4ef9e0dbebc6e9a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking core_extensions v1.5.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `rust_1_42` [INFO] [stdout] --> src_core_extensions/utils.rs:193:11 [INFO] [stdout] | [INFO] [stdout] 193 | #[cfg(feature = "rust_1_42")] [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rust_1_46"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `__test`, `all_items`, `all_items_no_derive`, `alloc`, `bools`, `callable`, `collections`, `const_default`, `const_val`, `core_extensions_proc_macros`, `derive`, `docsrs`, `enable_proc_macro_crate`, `generics_parsing`, `integers`, `item_parsing`, `iterators`, `macro_utils`, `marker_type`, `on_drop`, `option_result`, `phantom`, `rust_1_46`, `rust_1_51`, `rust_1_59`, `rust_latest_stable`, `self_ops`, `serde`, `serde_`, `slices`, `std`, `strings`, `track_caller`, `transparent_newtype`, and `type_asserts` and 3 more [INFO] [stdout] = help: consider adding `rust_1_42` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rust_1_42` [INFO] [stdout] --> src_core_extensions/utils.rs:197:15 [INFO] [stdout] | [INFO] [stdout] 197 | #[cfg(not(feature = "rust_1_42"))] [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rust_1_46"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `__test`, `all_items`, `all_items_no_derive`, `alloc`, `bools`, `callable`, `collections`, `const_default`, `const_val`, `core_extensions_proc_macros`, `derive`, `docsrs`, `enable_proc_macro_crate`, `generics_parsing`, `integers`, `item_parsing`, `iterators`, `macro_utils`, `marker_type`, `on_drop`, `option_result`, `phantom`, `rust_1_46`, `rust_1_51`, `rust_1_59`, `rust_latest_stable`, `self_ops`, `serde`, `serde_`, `slices`, `std`, `strings`, `track_caller`, `transparent_newtype`, and `type_asserts` and 3 more [INFO] [stdout] = help: consider adding `rust_1_42` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: tests must be run with the "__test" feature [INFO] [stdout] --> src_core_extensions/lib.rs:553:1 [INFO] [stdout] | [INFO] [stdout] 553 | compile_error! { "tests must be run with the \"__test\" feature" } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `test_utils` [INFO] [stdout] --> src_core_extensions/utils.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | use test_utils::DecOnDrop; [INFO] [stdout] | ^^^^^^^^^^ you might be missing crate `test_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src_core_extensions/lib.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `__test` feature [INFO] [stdout] --> src_core_extensions/lib.rs:523:7 [INFO] [stdout] | [INFO] [stdout] 523 | #[cfg(feature = "__test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing the `test_utils` crate [INFO] [stdout] --> src_core_extensions/lib.rs:327:1 [INFO] [stdout] | [INFO] [stdout] 327 + extern crate test_utils; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rust_1_42` [INFO] [stdout] --> src_core_extensions/utils.rs:193:11 [INFO] [stdout] | [INFO] [stdout] 193 | #[cfg(feature = "rust_1_42")] [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rust_1_46"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `__test`, `all_items`, `all_items_no_derive`, `alloc`, `bools`, `callable`, `collections`, `const_default`, `const_val`, `core_extensions_proc_macros`, `derive`, `docsrs`, `enable_proc_macro_crate`, `generics_parsing`, `integers`, `item_parsing`, `iterators`, `macro_utils`, `marker_type`, `on_drop`, `option_result`, `phantom`, `rust_1_46`, `rust_1_51`, `rust_1_59`, `rust_latest_stable`, `self_ops`, `serde`, `serde_`, `slices`, `std`, `strings`, `track_caller`, `transparent_newtype`, and `type_asserts` and 3 more [INFO] [stdout] = help: consider adding `rust_1_42` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `rust_1_42` [INFO] [stdout] --> src_core_extensions/utils.rs:197:15 [INFO] [stdout] | [INFO] [stdout] 197 | #[cfg(not(feature = "rust_1_42"))] [INFO] [stdout] | ^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"rust_1_46"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `__test`, `all_items`, `all_items_no_derive`, `alloc`, `bools`, `callable`, `collections`, `const_default`, `const_val`, `core_extensions_proc_macros`, `derive`, `docsrs`, `enable_proc_macro_crate`, `generics_parsing`, `integers`, `item_parsing`, `iterators`, `macro_utils`, `marker_type`, `on_drop`, `option_result`, `phantom`, `rust_1_46`, `rust_1_51`, `rust_1_59`, `rust_latest_stable`, `self_ops`, `serde`, `serde_`, `slices`, `std`, `strings`, `track_caller`, `transparent_newtype`, and `type_asserts` and 3 more [INFO] [stdout] = help: consider adding `rust_1_42` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `core_extensions` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "db320249a953e8bd452c53991ce3a829dcfc3e026bc24544f4ef9e0dbebc6e9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db320249a953e8bd452c53991ce3a829dcfc3e026bc24544f4ef9e0dbebc6e9a", kill_on_drop: false }` [INFO] [stdout] db320249a953e8bd452c53991ce3a829dcfc3e026bc24544f4ef9e0dbebc6e9a