[INFO] fetching crate json-escape 0.3.1... [INFO] testing json-escape-0.3.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate json-escape 0.3.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate json-escape 0.3.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate json-escape 0.3.1 [INFO] tweaked toml for crates.io crate json-escape 0.3.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate json-escape 0.3.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate json-escape 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b882c661c483245832ce2a70abca3507f52155b677d1c901c4285fbea0f8d372 [INFO] running `Command { std: "docker" "start" "-a" "b882c661c483245832ce2a70abca3507f52155b677d1c901c4285fbea0f8d372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b882c661c483245832ce2a70abca3507f52155b677d1c901c4285fbea0f8d372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b882c661c483245832ce2a70abca3507f52155b677d1c901c4285fbea0f8d372", kill_on_drop: false }` [INFO] [stdout] b882c661c483245832ce2a70abca3507f52155b677d1c901c4285fbea0f8d372 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9879582e12a78f4d0c8299af85db9afd2a549c5b47d25e6442a402db79788b80 [INFO] running `Command { std: "docker" "start" "-a" "9879582e12a78f4d0c8299af85db9afd2a549c5b47d25e6442a402db79788b80", kill_on_drop: false }` [INFO] [stderr] Compiling json-escape v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "9879582e12a78f4d0c8299af85db9afd2a549c5b47d25e6442a402db79788b80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9879582e12a78f4d0c8299af85db9afd2a549c5b47d25e6442a402db79788b80", kill_on_drop: false }` [INFO] [stdout] 9879582e12a78f4d0c8299af85db9afd2a549c5b47d25e6442a402db79788b80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 257175388cd253a2773c831a7cedb6f7dbefafb17340de0b74cec64cb27d6dfb [INFO] running `Command { std: "docker" "start" "-a" "257175388cd253a2773c831a7cedb6f7dbefafb17340de0b74cec64cb27d6dfb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling json-escape v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.61s [INFO] running `Command { std: "docker" "inspect" "257175388cd253a2773c831a7cedb6f7dbefafb17340de0b74cec64cb27d6dfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "257175388cd253a2773c831a7cedb6f7dbefafb17340de0b74cec64cb27d6dfb", kill_on_drop: false }` [INFO] [stdout] 257175388cd253a2773c831a7cedb6f7dbefafb17340de0b74cec64cb27d6dfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4706c74b11be8731d53b59d41020d948e8d31d4a54c8e72357fc0d56c5d2d373 [INFO] running `Command { std: "docker" "start" "-a" "4706c74b11be8731d53b59d41020d948e8d31d4a54c8e72357fc0d56c5d2d373", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/json_escape-d1233b039765d581) [INFO] [stdout] running 114 tests [INFO] [stdout] test explicit::tests::escape_chunks ... ok [INFO] [stdout] test explicit::tests::sync_regression ... ok [INFO] [stdout] test explicit::tests::test_escape_against_collected_string ... ok [INFO] [stdout] test explicit::tests::unescape_chunks ... ok [INFO] [stdout] test explicit::tests::unescape_error_propagation ... ok [INFO] [stdout] test explicit::tests::test_unescape_against_collected_string ... ok [INFO] [stdout] test stream::assumptions_tests::lone_surrogate_is_not_eof ... ok [INFO] [stdout] test stream::assumptions_tests::insufficient_data_is_not_lone_surrogate ... ok [INFO] [stdout] test stream::assumptions_tests::unescape_keeps_erroring ... ok [INFO] [stdout] test stream::assumptions_tests::unescape_does_not_commit_on_error ... ok [INFO] [stdout] test stream::tests::test_clear_after_error ... ok [INFO] [stdout] test stream::tests::macro_stream ... ok [INFO] [stdout] test stream::tests::test_empty_chunks ... ok [INFO] [stdout] test stream::tests::test_error_across_boundary_invalid_escape ... ok [INFO] [stdout] test stream::tests::test_error_across_boundary_not_low_surrogate ... ok [INFO] [stdout] test stream::tests::test_error_across_boundary_lone_surrogate ... ok [INFO] [stdout] test stream::tests::test_error_after_successful_boundary ... ok [INFO] [stdout] test stream::tests::test_finish_error_on_incomplete_escape ... ok [INFO] [stdout] test stream::tests::test_finish_error_on_incomplete_unicode ... ok [INFO] [stdout] test stream::tests::test_finish_success ... ok [INFO] [stdout] test stream::tests::test_multiple_chunks_no_escapes ... ok [INFO] [stdout] test stream::tests::test_split_before_escape ... ok [INFO] [stdout] test stream::tests::test_single_chunk_with_escapes ... ok [INFO] [stdout] test stream::tests::test_split_during_simple_escape ... ok [INFO] [stdout] test stream::tests::test_split_during_surrogate_pair ... ok [INFO] [stdout] test stream::tests::test_split_in_second_surrogate ... ok [INFO] [stdout] test stream::tests::test_split_between_surrogate_pair_halves ... ok [INFO] [stdout] test stream::tests::test_unescape_from_source_dst_error ... ok [INFO] [stdout] test stream::tests::test_single_chunk_no_escapes ... ok [INFO] [stdout] test tests::lossy_replaces_invalid_start_byte ... ok [INFO] [stdout] test tests::strict_errors_on_invalid_start_byte ... ok [INFO] [stdout] test tests::strict_valid_multi_byte_split ... ok [INFO] [stdout] test tests::test_byte_table ... ok [INFO] [stdout] test tests::sync_regression ... ok [INFO] [stdout] test stream::tests::test_tiny_chunks_across_surrogate_pair ... ok [INFO] [stdout] test stream::tests::test_split_during_unicode_escape ... ok [INFO] [stdout] test tests::test_backslash ... ok [INFO] [stdout] test stream::tests::test_unescape_from_source_src_error ... ok [INFO] [stdout] test tests::test_different_chunk_boundaries_bytes ... ok [INFO] [stdout] test tests::test_complex_remainer_logic ... ok [INFO] [stdout] test tests::test_control_chars ... ok [INFO] [stdout] test tests::bytes_provenance ... ok [INFO] [stdout] test tests::lossy_handles_trailing_incomplete_bytes ... ok [INFO] [stdout] test tests::test_display_lossy_invalid_source_utf8 ... ok [INFO] [stdout] test tests::test_display_empty_string ... ok [INFO] [stdout] test tests::test_display_err_high_surrogate_not_followed_by_low ... ok [INFO] [stdout] test tests::test_display_simple_string ... ok [INFO] [stdout] test tests::test_display_standard_escapes ... ok [INFO] [stdout] test tests::test_display_err_invalid_escape ... ok [INFO] [stdout] test tests::test_display_err_invalid_hex_in_unicode ... ok [INFO] [stdout] test tests::test_display_err_invalid_source_utf8 ... ok [INFO] [stdout] test tests::test_display_starts_and_ends_with_escape ... ok [INFO] [stdout] test tests::test_display_err_lone_high_surrogate ... ok [INFO] [stdout] test tests::test_empty_iterators_are_equal ... ok [INFO] [stdout] test tests::test_display_lossy_incomplete_unicode_truncates ... ok [INFO] [stdout] test tests::test_display_lossy_invalid_escape_truncates ... ok [INFO] [stdout] test tests::test_display_unicode_escape_bmp ... ok [INFO] [stdout] test tests::test_empty_vs_non_empty ... ok [INFO] [stdout] test tests::test_display_err_incomplete_unicode ... ok [INFO] [stdout] test tests::test_empty_string ... ok [INFO] [stdout] test tests::test_display_non_escaped_utf8 ... ok [INFO] [stdout] test tests::test_display_mixed_content ... ok [INFO] [stdout] test tests::test_different_chunk_boundaries_str ... ok [INFO] [stdout] test tests::test_iterator_chunks ... ok [INFO] [stdout] test tests::test_no_escape_needed ... ok [INFO] [stdout] test tests::test_invalid_escape_unescape ... ok [INFO] [stdout] test tests::test_quotes ... ok [INFO] [stdout] test tests::test_read_empty_input ... ok [INFO] [stdout] test tests::test_escape_fully ... ok [INFO] [stdout] test tests::test_read_error_lone_surrogate ... ok [INFO] [stdout] test tests::test_read_into_empty_buffer ... ok [INFO] [stdout] test tests::test_read_error_invalid_escape ... ok [INFO] [stdout] test tests::test_read_multibyte_char_across_buffer_boundary ... ok [INFO] [stdout] test tests::test_read_into_small_buffer_multiple_calls ... ok [INFO] [stdout] test tests::test_read_simple ... ok [INFO] [stdout] test tests::test_read_with_simple_escapes ... ok [INFO] [stdout] test tests::test_one_long_vs_many_short ... ok [INFO] [stdout] test tests::test_one_is_prefix_of_other ... ok [INFO] [stdout] test tests::test_other_control_chars ... ok [INFO] [stdout] test tests::test_simple_unescape ... ok [INFO] [stdout] test tests::test_single_identical_chunks ... ok [INFO] [stdout] test token::find_escape_char_tests::test_remainder_logic ... ok [INFO] [stdout] test token::find_escape_char_tests::test_simd_chunk_boundaries ... ok [INFO] [stdout] test tests::test_slash ... ok [INFO] [stdout] test tests::test_surrogate_pair_unescape ... ok [INFO] [stdout] test tests::test_truncated_unicode ... ok [INFO] [stdout] test tests::test_unequal_at_chunk_boundary ... ok [INFO] [stdout] test tests::test_unequal_content_same_length ... ok [INFO] [stdout] test tests::test_unicode_escape_basic_unescape ... ok [INFO] [stdout] test tests::test_with_vec_references ... ok [INFO] [stdout] test token::find_escape_char_tests::test_all_escapable_bytes_individually ... ok [INFO] [stdout] test token::find_escape_char_tests::test_finds_first_of_multiple ... ok [INFO] [stdout] test token::find_escape_char_tests::test_single_escapes ... ok [INFO] [stdout] test token::tests::test_dangling_backslash ... ok [INFO] [stdout] test token::tests::test_display_unescape_error ... ok [INFO] [stdout] test token::tests::test_display_unescape_tokens ... ok [INFO] [stdout] test token::tests::test_escape_simple ... ok [INFO] [stdout] test token::tests::test_escape_to_cow_borrowed ... ok [INFO] [stdout] test token::tests::test_escape_to_cow_owned ... ok [INFO] [stdout] test token::tests::test_incomplete_escape_at_end ... ok [INFO] [stdout] test token::tests::test_invalid_escape_yields_literal_first ... ok [INFO] [stdout] test token::tests::test_display_escape_tokens ... ok [INFO] [stdout] test token::tests::test_empty_string ... ok [INFO] [stdout] test token::tests::test_pure_literal ... ok [INFO] [stdout] test token::tests::test_starts_with_escape ... ok [INFO] [stdout] test token::tests::test_simple_escapes ... ok [INFO] [stdout] test token::tests::test_ends_with_escape ... ok [INFO] [stdout] test token::tests::test_escape_no_escapes ... ok [INFO] [stdout] test token::tests::test_unescape_to_cow_owned ... ok [INFO] [stdout] test token::tests::test_unicode_and_surrogate ... ok [INFO] [stdout] test token::tests::test_sticky_error_behavior ... ok [INFO] [stdout] test token::tests::test_unescape_to_cow_borrowed ... ok [INFO] [stdout] test token::find_escape_char_tests::test_no_escapes ... ok [INFO] [stdout] test tests::test_read_to_end_optimized ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 114 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests json_escape [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test src/lib.rs - Unescape (line 425) ... ok [INFO] [stdout] test src/lib.rs - (line 41) ... ok [INFO] [stdout] test src/lib.rs - (line 19) ... ok [INFO] [stdout] test src/explicit.rs - explicit::Unescape<'b>::eq (line 581) ... ok [INFO] [stdout] test src/lib.rs - Escape<'_>::fmt (line 166) ... ok [INFO] [stdout] test src/lib.rs - Unescape (line 415) ... ok [INFO] [stdout] test src/lib.rs - Unescape (line 391) ... ok [INFO] [stdout] test src/lib.rs - Escape<'_>::eq (line 196) ... ok [INFO] [stdout] test src/lib.rs - Result::eq (line 871) ... ok [INFO] [stdout] test src/lib.rs - Unescape (line 464) ... ok [INFO] [stdout] test src/lib.rs - Unescape (line 405) ... ok [INFO] [stdout] test src/explicit.rs - explicit::Unescape<'a>::decode_utf8 (line 402) ... ok [INFO] [stdout] test src/explicit.rs - explicit::unescape_quoted (line 282) ... ok [INFO] [stdout] test src/lib.rs - Cow<'a,str>::from (line 244) ... ok [INFO] [stdout] test src/lib.rs - Unescape<'a>::decode_utf8 (line 590) ... ok [INFO] [stdout] test src/explicit.rs - explicit (line 20) ... ok [INFO] [stdout] test src/lib.rs - Unescape<'_>::eq (line 829) ... ok [INFO] [stdout] test src/explicit.rs - explicit (line 41) ... ok [INFO] [stdout] test src/lib.rs - Unescape<'b>::eq (line 922) ... ok [INFO] [stdout] test src/lib.rs - UnescapeError::offset (line 1176) ... ok [INFO] [stdout] test src/lib.rs - UnescapeError::kind (line 1147) ... ok [INFO] [stdout] test src/lib.rs - Unescape<'a>::display_utf8 (line 645) ... ok [INFO] [stdout] test src/stream.rs - stream::unescape_stream_into (line 127) ... FAILED [INFO] [stdout] test src/lib.rs - escape_str (line 103) ... ok [INFO] [stdout] test src/lib.rs - unescape_quoted (line 314) ... ok [INFO] [stdout] test src/lib.rs - unescape (line 282) ... ok [INFO] [stdout] test src/stream.rs - stream::unescape_stream_into (line 165) ... FAILED [INFO] [stdout] test src/stream.rs - stream (line 42) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/stream.rs - stream::unescape_stream_into (line 127) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `json_escape::stream::unescape_stream_into` [INFO] [stdout] --> src/stream.rs:129:27 [INFO] [stdout] | [INFO] [stdout] 129 | use json_escape::stream::{unescape_stream_into, UnescapeStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `unescape_stream_into` in `stream` [INFO] [stdout] | [INFO] [stdout] = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined [INFO] [stdout] help: a macro with this name exists at the root of the crate [INFO] [stdout] | [INFO] [stdout] 129 - use json_escape::stream::{unescape_stream_into, UnescapeStream}; [INFO] [stdout] 129 + use json_escape::{unescape_stream_into, stream::{UnescapeStream}}; [INFO] [stdout] | [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/stream.rs - stream::unescape_stream_into (line 165) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `json_escape::stream::unescape_stream_into` [INFO] [stdout] --> src/stream.rs:167:27 [INFO] [stdout] | [INFO] [stdout] 167 | use json_escape::stream::{unescape_stream_into, UnescapeStream}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `unescape_stream_into` in `stream` [INFO] [stdout] | [INFO] [stdout] = note: this could be because a macro annotated with `#[macro_export]` will be exported at the root of the crate instead of the module where it is defined [INFO] [stdout] help: a macro with this name exists at the root of the crate [INFO] [stdout] | [INFO] [stdout] 167 - use json_escape::stream::{unescape_stream_into, UnescapeStream}; [INFO] [stdout] 167 + use json_escape::{unescape_stream_into, stream::{UnescapeStream}}; [INFO] [stdout] | [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] [INFO] [stdout] failures: [INFO] [stdout] src/stream.rs - stream::unescape_stream_into (line 127) [INFO] [stdout] src/stream.rs - stream::unescape_stream_into (line 165) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 26 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.30s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.53s; merged doctests compilation took 0.22s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4706c74b11be8731d53b59d41020d948e8d31d4a54c8e72357fc0d56c5d2d373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4706c74b11be8731d53b59d41020d948e8d31d4a54c8e72357fc0d56c5d2d373", kill_on_drop: false }` [INFO] [stdout] 4706c74b11be8731d53b59d41020d948e8d31d4a54c8e72357fc0d56c5d2d373