[INFO] fetching crate core_extensions 1.5.3... [INFO] checking core_extensions-1.5.3 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate core_extensions 1.5.3 into /workspace/builds/worker-7-tc1/source [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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate core_extensions 1.5.3 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded core_extensions_proc_macros v1.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa882dd6b6a6b3bed170807a24143b5a1a0a1a32a56de58947880ffec4a5d932 [INFO] running `Command { std: "docker" "start" "-a" "fa882dd6b6a6b3bed170807a24143b5a1a0a1a32a56de58947880ffec4a5d932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa882dd6b6a6b3bed170807a24143b5a1a0a1a32a56de58947880ffec4a5d932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa882dd6b6a6b3bed170807a24143b5a1a0a1a32a56de58947880ffec4a5d932", kill_on_drop: false }` [INFO] [stdout] fa882dd6b6a6b3bed170807a24143b5a1a0a1a32a56de58947880ffec4a5d932 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6121daa442fd0a89d70cb1397550a2fdd872de935b934b15e4b7004e63df3f2a [INFO] running `Command { std: "docker" "start" "-a" "6121daa442fd0a89d70cb1397550a2fdd872de935b934b15e4b7004e63df3f2a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking static_assertions v1.1.0 [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] 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] | ^^^^^^^^^^ use of unresolved module or unlinked 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: if you wanted to use a crate named `test_utils`, use `cargo add test_utils` to add it to your `Cargo.toml` and import it in your code [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] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `core_extensions` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6121daa442fd0a89d70cb1397550a2fdd872de935b934b15e4b7004e63df3f2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6121daa442fd0a89d70cb1397550a2fdd872de935b934b15e4b7004e63df3f2a", kill_on_drop: false }` [INFO] [stdout] 6121daa442fd0a89d70cb1397550a2fdd872de935b934b15e4b7004e63df3f2a