[INFO] fetching crate tree_decorator 0.1.2... [INFO] checking tree_decorator-0.1.2 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate tree_decorator 0.1.2 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate tree_decorator 0.1.2 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tree_decorator 0.1.2 [INFO] finished tweaking crates.io crate tree_decorator 0.1.2 [INFO] tweaked toml for crates.io crate tree_decorator 0.1.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 37 packages to latest compatible versions [INFO] [stderr] Adding colored v1.9.4 (latest: v2.1.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.4.0) [INFO] [stderr] Adding simple_logger v1.16.0 (latest: v5.0.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple_logger v1.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca0a9f5a2d4cce68059c8f4904211d2e935ec313b528d3c1344a0ee0ce948b78 [INFO] running `Command { std: "docker" "start" "-a" "ca0a9f5a2d4cce68059c8f4904211d2e935ec313b528d3c1344a0ee0ce948b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca0a9f5a2d4cce68059c8f4904211d2e935ec313b528d3c1344a0ee0ce948b78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca0a9f5a2d4cce68059c8f4904211d2e935ec313b528d3c1344a0ee0ce948b78", kill_on_drop: false }` [INFO] [stdout] ca0a9f5a2d4cce68059c8f4904211d2e935ec313b528d3c1344a0ee0ce948b78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3be5852a023be4fbe4f13a350d6fc2302cc5cb90a0780bbf63a0d5ef2801b22c [INFO] running `Command { std: "docker" "start" "-a" "3be5852a023be4fbe4f13a350d6fc2302cc5cb90a0780bbf63a0d5ef2801b22c", kill_on_drop: false }` [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking tree_decorator v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | &mut ELEMENT_HANDLER [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 167 | addr_of_mut!(ELEMENT_HANDLER) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `style` is never read [INFO] [stdout] --> src/element_handler.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 110 | struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 111 | pub representation: String, [INFO] [stdout] 112 | pub style: Style [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking simple_logger v1.16.0 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/test_output.rs:21:47 [INFO] [stdout] | [INFO] [stdout] 21 | ... if let Some(b) = &BUFFER { [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(b) = addr_of!(BUFFER) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/test_output.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(b) = &BUFFER { [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(b) = addr_of!(BUFFER) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:20:47 [INFO] [stdout] | [INFO] [stdout] 20 | ... if let Some(b) = &BUFFER { [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 20 | if let Some(b) = addr_of!(BUFFER) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | if let Some(b) = &BUFFER { [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 58 | if let Some(b) = addr_of!(BUFFER) { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_output.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | tree_item!(block, "Root"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_output.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | tree_item!(entry, "Item A"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_output.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | tree_item!(entry: Entry::None, "Small Description"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_output.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | tree_item!(dashed, "Other Small Description"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_output.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | tree_item!(last; block, "Item B"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_output.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | tree_item!("Item Ba"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_output.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | tree_item!(block, "Item Bb"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_output.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | tree_item!(last, "Item Bba"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_output.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | tree_item!(last, "Item Bc"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_items_level.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | tree_item!(block, "Root"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_items_level.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | tree_item!("Item A"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_items_level.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | tree_item!("Small Description"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_items_level.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | tree_item!("Other Small Description"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_items_level.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | tree_item!(last; block, "Item B"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_items_level.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | tree_item!("Item Ba"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_items_level.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | tree_item!(block, "Item Bb"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_items_level.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | tree_item!(last, "Item Bba"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_items_level.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | tree_item!(last, "Item Bc"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | &mut ELEMENT_HANDLER [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 167 | addr_of_mut!(ELEMENT_HANDLER) [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | tree_item!(block, "Very Nested Items"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | tree_item!("A"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | tree_item!(block, "B"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | tree_item!(block; last, "B.a"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | tree_item!("B.a.a"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | tree_item!("B.a.b"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | tree_item!("B.a.c"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | tree_item!(block, "B.a.c"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | tree_item!("B.a.c.a"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | tree_item!("B.a.c.b"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | tree_item!(last, "B.a.c.c"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `style` is never read [INFO] [stdout] --> src/element_handler.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 110 | struct Block { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 111 | pub representation: String, [INFO] [stdout] 112 | pub style: Style [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | tree_item!(last, "B.a.d"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | tree_item!("C"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | tree_item!("D"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | tree_item!("E"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `String::as_str` that must be used [INFO] [stdout] --> tests/test_multiple_nested_levels.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | tree_item!(last, "F"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `tree_item` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.86s [INFO] running `Command { std: "docker" "inspect" "3be5852a023be4fbe4f13a350d6fc2302cc5cb90a0780bbf63a0d5ef2801b22c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3be5852a023be4fbe4f13a350d6fc2302cc5cb90a0780bbf63a0d5ef2801b22c", kill_on_drop: false }` [INFO] [stdout] 3be5852a023be4fbe4f13a350d6fc2302cc5cb90a0780bbf63a0d5ef2801b22c