[INFO] fetching crate text_components 0.1.6... [INFO] testing text_components-0.1.6 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate text_components 0.1.6 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate text_components 0.1.6 [INFO] finished tweaking crates.io crate text_components 0.1.6 [INFO] tweaked toml for crates.io crate text_components 0.1.6 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate text_components 0.1.6 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate text_components 0.1.6 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded supports-hyperlinks v3.2.0 [INFO] [stderr] Downloaded simdnbt-derive v0.9.0 [INFO] [stderr] Downloaded zmij v1.0.9 [INFO] [stderr] Downloaded simdnbt v0.9.0 [INFO] [stderr] Downloaded simd_cesu8 v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a3dd1a1c543336e34b8cb58f2538210aedb47f79764a7b2711297ee871227e4 [INFO] running `Command { std: "docker" "start" "-a" "4a3dd1a1c543336e34b8cb58f2538210aedb47f79764a7b2711297ee871227e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a3dd1a1c543336e34b8cb58f2538210aedb47f79764a7b2711297ee871227e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a3dd1a1c543336e34b8cb58f2538210aedb47f79764a7b2711297ee871227e4", kill_on_drop: false }` [INFO] [stdout] 4a3dd1a1c543336e34b8cb58f2538210aedb47f79764a7b2711297ee871227e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6d2f68355a4d4f73c31ec4110572e6d0af393cfc32a215ddeac9ce277988d58 [INFO] running `Command { std: "docker" "start" "-a" "d6d2f68355a4d4f73c31ec4110572e6d0af393cfc32a215ddeac9ce277988d58", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling supports-hyperlinks v3.2.0 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling text_components v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.71s [INFO] running `Command { std: "docker" "inspect" "d6d2f68355a4d4f73c31ec4110572e6d0af393cfc32a215ddeac9ce277988d58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6d2f68355a4d4f73c31ec4110572e6d0af393cfc32a215ddeac9ce277988d58", kill_on_drop: false }` [INFO] [stdout] d6d2f68355a4d4f73c31ec4110572e6d0af393cfc32a215ddeac9ce277988d58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b5afa5238c770e127750fc8a4f236388162d66e516a9a03a22d58ec7a15edec [INFO] running `Command { std: "docker" "start" "-a" "3b5afa5238c770e127750fc8a4f236388162d66e516a9a03a22d58ec7a15edec", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling zmij v1.0.9 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling text_components v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.40s [INFO] running `Command { std: "docker" "inspect" "3b5afa5238c770e127750fc8a4f236388162d66e516a9a03a22d58ec7a15edec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b5afa5238c770e127750fc8a4f236388162d66e516a9a03a22d58ec7a15edec", kill_on_drop: false }` [INFO] [stdout] 3b5afa5238c770e127750fc8a4f236388162d66e516a9a03a22d58ec7a15edec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a3130ea7d413dff5be8046a24e8537d8bc0ed8587a2fa364eb2f6a66efb4ec99 [INFO] running `Command { std: "docker" "start" "-a" "a3130ea7d413dff5be8046a24e8537d8bc0ed8587a2fa364eb2f6a66efb4ec99", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/text_components-4c07ee1625197253) [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] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/text_components-713fa38302f40f4b) [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 text_components [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test src/lib.rs - TextComponent (line 39) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent::player_head (line 208) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent (line 43) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent::plain (line 135) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent::plain (line 140) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent::const_plain (line 118) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent (line 29) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent::translated (line 161) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent::atlas (line 186) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent (line 69) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent::scoreboard (line 226) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent::entity (line 250) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent (line 79) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent::translated (line 156) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent::nbt (line 276) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent (line 47) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent (line 74) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent::translated (line 165) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent::translated (line 169) ... FAILED [INFO] [stdout] test src/lib.rs - TextComponent (line 53) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - TextComponent (line 39) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `component` in this scope [INFO] [stdout] --> src/lib.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | component.insert("Insert text here!"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent::player_head (line 208) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `TextComponent` in this scope [INFO] [stdout] --> src/lib.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | TextComponent::player_head(ObjectPlayer::name("Jeb_"), true); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextComponent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 208 + use text_components::TextComponent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ObjectPlayer` in this scope [INFO] [stdout] --> src/lib.rs:210:28 [INFO] [stdout] | [INFO] [stdout] 210 | TextComponent::player_head(ObjectPlayer::name("Jeb_"), true); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ObjectPlayer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 208 + use text_components::content::ObjectPlayer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent (line 43) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `component` in this scope [INFO] [stdout] --> src/lib.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | component.hover_event(HoverEvent::show_text("Click me!")); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `HoverEvent` in this scope [INFO] [stdout] --> src/lib.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | component.hover_event(HoverEvent::show_text("Click me!")); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `HoverEvent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 43 + use text_components::interactivity::HoverEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent::plain (line 135) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `TextComponent` in this scope [INFO] [stdout] --> src/lib.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | TextComponent::plain("Test Component"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextComponent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 135 + use text_components::TextComponent; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent::plain (line 140) stdout ---- [INFO] [stdout] error[E0425]: cannot find type `TextComponent` in this scope [INFO] [stdout] --> src/lib.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 141 | let component: TextComponent = "Test Component".into(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 140 + use text_components::TextComponent; [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 E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent::const_plain (line 118) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `TextComponent` in this scope [INFO] [stdout] --> src/lib.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | TextComponent::const_plain("Test Component"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextComponent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 118 + use text_components::TextComponent; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent (line 29) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `TextComponent` in this scope [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | TextComponent::plain("Plain text").color(Color::Red); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextComponent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 29 + use text_components::TextComponent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Color` in this scope [INFO] [stdout] --> src/lib.rs:31:42 [INFO] [stdout] | [INFO] [stdout] 31 | TextComponent::plain("Plain text").color(Color::Red); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 29 + use colored::Color; [INFO] [stdout] | [INFO] [stdout] 29 + use text_components::format::Color; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRANSLATION_TEST` in this scope [INFO] [stdout] --> src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | TRANSLATION_TEST.italic(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bold` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/lib.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | "String Slice".bold(true); [INFO] [stdout] | ^^^^ method not found in `&'static str` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits which provide `bold` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 29 + use colored::Colorize; [INFO] [stdout] | [INFO] [stdout] 29 + use text_components::Modifier; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent::translated (line 161) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:162:67 [INFO] [stdout] | [INFO] [stdout] 162 | let component: TextComponent = ITEM_MINECRAFT_DIAMOND_SWORD.into() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 163 | } _doctest_main_src_lib_rs_161_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `TextComponent` in this scope [INFO] [stdout] --> src/lib.rs:162:16 [INFO] [stdout] | [INFO] [stdout] 162 | let component: TextComponent = ITEM_MINECRAFT_DIAMOND_SWORD.into() [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 161 + use text_components::TextComponent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ITEM_MINECRAFT_DIAMOND_SWORD` in this scope [INFO] [stdout] --> src/lib.rs:162:32 [INFO] [stdout] | [INFO] [stdout] 162 | let component: TextComponent = ITEM_MINECRAFT_DIAMOND_SWORD.into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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] ---- src/lib.rs - TextComponent::atlas (line 186) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `TextComponent` in this scope [INFO] [stdout] --> src/lib.rs:188:1 [INFO] [stdout] | [INFO] [stdout] 188 | TextComponent::atlas("item/diamond_sword", Some("minecraft:items")); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextComponent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 186 + use text_components::TextComponent; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent (line 69) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `TextComponent` in this scope [INFO] [stdout] --> src/lib.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | let component = TextComponent::plain("Component to build"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextComponent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 69 + use text_components::TextComponent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `resolutor` in this scope [INFO] [stdout] --> src/lib.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | component.build(resolutor, target); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `target` in this scope [INFO] [stdout] --> src/lib.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | component.build(resolutor, target); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent::scoreboard (line 226) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `TextComponent` in this scope [INFO] [stdout] --> src/lib.rs:228:1 [INFO] [stdout] | [INFO] [stdout] 228 | TextComponent::scoreboard("@p", "deaths"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextComponent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 226 + use text_components::TextComponent; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent::entity (line 250) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `TextComponent` in this scope [INFO] [stdout] --> src/lib.rs:252:1 [INFO] [stdout] | [INFO] [stdout] 252 | TextComponent::entity("@a", Some(" ".into())); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextComponent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 250 + use text_components::TextComponent; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent (line 79) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `TextComponent` in this scope [INFO] [stdout] --> src/lib.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | let component = TextComponent::plain("Component to build"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextComponent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 79 + use text_components::TextComponent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `resolutor` in this scope [INFO] [stdout] --> src/lib.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | component.to_plain(resolutor); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `resolutor` in this scope [INFO] [stdout] --> src/lib.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | component.to_pretty(resolutor); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent::translated (line 156) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `TextComponent` in this scope [INFO] [stdout] --> src/lib.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | TextComponent::translated(ITEM_MINECRAFT_DIAMOMD_SWORD.msg()); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextComponent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 156 + use text_components::TextComponent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ITEM_MINECRAFT_DIAMOMD_SWORD` in this scope [INFO] [stdout] --> src/lib.rs:158:27 [INFO] [stdout] | [INFO] [stdout] 158 | TextComponent::translated(ITEM_MINECRAFT_DIAMOMD_SWORD.msg()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent::nbt (line 276) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `TextComponent` in this scope [INFO] [stdout] --> src/lib.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | TextComponent::nbt("Health", NbtSource::entity("@p"), false, None); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextComponent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 276 + use text_components::TextComponent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `NbtSource` in this scope [INFO] [stdout] --> src/lib.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | TextComponent::nbt("Health", NbtSource::entity("@p"), false, None); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NbtSource` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 276 + use text_components::content::NbtSource; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent (line 47) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `component` in this scope [INFO] [stdout] --> src/lib.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | component.click_event( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `ClickEvent` in this scope [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | ClickEvent::open_url("https://www.minecraft.net/") [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ClickEvent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 47 + use text_components::interactivity::ClickEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent (line 74) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `TextComponent` in this scope [INFO] [stdout] --> src/lib.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let component = TextComponent::plain("Component to build"); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextComponent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 74 + use text_components::TextComponent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `resolutor` in this scope [INFO] [stdout] --> src/lib.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | component.resolve(resolutor).serialize(serializer); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `serializer` in this scope [INFO] [stdout] --> src/lib.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | component.resolve(resolutor).serialize(serializer); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent::translated (line 165) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `ITEM_MINECRAFT_DIAMOND_SWORD` in this scope [INFO] [stdout] --> src/lib.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | ITEM_MINECRAFT_DIAMOND_SWORD.msg().component() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent::translated (line 169) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `TextComponent` in this scope [INFO] [stdout] --> src/lib.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | TextComponent::translated(DEATH_ATTACK_INDIRECT_MAGIC.message(["The Rust compiler", "you"])); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextComponent` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 169 + use text_components::TextComponent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEATH_ATTACK_INDIRECT_MAGIC` in this scope [INFO] [stdout] --> src/lib.rs:171:27 [INFO] [stdout] | [INFO] [stdout] 171 | TextComponent::translated(DEATH_ATTACK_INDIRECT_MAGIC.message(["The Rust compiler", "you"])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TextComponent (line 53) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `component` in this scope [INFO] [stdout] --> src/lib.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | component.add_child("Child 1"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `component` in this scope [INFO] [stdout] --> src/lib.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | component.add_children(vec![ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CHILD_THREE` in this scope [INFO] [stdout] --> src/lib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | CHILD_THREE.italic(true), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `color` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/lib.rs:56:15 [INFO] [stdout] | [INFO] [stdout] 56 | "Child 2".color("#bf00ff"), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits which provide `color` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 53 + use colored::Colorize; [INFO] [stdout] | [INFO] [stdout] 53 + use text_components::Modifier; [INFO] [stdout] | [INFO] [stdout] help: there is a method `on_color` with a similar name [INFO] [stdout] | [INFO] [stdout] 56 | "Child 2".on_color("#bf00ff"), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - TextComponent (line 29) [INFO] [stdout] src/lib.rs - TextComponent (line 39) [INFO] [stdout] src/lib.rs - TextComponent (line 43) [INFO] [stdout] src/lib.rs - TextComponent (line 47) [INFO] [stdout] src/lib.rs - TextComponent (line 53) [INFO] [stdout] src/lib.rs - TextComponent (line 69) [INFO] [stdout] src/lib.rs - TextComponent (line 74) [INFO] [stdout] src/lib.rs - TextComponent (line 79) [INFO] [stdout] src/lib.rs - TextComponent::atlas (line 186) [INFO] [stdout] src/lib.rs - TextComponent::const_plain (line 118) [INFO] [stdout] src/lib.rs - TextComponent::entity (line 250) [INFO] [stdout] src/lib.rs - TextComponent::nbt (line 276) [INFO] [stdout] src/lib.rs - TextComponent::plain (line 135) [INFO] [stdout] src/lib.rs - TextComponent::plain (line 140) [INFO] [stdout] src/lib.rs - TextComponent::player_head (line 208) [INFO] [stdout] src/lib.rs - TextComponent::scoreboard (line 226) [INFO] [stdout] src/lib.rs - TextComponent::translated (line 156) [INFO] [stdout] src/lib.rs - TextComponent::translated (line 161) [INFO] [stdout] src/lib.rs - TextComponent::translated (line 165) [INFO] [stdout] src/lib.rs - TextComponent::translated (line 169) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 20 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.87s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.11s; merged doctests compilation took 0.24s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a3130ea7d413dff5be8046a24e8537d8bc0ed8587a2fa364eb2f6a66efb4ec99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3130ea7d413dff5be8046a24e8537d8bc0ed8587a2fa364eb2f6a66efb4ec99", kill_on_drop: false }` [INFO] [stdout] a3130ea7d413dff5be8046a24e8537d8bc0ed8587a2fa364eb2f6a66efb4ec99