[INFO] fetching crate rustpython-ruff_source_file 0.15.8...
[INFO] testing rustpython-ruff_source_file-0.15.8 against beta-2026-04-21 for beta-1.96-2
[INFO] extracting crate rustpython-ruff_source_file 0.15.8 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate rustpython-ruff_source_file 0.15.8
[INFO] finished tweaking crates.io crate rustpython-ruff_source_file 0.15.8
[INFO] tweaked toml for crates.io crate rustpython-ruff_source_file 0.15.8 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate rustpython-ruff_source_file 0.15.8 on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rustpython-ruff_source_file 0.15.8 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" "+beta-2026-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5143e2192112e947fc5ecda27333bb9d7d1ebfc152ff7f70ec679c88c153cfeb
[INFO] running `Command { std: "docker" "start" "-a" "5143e2192112e947fc5ecda27333bb9d7d1ebfc152ff7f70ec679c88c153cfeb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5143e2192112e947fc5ecda27333bb9d7d1ebfc152ff7f70ec679c88c153cfeb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5143e2192112e947fc5ecda27333bb9d7d1ebfc152ff7f70ec679c88c153cfeb", kill_on_drop: false }`
[INFO] [stdout] 5143e2192112e947fc5ecda27333bb9d7d1ebfc152ff7f70ec679c88c153cfeb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed935ed89d7e3005c8440ea390ac9673aacfec292c9bb9aa794e76d05c89c810
[INFO] running `Command { std: "docker" "start" "-a" "ed935ed89d7e3005c8440ea390ac9673aacfec292c9bb9aa794e76d05c89c810", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustpython-ruff_text_size v0.15.8
[INFO] [stderr]    Compiling rustpython-ruff_source_file v0.15.8 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.51s
[INFO] running `Command { std: "docker" "inspect" "ed935ed89d7e3005c8440ea390ac9673aacfec292c9bb9aa794e76d05c89c810", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed935ed89d7e3005c8440ea390ac9673aacfec292c9bb9aa794e76d05c89c810", kill_on_drop: false }`
[INFO] [stdout] ed935ed89d7e3005c8440ea390ac9673aacfec292c9bb9aa794e76d05c89c810
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fdd3d40e617dd290c8e486b1c1aa388a374dbe8be0ba0df34a4813e11df99dbe
[INFO] running `Command { std: "docker" "start" "-a" "fdd3d40e617dd290c8e486b1c1aa388a374dbe8be0ba0df34a4813e11df99dbe", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustpython-ruff_source_file v0.15.8 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s
[INFO] running `Command { std: "docker" "inspect" "fdd3d40e617dd290c8e486b1c1aa388a374dbe8be0ba0df34a4813e11df99dbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fdd3d40e617dd290c8e486b1c1aa388a374dbe8be0ba0df34a4813e11df99dbe", kill_on_drop: false }`
[INFO] [stdout] fdd3d40e617dd290c8e486b1c1aa388a374dbe8be0ba0df34a4813e11df99dbe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-04-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c3b054a9f39834198ef519f7691028c4e469d2b26be8fffc27c35e1ff5d0af47
[INFO] running `Command { std: "docker" "start" "-a" "c3b054a9f39834198ef519f7691028c4e469d2b26be8fffc27c35e1ff5d0af47", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustpython_ruff_source_file-32ecb8473623ca0b)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test line_index::tests::ascii_carriage_return ... ok
[INFO] [stdout] test line_index::tests::ascii_carriage_return_newline ... ok
[INFO] [stdout] test line_index::tests::ascii_source_location ... ok
[INFO] [stderr]    Doc-tests rustpython_ruff_source_file
[INFO] [stdout] test line_index::tests::ascii_index ... ok
[INFO] [stdout] test line_index::tests::utf8_byte_offset ... ok
[INFO] [stdout] test line_index::tests::utf8_carriage_return ... ok
[INFO] [stdout] test line_index::tests::utf8_carriage_return_newline ... ok
[INFO] [stdout] test newlines::tests::universal_newlines_backwards ... ok
[INFO] [stdout] test newlines::tests::universal_newlines_empty_str ... ok
[INFO] [stdout] test newlines::tests::universal_newlines_forward ... ok
[INFO] [stdout] test line_index::tests::utf8_index ... ok
[INFO] [stdout] test newlines::tests::universal_newlines_mixed ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 20 tests
[INFO] [stdout] test src/line_ranges.rs - line_ranges::LineRanges::full_line_range (line 85) ... FAILED
[INFO] [stdout] test src/line_ranges.rs - line_ranges::LineRanges::full_lines_str (line 279) ... FAILED
[INFO] [stdout] test src/line_index.rs - line_index::LineIndex::offset (line 386) ... FAILED
[INFO] [stdout] test src/line_ranges.rs - line_ranges::LineRanges::count_lines (line 303) ... FAILED
[INFO] [stdout] test src/line_index.rs - line_index::LineIndex::line_index (line 235) ... FAILED
[INFO] [stdout] test src/line_index.rs - line_index::LineIndex::line_column (line 86) ... FAILED
[INFO] [stdout] test src/line_index.rs - line_index::OneIndexed::digits (line 639) ... FAILED
[INFO] [stdout] test src/line_ranges.rs - line_ranges::LineRanges::line_end (line 62) ... FAILED
[INFO] [stdout] test src/line_ranges.rs - line_ranges::LineRanges::full_line_end (line 42) ... FAILED
[INFO] [stdout] test src/line_index.rs - line_index::LineIndex::offset (line 323) ... FAILED
[INFO] [stdout] test src/line_ranges.rs - line_ranges::LineRanges::lines_str (line 253) ... FAILED
[INFO] [stdout] test src/line_ranges.rs - line_ranges::LineRanges::line_range (line 109) ... FAILED
[INFO] [stdout] test src/line_ranges.rs - line_ranges::LineRanges::contains_line_break (line 231) ... FAILED
[INFO] [stdout] test src/line_ranges.rs - line_ranges::LineRanges::line_start (line 12) ... FAILED
[INFO] [stdout] test src/line_index.rs - line_index::LineIndex::source_location (line 142) ... FAILED
[INFO] [stdout] test src/line_ranges.rs - line_ranges::LineRanges::line_str (line 153) ... FAILED
[INFO] [stdout] test src/line_ranges.rs - line_ranges::LineRanges::lines_range (line 207) ... FAILED
[INFO] [stdout] test src/line_ranges.rs - line_ranges::LineRanges::full_line_str (line 132) ... FAILED
[INFO] [stdout] test src/newlines.rs - newlines::UniversalNewlineIterator (line 23) ... FAILED
[INFO] [stdout] test src/line_ranges.rs - line_ranges::LineRanges::full_lines_range (line 175) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/line_ranges.rs - line_ranges::LineRanges::full_line_range (line 85) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]   --> src/line_ranges.rs:87:5
[INFO] [stdout]    |
[INFO] [stdout] 87 | use ruff_source_file::LineRanges;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `full_line_range` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/line_ranges.rs:91:17
[INFO] [stdout]    |
[INFO] [stdout] 91 | assert_eq!(text.full_line_range(TextSize::from(3)), TextRange::new(TextSize::from(0), TextSize::from(11)));
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `full_line_range` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 85 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `full_lines_range` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 91 | assert_eq!(text.full_lines_range(TextSize::from(3)), TextRange::new(TextSize::from(0), TextSize::from(11)));
[INFO] [stdout]    |                          +
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `full_line_range` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/line_ranges.rs:92:17
[INFO] [stdout]    |
[INFO] [stdout] 92 | assert_eq!(text.full_line_range(TextSize::from(14)), TextRange::new(TextSize::from(11), TextSize::from(24)));
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `full_line_range` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 85 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `full_lines_range` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 92 | assert_eq!(text.full_lines_range(TextSize::from(14)), TextRange::new(TextSize::from(11), TextSize::from(24)));
[INFO] [stdout]    |                          +
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `full_line_range` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/line_ranges.rs:93:17
[INFO] [stdout]    |
[INFO] [stdout] 93 | assert_eq!(text.full_line_range(TextSize::from(28)), TextRange::new(TextSize::from(24), TextSize::from(34)));
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `full_line_range` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 85 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `full_lines_range` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 93 | assert_eq!(text.full_lines_range(TextSize::from(28)), TextRange::new(TextSize::from(24), TextSize::from(34)));
[INFO] [stdout]    |                          +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_ranges.rs - line_ranges::LineRanges::full_lines_str (line 279) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]    --> src/line_ranges.rs:281:5
[INFO] [stdout]     |
[INFO] [stdout] 281 | use ruff_source_file::LineRanges;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `full_lines_str` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:286:10
[INFO] [stdout]     |
[INFO] [stdout] 286 |     text.full_lines_str(TextRange::new(TextSize::from(3), TextSize::from(5))),
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `full_lines_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 279 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `full_line_str` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 286 -     text.full_lines_str(TextRange::new(TextSize::from(3), TextSize::from(5))),
[INFO] [stdout] 286 +     text.full_line_str(TextRange::new(TextSize::from(3), TextSize::from(5))),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `full_lines_str` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:290:10
[INFO] [stdout]     |
[INFO] [stdout] 290 |     text.full_lines_str(TextRange::new(TextSize::from(3), TextSize::from(14))),
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `full_lines_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 279 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `full_line_str` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 290 -     text.full_lines_str(TextRange::new(TextSize::from(3), TextSize::from(14))),
[INFO] [stdout] 290 +     text.full_line_str(TextRange::new(TextSize::from(3), TextSize::from(14))),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_index.rs - line_index::LineIndex::offset (line 386) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]    --> src/line_index.rs:387:5
[INFO] [stdout]     |
[INFO] [stdout] 387 | use ruff_source_file::{LineIndex, OneIndexed, SourceLocation, PositionEncoding};
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_ranges.rs - line_ranges::LineRanges::count_lines (line 303) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]    --> src/line_ranges.rs:305:5
[INFO] [stdout]     |
[INFO] [stdout] 305 | use ruff_source_file::LineRanges;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `count_lines` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:307:19
[INFO] [stdout]     |
[INFO] [stdout] 307 | assert_eq!("a\nb".count_lines(TextRange::up_to(1.into())), 0);
[INFO] [stdout]     |                   ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `count_lines` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 303 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `contains` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 307 - assert_eq!("a\nb".count_lines(TextRange::up_to(1.into())), 0);
[INFO] [stdout] 307 + assert_eq!("a\nb".contains(TextRange::up_to(1.into())), 0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `count_lines` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:308:24
[INFO] [stdout]     |
[INFO] [stdout] 308 | assert_eq!("a\nb\r\nc".count_lines(TextRange::up_to(3.into())), 1, "Up to the end of the second line");
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `count_lines` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 303 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `contains` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 308 - assert_eq!("a\nb\r\nc".count_lines(TextRange::up_to(3.into())), 1, "Up to the end of the second line");
[INFO] [stdout] 308 + assert_eq!("a\nb\r\nc".contains(TextRange::up_to(3.into())), 1, "Up to the end of the second line");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `count_lines` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:309:24
[INFO] [stdout]     |
[INFO] [stdout] 309 | assert_eq!("a\nb\r\nc".count_lines(TextRange::up_to(4.into())), 2, "In between the line break characters");
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `count_lines` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 303 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `contains` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 309 - assert_eq!("a\nb\r\nc".count_lines(TextRange::up_to(4.into())), 2, "In between the line break characters");
[INFO] [stdout] 309 + assert_eq!("a\nb\r\nc".contains(TextRange::up_to(4.into())), 2, "In between the line break characters");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `count_lines` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:310:24
[INFO] [stdout]     |
[INFO] [stdout] 310 | assert_eq!("a\nb\r\nc".count_lines(TextRange::up_to(5.into())), 2);
[INFO] [stdout]     |                        ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `count_lines` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 303 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `contains` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 310 - assert_eq!("a\nb\r\nc".count_lines(TextRange::up_to(5.into())), 2);
[INFO] [stdout] 310 + assert_eq!("a\nb\r\nc".contains(TextRange::up_to(5.into())), 2);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `count_lines` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:311:26
[INFO] [stdout]     |
[INFO] [stdout] 311 | assert_eq!("Single line".count_lines(TextRange::up_to(13.into())), 0);
[INFO] [stdout]     |                          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `count_lines` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 303 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `contains` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 311 - assert_eq!("Single line".count_lines(TextRange::up_to(13.into())), 0);
[INFO] [stdout] 311 + assert_eq!("Single line".contains(TextRange::up_to(13.into())), 0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `count_lines` found for reference `&'static str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:312:34
[INFO] [stdout]     |
[INFO] [stdout] 312 | assert_eq!("out\nof\nbounds end".count_lines(TextRange::up_to(55.into())), 2);
[INFO] [stdout]     |                                  ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `count_lines` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 303 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `contains` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 312 - assert_eq!("out\nof\nbounds end".count_lines(TextRange::up_to(55.into())), 2);
[INFO] [stdout] 312 + assert_eq!("out\nof\nbounds end".contains(TextRange::up_to(55.into())), 2);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_index.rs - line_index::LineIndex::line_index (line 235) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]    --> src/line_index.rs:237:5
[INFO] [stdout]     |
[INFO] [stdout] 237 | use ruff_source_file::{LineIndex, OneIndexed, LineColumn};
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_index.rs - line_index::LineIndex::line_column (line 86) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]   --> src/line_index.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 88 | use ruff_source_file::{LineIndex, OneIndexed, LineColumn};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_index.rs - line_index::OneIndexed::digits (line 639) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]    --> src/line_index.rs:640:5
[INFO] [stdout]     |
[INFO] [stdout] 640 | use ruff_source_file::OneIndexed;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_ranges.rs - line_ranges::LineRanges::line_end (line 62) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]   --> src/line_ranges.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 | use ruff_source_file::LineRanges;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `line_end` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/line_ranges.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 | assert_eq!(text.line_end(TextSize::from(3)), TextSize::from(10));
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `line_end` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 62 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `full_line_end` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 | assert_eq!(text.full_line_end(TextSize::from(3)), TextSize::from(10));
[INFO] [stdout]    |                 +++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `line_end` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/line_ranges.rs:69:17
[INFO] [stdout]    |
[INFO] [stdout] 69 | assert_eq!(text.line_end(TextSize::from(14)), TextSize::from(22));
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `line_end` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 62 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `full_line_end` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 | assert_eq!(text.full_line_end(TextSize::from(14)), TextSize::from(22));
[INFO] [stdout]    |                 +++++
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `line_end` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/line_ranges.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 | assert_eq!(text.line_end(TextSize::from(28)), TextSize::from(34));
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `line_end` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 62 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `full_line_end` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 70 | assert_eq!(text.full_line_end(TextSize::from(28)), TextSize::from(34));
[INFO] [stdout]    |                 +++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_ranges.rs - line_ranges::LineRanges::full_line_end (line 42) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]   --> src/line_ranges.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 44 | use ruff_source_file::LineRanges;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `full_line_end` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/line_ranges.rs:48:17
[INFO] [stdout]    |
[INFO] [stdout] 48 | assert_eq!(text.full_line_end(TextSize::from(3)), TextSize::from(11));
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `full_line_end` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 42 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `line_end` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 48 - assert_eq!(text.full_line_end(TextSize::from(3)), TextSize::from(11));
[INFO] [stdout] 48 + assert_eq!(text.line_end(TextSize::from(3)), TextSize::from(11));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `full_line_end` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/line_ranges.rs:49:17
[INFO] [stdout]    |
[INFO] [stdout] 49 | assert_eq!(text.full_line_end(TextSize::from(14)), TextSize::from(24));
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `full_line_end` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 42 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `line_end` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 49 - assert_eq!(text.full_line_end(TextSize::from(14)), TextSize::from(24));
[INFO] [stdout] 49 + assert_eq!(text.line_end(TextSize::from(14)), TextSize::from(24));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `full_line_end` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/line_ranges.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 | assert_eq!(text.full_line_end(TextSize::from(28)), TextSize::from(34));
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `full_line_end` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 42 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `line_end` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 50 - assert_eq!(text.full_line_end(TextSize::from(28)), TextSize::from(34));
[INFO] [stdout] 50 + assert_eq!(text.line_end(TextSize::from(28)), TextSize::from(34));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_index.rs - line_index::LineIndex::offset (line 323) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]    --> src/line_index.rs:324:5
[INFO] [stdout]     |
[INFO] [stdout] 324 | use ruff_source_file::{SourceLocation, LineIndex, OneIndexed, PositionEncoding};
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_ranges.rs - line_ranges::LineRanges::lines_str (line 253) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]    --> src/line_ranges.rs:255:5
[INFO] [stdout]     |
[INFO] [stdout] 255 | use ruff_source_file::LineRanges;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lines_str` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:260:10
[INFO] [stdout]     |
[INFO] [stdout] 260 |     text.lines_str(TextRange::new(TextSize::from(3), TextSize::from(5))),
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `lines_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 253 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `line_str` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 260 -     text.lines_str(TextRange::new(TextSize::from(3), TextSize::from(5))),
[INFO] [stdout] 260 +     text.line_str(TextRange::new(TextSize::from(3), TextSize::from(5))),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lines_str` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:264:10
[INFO] [stdout]     |
[INFO] [stdout] 264 |     text.lines_str(TextRange::new(TextSize::from(3), TextSize::from(14))),
[INFO] [stdout]     |          ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `lines_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 253 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `line_str` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 264 -     text.lines_str(TextRange::new(TextSize::from(3), TextSize::from(14))),
[INFO] [stdout] 264 +     text.line_str(TextRange::new(TextSize::from(3), TextSize::from(14))),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_ranges.rs - line_ranges::LineRanges::line_range (line 109) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]    --> src/line_ranges.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 | use ruff_source_file::LineRanges;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `line_range` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:115:17
[INFO] [stdout]     |
[INFO] [stdout] 115 | assert_eq!(text.line_range(TextSize::from(3)), TextRange::new(TextSize::from(0), TextSize::from(10)));
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `line_range` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 109 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `lines_range` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 115 | assert_eq!(text.lines_range(TextSize::from(3)), TextRange::new(TextSize::from(0), TextSize::from(10)));
[INFO] [stdout]     |                     +
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `line_range` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:116:17
[INFO] [stdout]     |
[INFO] [stdout] 116 | assert_eq!(text.line_range(TextSize::from(14)), TextRange::new(TextSize::from(11), TextSize::from(22)));
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `line_range` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 109 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `lines_range` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 116 | assert_eq!(text.lines_range(TextSize::from(14)), TextRange::new(TextSize::from(11), TextSize::from(22)));
[INFO] [stdout]     |                     +
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `line_range` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:117:17
[INFO] [stdout]     |
[INFO] [stdout] 117 | assert_eq!(text.line_range(TextSize::from(28)), TextRange::new(TextSize::from(24), TextSize::from(34)));
[INFO] [stdout]     |                 ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `line_range` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 109 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `lines_range` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 117 | assert_eq!(text.lines_range(TextSize::from(28)), TextRange::new(TextSize::from(24), TextSize::from(34)));
[INFO] [stdout]     |                     +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_ranges.rs - line_ranges::LineRanges::contains_line_break (line 231) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]    --> src/line_ranges.rs:233:5
[INFO] [stdout]     |
[INFO] [stdout] 233 | use ruff_source_file::LineRanges;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `contains_line_break` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:238:11
[INFO] [stdout]     |
[INFO] [stdout] 238 |     !text.contains_line_break(TextRange::new(TextSize::from(3), TextSize::from(5))),
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^^^^ method not found in `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `contains_line_break` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 231 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `contains_line_break` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:241:10
[INFO] [stdout]     |
[INFO] [stdout] 241 |     text.contains_line_break(TextRange::new(TextSize::from(3), TextSize::from(14))),
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^ method not found in `&str`
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `contains_line_break` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 231 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_ranges.rs - line_ranges::LineRanges::line_start (line 12) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]   --> src/line_ranges.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use ruff_source_file::LineRanges;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `line_start` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/line_ranges.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 | assert_eq!(text.line_start(TextSize::from(0)), TextSize::from(0));
[INFO] [stdout]    |                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `line_start` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 12 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `line_str` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 18 - assert_eq!(text.line_start(TextSize::from(0)), TextSize::from(0));
[INFO] [stdout] 18 + assert_eq!(text.line_str(TextSize::from(0)), TextSize::from(0));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `line_start` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/line_ranges.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | assert_eq!(text.line_start(TextSize::from(4)), TextSize::from(0));
[INFO] [stdout]    |                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `line_start` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 12 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `line_str` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 19 - assert_eq!(text.line_start(TextSize::from(4)), TextSize::from(0));
[INFO] [stdout] 19 + assert_eq!(text.line_str(TextSize::from(4)), TextSize::from(0));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `line_start` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/line_ranges.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 | assert_eq!(text.line_start(TextSize::from(14)), TextSize::from(11));
[INFO] [stdout]    |                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `line_start` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 12 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `line_str` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 21 - assert_eq!(text.line_start(TextSize::from(14)), TextSize::from(11));
[INFO] [stdout] 21 + assert_eq!(text.line_str(TextSize::from(14)), TextSize::from(11));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `line_start` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/line_ranges.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 | assert_eq!(text.line_start(TextSize::from(28)), TextSize::from(23));
[INFO] [stdout]    |                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `line_start` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 12 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `line_str` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 22 - assert_eq!(text.line_start(TextSize::from(28)), TextSize::from(23));
[INFO] [stdout] 22 + assert_eq!(text.line_str(TextSize::from(28)), TextSize::from(23));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_index.rs - line_index::LineIndex::source_location (line 142) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]    --> src/line_index.rs:144:5
[INFO] [stdout]     |
[INFO] [stdout] 144 | use ruff_source_file::{LineIndex, OneIndexed, LineColumn, SourceLocation, PositionEncoding, Line};
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_ranges.rs - line_ranges::LineRanges::line_str (line 153) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]    --> src/line_ranges.rs:155:5
[INFO] [stdout]     |
[INFO] [stdout] 155 | use ruff_source_file::LineRanges;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `line_str` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:159:17
[INFO] [stdout]     |
[INFO] [stdout] 159 | assert_eq!(text.line_str(TextSize::from(3)), "First line");
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `line_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 153 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `lines_str` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 159 | assert_eq!(text.lines_str(TextSize::from(3)), "First line");
[INFO] [stdout]     |                     +
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `line_str` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:160:17
[INFO] [stdout]     |
[INFO] [stdout] 160 | assert_eq!(text.line_str(TextSize::from(14)), "second line");
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `line_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 153 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `lines_str` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 160 | assert_eq!(text.lines_str(TextSize::from(14)), "second line");
[INFO] [stdout]     |                     +
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `line_str` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 | assert_eq!(text.line_str(TextSize::from(28)), "third line");
[INFO] [stdout]     |                 ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `line_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 153 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `lines_str` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 161 | assert_eq!(text.lines_str(TextSize::from(28)), "third line");
[INFO] [stdout]     |                     +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_ranges.rs - line_ranges::LineRanges::lines_range (line 207) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]    --> src/line_ranges.rs:209:5
[INFO] [stdout]     |
[INFO] [stdout] 209 | use ruff_source_file::LineRanges;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lines_range` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:214:10
[INFO] [stdout]     |
[INFO] [stdout] 214 |     text.lines_range(TextRange::new(TextSize::from(3), TextSize::from(5))),
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `lines_range` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 207 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `line_range` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 214 -     text.lines_range(TextRange::new(TextSize::from(3), TextSize::from(5))),
[INFO] [stdout] 214 +     text.line_range(TextRange::new(TextSize::from(3), TextSize::from(5))),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lines_range` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:218:10
[INFO] [stdout]     |
[INFO] [stdout] 218 |     text.lines_range(TextRange::new(TextSize::from(3), TextSize::from(14))),
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `lines_range` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 207 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `line_range` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 218 -     text.lines_range(TextRange::new(TextSize::from(3), TextSize::from(14))),
[INFO] [stdout] 218 +     text.line_range(TextRange::new(TextSize::from(3), TextSize::from(14))),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_ranges.rs - line_ranges::LineRanges::full_line_str (line 132) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]    --> src/line_ranges.rs:134:5
[INFO] [stdout]     |
[INFO] [stdout] 134 | use ruff_source_file::LineRanges;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `full_line_str` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:138:17
[INFO] [stdout]     |
[INFO] [stdout] 138 | assert_eq!(text.full_line_str(TextSize::from(3)), "First line\n");
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `full_line_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 132 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `full_lines_str` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 138 | assert_eq!(text.full_lines_str(TextSize::from(3)), "First line\n");
[INFO] [stdout]     |                          +
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `full_line_str` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:139:17
[INFO] [stdout]     |
[INFO] [stdout] 139 | assert_eq!(text.full_line_str(TextSize::from(14)), "second line\r\n");
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `full_line_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 132 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `full_lines_str` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 139 | assert_eq!(text.full_lines_str(TextSize::from(14)), "second line\r\n");
[INFO] [stdout]     |                          +
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `full_line_str` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 | assert_eq!(text.full_line_str(TextSize::from(28)), "third line");
[INFO] [stdout]     |                 ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `full_line_str` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 132 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `full_lines_str` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 140 | assert_eq!(text.full_lines_str(TextSize::from(28)), "third line");
[INFO] [stdout]     |                          +
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/newlines.rs - newlines::UniversalNewlineIterator (line 23) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]   --> src/newlines.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | use ruff_source_file::{Line, UniversalNewlineIterator};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/line_ranges.rs - line_ranges::LineRanges::full_lines_range (line 175) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `ruff_source_file`
[INFO] [stdout]    --> src/line_ranges.rs:177:5
[INFO] [stdout]     |
[INFO] [stdout] 177 | use ruff_source_file::LineRanges;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `ruff_source_file`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `ruff_source_file`, use `cargo add ruff_source_file` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `full_lines_range` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:182:10
[INFO] [stdout]     |
[INFO] [stdout] 182 |     text.full_lines_range(TextRange::new(TextSize::from(3), TextSize::from(5))),
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `full_lines_range` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 175 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `full_line_range` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 182 -     text.full_lines_range(TextRange::new(TextSize::from(3), TextSize::from(5))),
[INFO] [stdout] 182 +     text.full_line_range(TextRange::new(TextSize::from(3), TextSize::from(5))),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `full_lines_range` found for reference `&str` in the current scope
[INFO] [stdout]    --> src/line_ranges.rs:186:10
[INFO] [stdout]     |
[INFO] [stdout] 186 |     text.full_lines_range(TextRange::new(TextSize::from(3), TextSize::from(14))),
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `LineRanges` which provides `full_lines_range` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 175 + use rustpython_ruff_source_file::LineRanges;
[INFO] [stdout]     |
[INFO] [stdout] help: there is a method `full_line_range` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 186 -     text.full_lines_range(TextRange::new(TextSize::from(3), TextSize::from(14))),
[INFO] [stdout] 186 +     text.full_line_range(TextRange::new(TextSize::from(3), TextSize::from(14))),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/line_index.rs - line_index::LineIndex::line_column (line 86)
[INFO] [stdout]     src/line_index.rs - line_index::LineIndex::line_index (line 235)
[INFO] [stdout]     src/line_index.rs - line_index::LineIndex::offset (line 323)
[INFO] [stdout]     src/line_index.rs - line_index::LineIndex::offset (line 386)
[INFO] [stdout]     src/line_index.rs - line_index::LineIndex::source_location (line 142)
[INFO] [stdout]     src/line_index.rs - line_index::OneIndexed::digits (line 639)
[INFO] [stdout]     src/line_ranges.rs - line_ranges::LineRanges::contains_line_break (line 231)
[INFO] [stdout]     src/line_ranges.rs - line_ranges::LineRanges::count_lines (line 303)
[INFO] [stdout]     src/line_ranges.rs - line_ranges::LineRanges::full_line_end (line 42)
[INFO] [stdout]     src/line_ranges.rs - line_ranges::LineRanges::full_line_range (line 85)
[INFO] [stdout]     src/line_ranges.rs - line_ranges::LineRanges::full_line_str (line 132)
[INFO] [stdout]     src/line_ranges.rs - line_ranges::LineRanges::full_lines_range (line 175)
[INFO] [stdout]     src/line_ranges.rs - line_ranges::LineRanges::full_lines_str (line 279)
[INFO] [stdout]     src/line_ranges.rs - line_ranges::LineRanges::line_end (line 62)
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout]     src/line_ranges.rs - line_ranges::LineRanges::line_range (line 109)
[INFO] [stdout]     src/line_ranges.rs - line_ranges::LineRanges::line_start (line 12)
[INFO] [stdout]     src/line_ranges.rs - line_ranges::LineRanges::line_str (line 153)
[INFO] [stdout]     src/line_ranges.rs - line_ranges::LineRanges::lines_range (line 207)
[INFO] [stdout]     src/line_ranges.rs - line_ranges::LineRanges::lines_str (line 253)
[INFO] [stdout]     src/newlines.rs - newlines::UniversalNewlineIterator (line 23)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 20 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.64s; merged doctests compilation took 0.25s
[INFO] running `Command { std: "docker" "inspect" "c3b054a9f39834198ef519f7691028c4e469d2b26be8fffc27c35e1ff5d0af47", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3b054a9f39834198ef519f7691028c4e469d2b26be8fffc27c35e1ff5d0af47", kill_on_drop: false }`
[INFO] [stdout] c3b054a9f39834198ef519f7691028c4e469d2b26be8fffc27c35e1ff5d0af47
