[INFO] fetching crate icu_calendar 1.5.2... [INFO] checking icu_calendar-1.5.2 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate icu_calendar 1.5.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate icu_calendar 1.5.2 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_calendar 1.5.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate icu_calendar 1.5.2 [INFO] tweaked toml for crates.io crate icu_calendar 1.5.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate icu_calendar 1.5.2 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 986f491021d45d80d8921bf40a1361b0eb2d00db637e50c6351d8b05846adad2 [INFO] running `Command { std: "docker" "start" "-a" "986f491021d45d80d8921bf40a1361b0eb2d00db637e50c6351d8b05846adad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "986f491021d45d80d8921bf40a1361b0eb2d00db637e50c6351d8b05846adad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "986f491021d45d80d8921bf40a1361b0eb2d00db637e50c6351d8b05846adad2", kill_on_drop: false }` [INFO] [stdout] 986f491021d45d80d8921bf40a1361b0eb2d00db637e50c6351d8b05846adad2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 621d55427cef2c1f008bc162bc1fe8f368ef0ee667f66249fbcf5686984e931f [INFO] running `Command { std: "docker" "start" "-a" "621d55427cef2c1f008bc162bc1fe8f368ef0ee667f66249fbcf5686984e931f", 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 autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking clap_lex v0.4.1 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Checking clap_builder v4.2.1 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking icu_calendar_data v1.5.0 [INFO] [stderr] Checking core_maths v0.1.0 [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 is-terminal v0.4.9 [INFO] [stderr] Checking time v0.3.17 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking simple_logger v4.2.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking clap v4.2.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling zerovec-derive v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Checking calendrical_calculations v0.1.1 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking zerovec v0.10.2 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_calendar v1.5.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stderr] Fixed src/any_calendar.rs (1 fix) [INFO] [stderr] Fixed src/types.rs (2 fixes) [INFO] [stderr] Fixed src/week_of.rs (1 fix) [INFO] [stderr] Fixed src/japanese.rs (1 fix) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `databake` [INFO] [stdout] --> src/provider.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | databake::test_bake!( [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `databake` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating benches/convert.rs from 2021 edition to 2024 [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `icu_calendar` (lib test) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Migrating benches/date.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> benches/convert.rs:32:48 [INFO] [stdout] | [INFO] [stdout] 32 | bench_calendar(&mut group, "calendar/iso", icu::calendar::iso::Iso); [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 7 + use icu_calendar::iso; [INFO] [stdout] | [INFO] [stdout] help: if you import `iso`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 32 - bench_calendar(&mut group, "calendar/iso", icu::calendar::iso::Iso); [INFO] [stdout] 32 + bench_calendar(&mut group, "calendar/iso", iso::Iso); [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_calendar` (bench "convert") due to 1 previous error [INFO] [stderr] Migrating examples/iso_datetime_manipulations.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> benches/date.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | icu::calendar::iso::Iso, [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 7 + use icu_calendar::iso; [INFO] [stdout] | [INFO] [stdout] help: if you import `iso`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 64 - icu::calendar::iso::Iso, [INFO] [stdout] 64 + iso::Iso, [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_calendar` (bench "date") due to 1 previous error [INFO] [stderr] Migrating benches/iso.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/iso_datetime_manipulations.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | 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/iso_datetime_manipulations.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | 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/iso_datetime_manipulations.rs:51:3 [INFO] [stdout] | [INFO] [stdout] 51 | #[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] 51 | #[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_calendar` (example "iso_datetime_manipulations") due to 2 previous errors; 1 warning emitted [INFO] [stderr] Migrating benches/datetime.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu` [INFO] [stdout] --> benches/datetime.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | icu::calendar::iso::Iso, [INFO] [stdout] | ^^^ use of undeclared crate or module `icu` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 7 + use icu_calendar::iso; [INFO] [stdout] | [INFO] [stdout] help: if you import `iso`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 75 - icu::calendar::iso::Iso, [INFO] [stdout] 75 + iso::Iso, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/iso_date_manipulations.rs from 2021 edition to 2024 [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `icu_calendar` (bench "datetime") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `icu_benchmark_macros` [INFO] [stdout] --> examples/iso_date_manipulations.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | 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/iso_date_manipulations.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | 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/iso_date_manipulations.rs:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[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] 48 | #[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_calendar` (example "iso_date_manipulations") 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" "621d55427cef2c1f008bc162bc1fe8f368ef0ee667f66249fbcf5686984e931f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "621d55427cef2c1f008bc162bc1fe8f368ef0ee667f66249fbcf5686984e931f", kill_on_drop: false }` [INFO] [stdout] 621d55427cef2c1f008bc162bc1fe8f368ef0ee667f66249fbcf5686984e931f