[INFO] fetching crate srgn 0.13.1... [INFO] checking srgn-0.13.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate srgn 0.13.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate srgn 0.13.1 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 srgn 0.13.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate srgn 0.13.1 [INFO] tweaked toml for crates.io crate srgn 0.13.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate srgn 0.13.1 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-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c7cf1daf980cca9c21472cc1740bcd580d760a37ad4324bb0e9a2469582dfb1 [INFO] running `Command { std: "docker" "start" "-a" "8c7cf1daf980cca9c21472cc1740bcd580d760a37ad4324bb0e9a2469582dfb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c7cf1daf980cca9c21472cc1740bcd580d760a37ad4324bb0e9a2469582dfb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c7cf1daf980cca9c21472cc1740bcd580d760a37ad4324bb0e9a2469582dfb1", kill_on_drop: false }` [INFO] [stdout] 8c7cf1daf980cca9c21472cc1740bcd580d760a37ad4324bb0e9a2469582dfb1 [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=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] a15e17e2497f0ca698b4f396dfc410c1c95b1497ac2b267256523c383cc7a175 [INFO] running `Command { std: "docker" "start" "-a" "a15e17e2497f0ca698b4f396dfc410c1c95b1497ac2b267256523c383cc7a175", 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] Fixed Cargo.toml (3 fixes) [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling unicode_titlecase v2.3.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Compiling tree-sitter v0.22.6 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking clap_builder v4.5.13 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Compiling decompound v0.3.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling tree-sitter-go v0.21.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling tree-sitter-c-sharp v0.21.3 [INFO] [stderr] Compiling tree-sitter-typescript v0.21.2 [INFO] [stderr] Compiling tree-sitter-python v0.21.0 [INFO] [stderr] Compiling tree-sitter-rust v0.21.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling cached_proc_macro v0.23.0 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling srgn v0.13.1 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Compiling caseless v0.2.1 [INFO] [stderr] Compiling rstest_macros v0.21.0 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `build_script_build` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * build.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] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-A box_pointers` [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> build.rs:90:14 [INFO] [stderr] | [INFO] [stderr] 90 | ($name:expr_2021, $e: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] --> build.rs:90:31 [INFO] [stderr] | [INFO] [stderr] 90 | ($name:expr_2021, $e: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 2 previous errors; 1 warning emitted [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: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> build.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | ($name:expr, $e: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] 90 | ($name:expr_2021, $e:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> build.rs:90:29 [INFO] [stdout] | [INFO] [stdout] 90 | ($name:expr, $e: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] 90 | ($name:expr, $e:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Checking cached_proc_macro_types v0.1.1 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking grep-cli v0.1.10 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking cached v0.53.1 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Checking clap_complete v4.5.8 [INFO] [stderr] Checking const_format v0.2.32 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Checking titlecase v3.3.0 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling assert_cmd v2.0.15 [INFO] [stderr] Checking deunicode v1.4.3 [INFO] [stderr] Compiling relative-path v1.9.2 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking unescape v0.1.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking slug v0.1.5 [INFO] [stderr] Checking predicates v3.1.2 [INFO] [stderr] Checking derive_builder v0.20.0 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking similar v2.4.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking enum-iterator v2.1.0 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking comrak v0.26.0 [INFO] [stderr] Checking rand_regex v0.17.0 [INFO] [stderr] Checking rstest v0.21.0 [INFO] [stderr] Checking insta v1.39.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 `srgn` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/actions/symbols/mod.rs [INFO] [stderr] * src/scoping/langs/tree_sitter_hcl/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [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] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-A box_pointers` [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/actions/symbols/mod.rs:21:6 [INFO] [stderr] | [INFO] [stderr] 21 | ($it:expr_2021, $stack:expr_2021, $buf:expr_2021 $(, $label:tt)?) => { [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/actions/symbols/mod.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | ($it:expr_2021, $stack:expr_2021, $buf:expr_2021 $(, $label:tt)?) => { [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/actions/symbols/mod.rs:21:39 [INFO] [stderr] | [INFO] [stderr] 21 | ($it:expr_2021, $stack:expr_2021, $buf:expr_2021 $(, $label:tt)?) => { [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] warning: usage of an `unsafe extern` block [INFO] [stderr] --> src/scoping/langs/tree_sitter_hcl/mod.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / unsafe extern "C" { [INFO] [stderr] 12 | | fn tree_sitter_hcl() -> tree_sitter::Language; [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-W unsafe-code` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 2 warnings emitted [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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/actions/symbols/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | ($it:expr, $stack:expr, $buf:expr $(, $label:tt)?) => { [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] 21 | ($it:expr_2021, $stack:expr, $buf:expr $(, $label:tt)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/actions/symbols/mod.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | ($it:expr, $stack:expr, $buf:expr $(, $label:tt)?) => { [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] 21 | ($it:expr, $stack:expr_2021, $buf:expr $(, $label:tt)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/actions/symbols/mod.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | ($it:expr, $stack:expr, $buf:expr $(, $label:tt)?) => { [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] 21 | ($it:expr, $stack:expr, $buf:expr_2021 $(, $label:tt)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/scoping/langs/tree_sitter_hcl/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 12 | | fn tree_sitter_hcl() -> tree_sitter::Language; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/find/mod.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | 'read: while let Ok(n) = source.read(&mut buf) { [INFO] [stdout] | ^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/find/mod.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/readme.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `srgn` [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/actions/symbols/mod.rs [INFO] [stderr] * src/scoping/langs/tree_sitter_hcl/mod.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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/actions/symbols/mod.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | ($it:expr, $stack:expr, $buf:expr $(, $label:tt)?) => { [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] 21 | ($it:expr_2021, $stack:expr, $buf:expr $(, $label:tt)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-A box_pointers` [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/actions/symbols/mod.rs:21:6 [INFO] [stderr] | [INFO] [stderr] 21 | ($it:expr_2021, $stack:expr_2021, $buf:expr_2021 $(, $label:tt)?) => { [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/actions/symbols/mod.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | ($it:expr_2021, $stack:expr_2021, $buf:expr_2021 $(, $label:tt)?) => { [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/actions/symbols/mod.rs:21:39 [INFO] [stderr] | [INFO] [stderr] 21 | ($it:expr_2021, $stack:expr_2021, $buf:expr_2021 $(, $label:tt)?) => { [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] warning: usage of an `unsafe extern` block [INFO] [stderr] --> src/scoping/langs/tree_sitter_hcl/mod.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | / unsafe extern "C" { [INFO] [stderr] 12 | | fn tree_sitter_hcl() -> tree_sitter::Language; [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: requested on the command line with `-W unsafe-code` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 2 warnings emitted [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: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/actions/symbols/mod.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | ($it:expr, $stack:expr, $buf:expr $(, $label:tt)?) => { [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] 21 | ($it:expr, $stack:expr_2021, $buf:expr $(, $label:tt)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/actions/symbols/mod.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | ($it:expr, $stack:expr, $buf:expr $(, $label:tt)?) => { [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] 21 | ($it:expr, $stack:expr, $buf:expr_2021 $(, $label:tt)?) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern blocks should be unsafe [INFO] [stdout] --> src/scoping/langs/tree_sitter_hcl/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern "C" { [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | _help: needs `unsafe` before the extern keyword: `unsafe` [INFO] [stdout] | | [INFO] [stdout] 12 | | fn tree_sitter_hcl() -> tree_sitter::Language; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [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 #123743 [INFO] [stdout] = note: `--force-warn missing-unsafe-on-extern` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/find/mod.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | 'read: while let Ok(n) = source.read(&mut buf) { [INFO] [stdout] | ^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/find/mod.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/cli.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/mod.rs from 2021 edition to 2024 [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.63s [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> tests/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[cfg(test)] [INFO] [stdout] 2 | | mod langs; [INFO] [stdout] 3 | | #[cfg(test)] [INFO] [stdout] 4 | | mod properties; [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling srgn v0.13.1 (/tmp/fixit) [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-A box_pointers` [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/scoping/langs/tree_sitter_hcl/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / extern "C" { [INFO] [stdout] 12 | | fn tree_sitter_hcl() -> tree_sitter::Language; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern blocks must be unsafe [INFO] [stdout] --> src/scoping/langs/tree_sitter_hcl/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / extern "C" { [INFO] [stdout] 12 | | fn tree_sitter_hcl() -> tree_sitter::Language; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `srgn` (lib) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `srgn` (lib test) due to 2 previous errors; 1 warning emitted [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" "a15e17e2497f0ca698b4f396dfc410c1c95b1497ac2b267256523c383cc7a175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a15e17e2497f0ca698b4f396dfc410c1c95b1497ac2b267256523c383cc7a175", kill_on_drop: false }` [INFO] [stdout] a15e17e2497f0ca698b4f396dfc410c1c95b1497ac2b267256523c383cc7a175