[INFO] fetching crate icu_locid 1.5.0... [INFO] checking icu_locid-1.5.0 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate icu_locid 1.5.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate icu_locid 1.5.0 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate icu_locid 1.5.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate icu_locid 1.5.0 [INFO] tweaked toml for crates.io crate icu_locid 1.5.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate icu_locid 1.5.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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a33f56d67d3de8c70a1dc5fdfa3cb728e2792fbade2cb8c93e33af2e8a346447 [INFO] running `Command { std: "docker" "start" "-a" "a33f56d67d3de8c70a1dc5fdfa3cb728e2792fbade2cb8c93e33af2e8a346447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a33f56d67d3de8c70a1dc5fdfa3cb728e2792fbade2cb8c93e33af2e8a346447", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a33f56d67d3de8c70a1dc5fdfa3cb728e2792fbade2cb8c93e33af2e8a346447", kill_on_drop: false }` [INFO] [stdout] a33f56d67d3de8c70a1dc5fdfa3cb728e2792fbade2cb8c93e33af2e8a346447 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 748e886a706f63e528ffec8bd0d1d9c0bc719ee835b28a11cba54a4cbd7a5374 [INFO] running `Command { std: "docker" "start" "-a" "748e886a706f63e528ffec8bd0d1d9c0bc719ee835b28a11cba54a4cbd7a5374", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking clap_lex v0.4.1 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking clap_builder v4.2.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking iai v0.1.1 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.2.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_locid v1.5.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/locale.rs (2 fixes) [INFO] [stderr] Fixed src/langid.rs (2 fixes) [INFO] [stderr] Fixed src/extensions/unicode/keywords.rs (1 fix) [INFO] [stderr] Fixed src/helpers.rs (6 fixes) [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Checking postcard v1.0.7 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Migrating benches/locale.rs from 2021 edition to 2024 [INFO] [stderr] Fixed benches/helpers/macros.rs (20 fixes) [INFO] [stderr] Migrating examples/syntatically_canonicalize_locales.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] --> examples/syntatically_canonicalize_locales.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | icu_benchmark_macros::static_setup!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] --> examples/syntatically_canonicalize_locales.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | icu_benchmark_macros::main_setup!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `icu_locid` (example "syntatically_canonicalize_locales") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Migrating benches/langid.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] --> examples/syntatically_canonicalize_locales.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | icu_benchmark_macros::static_setup!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] --> examples/syntatically_canonicalize_locales.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | icu_benchmark_macros::main_setup!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `icu_locid` (example "syntatically_canonicalize_locales" test) due to 2 previous errors [INFO] [stderr] Migrating tests/locale.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/filter_langids.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] --> examples/filter_langids.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | icu_benchmark_macros::static_setup!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/langid.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] --> examples/filter_langids.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | icu_benchmark_macros::main_setup!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> examples/filter_langids.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 41 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `icu_locid` (example "filter_langids") due to 2 previous errors; 1 warning emitted [INFO] [stderr] Fixed tests/langid.rs (1 fix) [INFO] [stdout] error[E0433]: failed to resolve: could not find `testing` in `litemap` [INFO] [stdout] --> src/shortvec/litemap.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | litemap::testing::check_store::>(); [INFO] [stdout] | ^^^^^^^ could not find `testing` in `litemap` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/litemap-0.7.3/src/lib.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub mod testing; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/litemap-0.7.3/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(any(test, feature = "testing"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `testing` in `litemap` [INFO] [stdout] --> src/shortvec/litemap.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 136 | litemap::testing::check_store_full::>(); [INFO] [stdout] | ^^^^^^^ could not find `testing` in `litemap` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/litemap-0.7.3/src/lib.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | pub mod testing; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/litemap-0.7.3/src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(any(test, feature = "testing"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `icu_locid` (lib test) due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] --> examples/filter_langids.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | icu_benchmark_macros::static_setup!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] --> examples/filter_langids.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | icu_benchmark_macros::main_setup!(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> examples/filter_langids.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 41 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `icu_locid` (example "filter_langids" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "748e886a706f63e528ffec8bd0d1d9c0bc719ee835b28a11cba54a4cbd7a5374", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "748e886a706f63e528ffec8bd0d1d9c0bc719ee835b28a11cba54a4cbd7a5374", kill_on_drop: false }` [INFO] [stdout] 748e886a706f63e528ffec8bd0d1d9c0bc719ee835b28a11cba54a4cbd7a5374