[INFO] fetching crate test_tools 0.10.0... [INFO] checking test_tools-0.10.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate test_tools 0.10.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate test_tools 0.10.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate test_tools 0.10.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate test_tools 0.10.0 [INFO] tweaked toml for crates.io crate test_tools 0.10.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate test_tools 0.10.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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37ac07c12e4dbf4ff60cdf405ae41eadcdb183675db46fe872ca273f75a31d89 [INFO] running `Command { std: "docker" "start" "-a" "37ac07c12e4dbf4ff60cdf405ae41eadcdb183675db46fe872ca273f75a31d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37ac07c12e4dbf4ff60cdf405ae41eadcdb183675db46fe872ca273f75a31d89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ac07c12e4dbf4ff60cdf405ae41eadcdb183675db46fe872ca273f75a31d89", kill_on_drop: false }` [INFO] [stdout] 37ac07c12e4dbf4ff60cdf405ae41eadcdb183675db46fe872ca273f75a31d89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ac43e5111f15fa406398577cb1fa0c70f92337e05788bd3d85abe7808164249 [INFO] running `Command { std: "docker" "start" "-a" "6ac43e5111f15fa406398577cb1fa0c70f92337e05788bd3d85abe7808164249", 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.85 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling clone_dyn_types v0.23.0 [INFO] [stderr] Compiling collection_tools v0.12.0 [INFO] [stderr] Compiling interval_adapter v0.24.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling former_types v2.8.0 [INFO] [stderr] Compiling derive_tools v0.28.0 [INFO] [stderr] Compiling derive_tools v0.29.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling trybuild v1.0.89 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking for_each v0.9.0 [INFO] [stderr] Checking is_slice v0.10.0 [INFO] [stderr] Checking implements v0.9.0 [INFO] [stderr] Checking literally v0.1.3 [INFO] [stderr] Checking data_type v0.10.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking diagnostics_tools v0.9.0 [INFO] [stderr] Checking mem_tools v0.7.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling inspect_type v0.11.0 [INFO] [stderr] Compiling test_tools v0.10.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking os_pipe v1.1.5 [INFO] [stderr] Checking shared_child v1.0.0 [INFO] [stderr] Checking typing_tools v0.9.0 [INFO] [stderr] Checking duct v0.13.7 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking iter_tools v0.21.0 [INFO] [stderr] Compiling const_format v0.2.32 [INFO] [stderr] Checking basic-toml v0.1.9 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling macro_tools v0.40.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0-beta.6 [INFO] [stderr] Compiling derive_tools_meta v0.27.0 [INFO] [stderr] Compiling derive_tools_meta v0.28.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling former_meta v2.9.0 [INFO] [stderr] Compiling impls_index_meta v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking impls_index v0.8.0 [INFO] [stderr] Checking error_tools v0.17.0 [INFO] [stderr] Compiling derive_more v1.0.0-beta.6 [INFO] [stderr] Checking former v2.9.0 [INFO] [stderr] Compiling mod_interface_meta v0.25.0 [INFO] [stderr] Compiling mod_interface_meta v0.24.0 [INFO] [stderr] Checking mod_interface v0.24.0 [INFO] [stderr] Checking mod_interface v0.26.0 [INFO] [stderr] Checking proper_path_tools v0.10.0 [INFO] [stderr] Checking meta_tools v0.11.0 [INFO] [stderr] Checking process_tools v0.9.0 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `test_tools` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/test/helper.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/test/helper.rs:46:7 [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/test/smoke_test.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | let y: f64 = rng.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 46 | ( $num : expr_2021 ) => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/test/helper.rs:51:10 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/test/smoke_test.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | let y: f64 = rng.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 51 | ( $( $num : expr_2021 ),+ ) => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/test/helper.rs:65:7 [INFO] [stderr] | [INFO] [stderr] 65 | ( $file:expr_2021 ) => [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/test/helper.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | ( $num : expr ) => [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 46 | ( $num : expr_2021 ) => [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/test/helper.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | ( $( $num : expr ),+ ) => [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 51 | ( $( $num : expr_2021 ),+ ) => [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/test/helper.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | ( $file:expr ) => [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 65 | ( $file:expr_2021 ) => [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `test_tools` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/test/helper.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/test/helper.rs:46:7 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/test/smoke_test.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | let y: f64 = rng.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 46 | ( $num : expr_2021 ) => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/test/helper.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | ( $( $num : expr_2021 ),+ ) => [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/test/helper.rs:65:7 [INFO] [stderr] | [INFO] [stderr] 65 | ( $file:expr_2021 ) => [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/test/smoke_test.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | let y: f64 = rng.gen(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/test/helper.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | ( $num : expr ) => [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 46 | ( $num : expr_2021 ) => [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/test/helper.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | ( $( $num : expr ),+ ) => [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 51 | ( $( $num : expr_2021 ),+ ) => [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/test/helper.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | ( $file:expr ) => [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 65 | ( $file:expr_2021 ) => [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/smoke_test.rs from 2021 edition to 2024 [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> tests/smoke_test.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / #[ cfg( feature = "enabled" ) ] [INFO] [stdout] 4 | | #[ cfg( not( feature = "no_std" ) ) ] [INFO] [stdout] 5 | | #[ test ] [INFO] [stdout] 6 | | fn local_smoke_test() [INFO] [stdout] ... | [INFO] [stdout] 17 | | ::test_tools::smoke_test_for_published_run(); [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/tests.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> tests/tests.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / #[ allow( unused_imports ) ] [INFO] [stdout] 6 | | use test_tools as the_module; [INFO] [stdout] 7 | | #[ allow( unused_imports ) ] [INFO] [stdout] 8 | | #[ cfg( feature = "enabled" ) ] [INFO] [stdout] ... | [INFO] [stdout] 11 | | [INFO] [stdout] 12 | | mod inc; [INFO] [stdout] | |________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/test_tools_trivial.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.45s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling test_tools v0.10.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/test/smoke_test.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | let y: f64 = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 52 | let y: f64 = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/test/smoke_test.rs:52:24 [INFO] [stdout] | [INFO] [stdout] 52 | let y: f64 = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 52 | let y: f64 = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/test/smoke_test.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | let y: f64 = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 90 | let y: f64 = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/test/smoke_test.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | let y: f64 = rng.gen(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 90 | let y: f64 = rng.r#gen(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `test_tools` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `test_tools` (lib test) due to 3 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "6ac43e5111f15fa406398577cb1fa0c70f92337e05788bd3d85abe7808164249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ac43e5111f15fa406398577cb1fa0c70f92337e05788bd3d85abe7808164249", kill_on_drop: false }` [INFO] [stdout] 6ac43e5111f15fa406398577cb1fa0c70f92337e05788bd3d85abe7808164249