[INFO] fetching crate difftastic-lib 0.0.2... [INFO] testing difftastic-lib-0.0.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate difftastic-lib 0.0.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate difftastic-lib 0.0.2 [INFO] finished tweaking crates.io crate difftastic-lib 0.0.2 [INFO] tweaked toml for crates.io crate difftastic-lib 0.0.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate difftastic-lib 0.0.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate difftastic-lib 0.0.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded terminal_size v0.2.1 [INFO] [stderr] Downloaded wu-diff v0.1.2 [INFO] [stderr] Downloaded tree_magic_mini v3.0.3 [INFO] [stderr] Downloaded os_str_bytes v6.0.1 [INFO] [stderr] Downloaded const_format_proc_macros v0.2.22 [INFO] [stderr] Downloaded io-lifetimes v0.7.3 [INFO] [stderr] Downloaded mimalloc v0.1.28 [INFO] [stderr] Downloaded radix-heap v0.4.2 [INFO] [stderr] Downloaded archery v0.4.0 [INFO] [stderr] Downloaded const_format v0.2.23 [INFO] [stderr] Downloaded rpds v0.10.0 [INFO] [stderr] Downloaded tree-sitter v0.20.6 [INFO] [stderr] Downloaded petgraph v0.6.1 [INFO] [stderr] Downloaded rustix v0.35.9 [INFO] [stderr] Downloaded linux-raw-sys v0.0.46 [INFO] [stderr] Downloaded libmimalloc-sys v0.1.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd4ad8c8da3f653b9b1033b43dfbfea01b3430d675cf0d9145c28888e853d119 [INFO] running `Command { std: "docker" "start" "-a" "fd4ad8c8da3f653b9b1033b43dfbfea01b3430d675cf0d9145c28888e853d119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd4ad8c8da3f653b9b1033b43dfbfea01b3430d675cf0d9145c28888e853d119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd4ad8c8da3f653b9b1033b43dfbfea01b3430d675cf0d9145c28888e853d119", kill_on_drop: false }` [INFO] [stdout] fd4ad8c8da3f653b9b1033b43dfbfea01b3430d675cf0d9145c28888e853d119 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 767cfbc309479ba8a964945781b36fd4c19ec407a7bda88602d3541f5dd31346 [INFO] running `Command { std: "docker" "start" "-a" "767cfbc309479ba8a964945781b36fd4c19ec407a7bda88602d3541f5dd31346", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling io-lifetimes v0.7.3 [INFO] [stderr] Compiling libmimalloc-sys v0.1.24 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling rustix v0.35.9 [INFO] [stderr] Compiling tree-sitter v0.20.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling os_str_bytes v6.0.1 [INFO] [stderr] Compiling linux-raw-sys v0.0.46 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling archery v0.4.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling rpds v0.10.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling owo-colors v3.4.0 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling petgraph v0.6.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling wu-diff v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling radix-heap v0.4.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling mimalloc v0.1.28 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling const_format_proc_macros v0.2.22 [INFO] [stderr] Compiling const_format v0.2.23 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling terminal_size v0.2.1 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling tree_magic_mini v3.0.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling difftastic-lib v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `LinePosition` is never constructed [INFO] [stdout] --> src/lines.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct LinePosition { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Vertex<'_, '_>` instead of cloning the inner type [INFO] [stdout] --> src/diff/dijkstra.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | res.push((edge, prev.clone())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/parse/guess_language.rs:239:63 [INFO] [stdout] | [INFO] [stdout] 239 | let lang = match mode_name.to_ascii_lowercase().trim().borrow() { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/options.rs:304:31 [INFO] [stdout] | [INFO] [stdout] 304 | match display_mode_str.borrow() { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.14s [INFO] running `Command { std: "docker" "inspect" "767cfbc309479ba8a964945781b36fd4c19ec407a7bda88602d3541f5dd31346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "767cfbc309479ba8a964945781b36fd4c19ec407a7bda88602d3541f5dd31346", kill_on_drop: false }` [INFO] [stdout] 767cfbc309479ba8a964945781b36fd4c19ec407a7bda88602d3541f5dd31346 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eda47b5d7efb0fab9f853c18ba6c26b54802d418cbb7a7c54cec453f3ce36beb [INFO] running `Command { std: "docker" "start" "-a" "eda47b5d7efb0fab9f853c18ba6c26b54802d418cbb7a7c54cec453f3ce36beb", kill_on_drop: false }` [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stdout] warning: struct `LinePosition` is never constructed [INFO] [stdout] --> src/lines.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct LinePosition { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&Vertex<'_, '_>` instead of cloning the inner type [INFO] [stdout] --> src/diff/dijkstra.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | res.push((edge, prev.clone())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/parse/guess_language.rs:239:63 [INFO] [stdout] | [INFO] [stdout] 239 | let lang = match mode_name.to_ascii_lowercase().trim().borrow() { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/options.rs:304:31 [INFO] [stdout] | [INFO] [stdout] 304 | match display_mode_str.borrow() { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v1.2.1 [INFO] [stderr] Compiling difftastic-lib v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `LinePosition` is never constructed [INFO] [stdout] --> src/lines.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct LinePosition { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&graph::Vertex<'_, '_>` instead of cloning the inner type [INFO] [stdout] --> src/diff/dijkstra.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | res.push((edge, prev.clone())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/parse/guess_language.rs:239:63 [INFO] [stdout] | [INFO] [stdout] 239 | let lang = match mode_name.to_ascii_lowercase().trim().borrow() { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/options.rs:304:31 [INFO] [stdout] | [INFO] [stdout] 304 | match display_mode_str.borrow() { [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.65s [INFO] running `Command { std: "docker" "inspect" "eda47b5d7efb0fab9f853c18ba6c26b54802d418cbb7a7c54cec453f3ce36beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eda47b5d7efb0fab9f853c18ba6c26b54802d418cbb7a7c54cec453f3ce36beb", kill_on_drop: false }` [INFO] [stdout] eda47b5d7efb0fab9f853c18ba6c26b54802d418cbb7a7c54cec453f3ce36beb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ebc0995c4ec382576c27eeb9620e3b1215eae5565575a3e351c7bb3022e30c35 [INFO] running `Command { std: "docker" "start" "-a" "ebc0995c4ec382576c27eeb9620e3b1215eae5565575a3e351c7bb3022e30c35", kill_on_drop: false }` [INFO] [stderr] warning: struct `LinePosition` is never constructed [INFO] [stderr] --> src/lines.rs:46:8 [INFO] [stderr] | [INFO] [stderr] 46 | struct LinePosition { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&Vertex<'_, '_>` instead of cloning the inner type [INFO] [stderr] --> src/diff/dijkstra.rs:94:29 [INFO] [stderr] | [INFO] [stderr] 94 | res.push((edge, prev.clone())); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/parse/guess_language.rs:239:63 [INFO] [stderr] | [INFO] [stderr] 239 | let lang = match mode_name.to_ascii_lowercase().trim().borrow() { [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/options.rs:304:31 [INFO] [stderr] | [INFO] [stderr] 304 | match display_mode_str.borrow() { [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&graph::Vertex<'_, '_>` instead of cloning the inner type [INFO] [stderr] --> src/diff/dijkstra.rs:94:29 [INFO] [stderr] | [INFO] [stderr] 94 | res.push((edge, prev.clone())); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `difftastic-lib` (lib) generated 4 warnings (run `cargo fix --lib -p difftastic-lib` to apply 2 suggestions) [INFO] [stderr] warning: `difftastic-lib` (lib test) generated 4 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/difft_lib-b4091060fce413f2) [INFO] [stdout] [INFO] [stdout] running 80 tests [INFO] [stdout] test diff::dijkstra::tests::identical_atoms ... ok [INFO] [stdout] test diff::dijkstra::tests::atom_after_novel_list_contiguous ... ok [INFO] [stdout] test diff::dijkstra::tests::mark_syntax_different_atoms ... ok [INFO] [stdout] test diff::dijkstra::tests::mark_syntax_equal_atoms ... ok [INFO] [stdout] test diff::dijkstra::tests::repeated_atoms ... ok [INFO] [stdout] test diff::dijkstra::tests::replace_comment_prefer_most_similar ... ok [INFO] [stdout] test diff::dijkstra::tests::prefer_children_same_line ... ok [INFO] [stdout] test diff::dijkstra::tests::prefer_atoms_same_line ... ok [INFO] [stdout] test diff::dijkstra::tests::atom_after_empty_list ... ok [INFO] [stdout] test diff::dijkstra::tests::extra_atom_lhs ... ok [INFO] [stdout] test diff::dijkstra::tests::replace_very_different_comment ... ok [INFO] [stdout] test display::context::tests::test_all_lines ... ok [INFO] [stdout] test diff::dijkstra::tests::replace_similar_comment ... ok [INFO] [stdout] test display::context::tests::test_all_matched_lines ... ok [INFO] [stdout] test display::context::tests::test_compact_gaps ... ok [INFO] [stdout] test display::context::tests::test_match_blanks_between ... ok [INFO] [stdout] test display::context::tests::test_matched_lines_novel_on_same_line ... ok [INFO] [stdout] test display::context::tests::test_match_preceding_blanks_first_pair ... ok [INFO] [stdout] test display::context::tests::test_matched_lines_blank_at_ends ... ok [INFO] [stdout] test display::side_by_side::tests::test_format_missing_line_num_at_end ... ok [INFO] [stdout] test display::side_by_side::tests::test_width_calculations ... ok [INFO] [stdout] test display::context::tests::test_calculate_before_context ... ok [INFO] [stdout] test display::hunks::tests::test_matched_pos_to_hunks ... ok [INFO] [stdout] test display::context::tests::test_compact_gaps_with_larger_gap ... ok [INFO] [stdout] test display::context::tests::test_match_preceding_blanks ... ok [INFO] [stdout] test display::side_by_side::tests::test_display_hunks ... ok [INFO] [stdout] test display::hunks::tests::test_matched_lines_for_hunk ... ok [INFO] [stdout] test display::context::tests::test_merge_in_opposite_lines ... ok [INFO] [stdout] test display::side_by_side::tests::test_format_missing_line_num ... ok [INFO] [stdout] test display::style::tests::split_string_cjk ... ok [INFO] [stdout] test display::style::tests::split_string_simple ... ok [INFO] [stdout] test display::style::tests::split_string_unicode ... ok [INFO] [stdout] test display::style::tests::test_split_and_apply_gap_between_styles_on_wrap_boundary ... ok [INFO] [stdout] test display::style::tests::test_split_and_apply_missing ... ok [INFO] [stdout] test display::style::tests::test_split_and_apply_trailing_text ... ok [INFO] [stdout] test display::style::tests::test_split_and_apply_trailing_text_newline ... ok [INFO] [stdout] test display::style::tests::test_split_and_apply ... ok [INFO] [stdout] test display::style::tests::split_string_cjk2 ... ok [INFO] [stdout] test display::side_by_side::tests::test_display_single_column ... ok [INFO] [stdout] test display::style::tests::split_string_simple_no_pad ... ok [INFO] [stdout] test line_parser::tests::test_no_changes_trailing_newlines ... ok [INFO] [stdout] test line_parser::tests::test_novel_lhs_trailing_newlines ... ok [INFO] [stdout] test line_parser::tests::test_positions_no_changes ... ok [INFO] [stdout] test line_parser::tests::test_positions_whitespace_is_change ... ok [INFO] [stdout] test line_parser::tests::test_split_newlines ... ok [INFO] [stdout] test display::hunks::tests::test_matched_lines_for_hunk_misaligned ... ok [INFO] [stdout] test display::hunks::tests::test_sorted_novel_positions_simple ... ok [INFO] [stdout] test line_parser::tests::test_positions_novel_lhs ... ok [INFO] [stdout] test lines::tests::codepoint_len_non_ascii ... ok [INFO] [stdout] test lines::tests::empty_str_max_line ... ok [INFO] [stdout] test lines::tests::from_offsets_first_char ... ok [INFO] [stdout] test lines::tests::from_offsets_first_line ... ok [INFO] [stdout] test lines::tests::str_max_line_extra_trailing_newline ... ok [INFO] [stdout] test lines::tests::from_offsets_relative_to ... ok [INFO] [stdout] test lines::tests::test_split_line_single ... ok [INFO] [stdout] test lines::tests::str_max_line ... ok [INFO] [stdout] test lines::tests::str_max_line_trailing_newline ... ok [INFO] [stdout] test lines::tests::test_split_line_with_crlf ... ok [INFO] [stdout] test options::tests::test_detect_display_width ... ok [INFO] [stdout] test lines::tests::test_split_line_with_newline ... ok [INFO] [stdout] test parse::syntax::tests::test_comment_and_atom_differ ... ok [INFO] [stdout] test lines::tests::from_offsets_split_over_multiple_lines ... ok [INFO] [stdout] test lines::tests::test_split_line_with_trailing_newline ... ok [INFO] [stdout] test lines::tests::test_split_line_empty ... ok [INFO] [stdout] test parse::syntax::tests::test_atom_equality_ignores_highlighting ... ok [INFO] [stdout] test options::tests::test_app ... ok [INFO] [stdout] test parse::syntax::tests::test_flatten_trivial_list ... ok [INFO] [stdout] test parse::syntax::tests::test_ignore_empty_atoms ... ok [INFO] [stdout] test parse::syntax::tests::test_new_atom_truncates_carriage_return ... ok [INFO] [stdout] test parse::syntax::tests::test_split_words_punctuations ... ok [INFO] [stdout] test parse::syntax::tests::test_split_words_single_unicode ... ok [INFO] [stdout] test parse::syntax::tests::test_multiline_comment_ignores_leading_whitespace ... ok [INFO] [stdout] test parse::syntax::tests::test_split_words_treats_newline_separately ... ok [INFO] [stdout] test parse::syntax::tests::test_split_words ... ok [INFO] [stdout] test parse::syntax::tests::test_split_words_unicode ... ok [INFO] [stdout] test parse::syntax::tests::test_split_words_single_unicode_not_alphabetic ... ok [INFO] [stdout] test parse::syntax::tests::test_split_comment_words_basic ... ok [INFO] [stdout] test files::tests::test_plaintext_is_text ... ok [INFO] [stdout] test mainfn::tests::test_diff_identical_content ... ok [INFO] [stdout] test files::tests::test_null_bytes_are_binary ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 80 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/difft-66d8fe49371754cb) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests difft_lib [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/display/style.rs - display::style::split_string_by_width (line 65) ... FAILED [INFO] [stdout] test src/diff/unchanged.rs - diff::unchanged::split_mostly_unchanged_toplevel (line 185) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/display/style.rs - display::style::split_string_by_width (line 65) stdout ---- [INFO] [stdout] error: missing `fn` or `struct` for function or struct definition [INFO] [stdout] --> src/display/style.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 1 | split_string_by_width("fooba", 3, true) // vec![("foo", 0), ("ba", 1)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if you meant to call a macro, try [INFO] [stdout] | [INFO] [stdout] 1 | split_string_by_width!("fooba", 3, true) // vec![("foo", 0), ("ba", 1)] [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/diff/unchanged.rs - diff::unchanged::split_mostly_unchanged_toplevel (line 185) stdout ---- [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `2` [INFO] [stdout] --> src/diff/unchanged.rs:187:4 [INFO] [stdout] | [INFO] [stdout] 4 | (1 2 3 4) (a b c d) [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `3` [INFO] [stdout] --> src/diff/unchanged.rs:187:6 [INFO] [stdout] | [INFO] [stdout] 4 | (1 2 3 4) (a b c d) [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `4` [INFO] [stdout] --> src/diff/unchanged.rs:187:8 [INFO] [stdout] | [INFO] [stdout] 4 | (1 2 3 4) (a b c d) [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `b` [INFO] [stdout] --> src/diff/unchanged.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 4 | (1 2 3 4) (a b c d) [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `as` with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | (1 2 3 4) (as b c d) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `c` [INFO] [stdout] --> src/diff/unchanged.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 4 | (1 2 3 4) (a b c d) [INFO] [stdout] | -^ expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `d` [INFO] [stdout] --> src/diff/unchanged.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 4 | (1 2 3 4) (a b c d) [INFO] [stdout] | -^ expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `2` [INFO] [stdout] --> src/diff/unchanged.rs:190:4 [INFO] [stdout] | [INFO] [stdout] 7 | (1 2 novel 3 4) (a b novel-2 c d) [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `novel` [INFO] [stdout] --> src/diff/unchanged.rs:190:6 [INFO] [stdout] | [INFO] [stdout] 7 | (1 2 novel 3 4) (a b novel-2 c d) [INFO] [stdout] | -^^^^^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `3` [INFO] [stdout] --> src/diff/unchanged.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 7 | (1 2 novel 3 4) (a b novel-2 c d) [INFO] [stdout] | -^ expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `4` [INFO] [stdout] --> src/diff/unchanged.rs:190:14 [INFO] [stdout] | [INFO] [stdout] 7 | (1 2 novel 3 4) (a b novel-2 c d) [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `b` [INFO] [stdout] --> src/diff/unchanged.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 7 | (1 2 novel 3 4) (a b novel-2 c d) [INFO] [stdout] | ^ expected one of 8 possible tokens [INFO] [stdout] | [INFO] [stdout] help: there is a keyword `as` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 | (1 2 novel 3 4) (as b novel-2 c d) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `novel` [INFO] [stdout] --> src/diff/unchanged.rs:190:22 [INFO] [stdout] | [INFO] [stdout] 7 | (1 2 novel 3 4) (a b novel-2 c d) [INFO] [stdout] | -^^^^^ expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `c` [INFO] [stdout] --> src/diff/unchanged.rs:190:30 [INFO] [stdout] | [INFO] [stdout] 7 | (1 2 novel 3 4) (a b novel-2 c d) [INFO] [stdout] | -^ expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `d` [INFO] [stdout] --> src/diff/unchanged.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 7 | (1 2 novel 3 4) (a b novel-2 c d) [INFO] [stdout] | -^ expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: missing `,` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/diff/unchanged.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 4 | (1 2 3 4) (a b c d) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> src/diff/unchanged.rs:187:14 [INFO] [stdout] | [INFO] [stdout] 4 | (1 2 3 4) (a b c d) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/diff/unchanged.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 4 | (1 2 3 4) (a b c d) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d` in this scope [INFO] [stdout] --> src/diff/unchanged.rs:187:18 [INFO] [stdout] | [INFO] [stdout] 4 | (1 2 3 4) (a b c d) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `novel` in this scope [INFO] [stdout] --> src/diff/unchanged.rs:190:6 [INFO] [stdout] | [INFO] [stdout] 7 | (1 2 novel 3 4) (a b novel-2 c d) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `a` in this scope [INFO] [stdout] --> src/diff/unchanged.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 7 | (1 2 novel 3 4) (a b novel-2 c d) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `b` in this scope [INFO] [stdout] --> src/diff/unchanged.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 7 | (1 2 novel 3 4) (a b novel-2 c d) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `novel` in this scope [INFO] [stdout] --> src/diff/unchanged.rs:190:22 [INFO] [stdout] | [INFO] [stdout] 7 | (1 2 novel 3 4) (a b novel-2 c d) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `c` in this scope [INFO] [stdout] --> src/diff/unchanged.rs:190:30 [INFO] [stdout] | [INFO] [stdout] 7 | (1 2 novel 3 4) (a b novel-2 c d) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `d` in this scope [INFO] [stdout] --> src/diff/unchanged.rs:190:32 [INFO] [stdout] | [INFO] [stdout] 7 | (1 2 novel 3 4) (a b novel-2 c d) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `old` in this scope [INFO] [stdout] --> src/diff/unchanged.rs:186:3 [INFO] [stdout] | [INFO] [stdout] 3 | ; old [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new` in this scope [INFO] [stdout] --> src/diff/unchanged.rs:189:3 [INFO] [stdout] | [INFO] [stdout] 6 | ; new [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/diff/unchanged.rs - diff::unchanged::split_mostly_unchanged_toplevel (line 185) [INFO] [stdout] src/display/style.rs - display::style::split_string_by_width (line 65) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ebc0995c4ec382576c27eeb9620e3b1215eae5565575a3e351c7bb3022e30c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebc0995c4ec382576c27eeb9620e3b1215eae5565575a3e351c7bb3022e30c35", kill_on_drop: false }` [INFO] [stdout] ebc0995c4ec382576c27eeb9620e3b1215eae5565575a3e351c7bb3022e30c35