[INFO] fetching crate tree_decorator 0.1.2... [INFO] checking tree_decorator-0.1.2 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate tree_decorator 0.1.2 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate tree_decorator 0.1.2 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37808a4068bdba04e21065db334a5fc03966ef6bb6cf886362ca6824b182396b [INFO] running `Command { std: "docker" "start" "-a" "37808a4068bdba04e21065db334a5fc03966ef6bb6cf886362ca6824b182396b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37808a4068bdba04e21065db334a5fc03966ef6bb6cf886362ca6824b182396b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37808a4068bdba04e21065db334a5fc03966ef6bb6cf886362ca6824b182396b", kill_on_drop: false }` [INFO] [stdout] 37808a4068bdba04e21065db334a5fc03966ef6bb6cf886362ca6824b182396b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd47a97041456f2c8e56dfd96221bc2d48ba87b2b00b28b442c04e73ded6ce03 [INFO] running `Command { std: "docker" "start" "-a" "dd47a97041456f2c8e56dfd96221bc2d48ba87b2b00b28b442c04e73ded6ce03", kill_on_drop: false }` [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking tree_decorator v0.1.2 (/opt/rustwide/workdir) [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: 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: 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: 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: 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_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: 2 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: 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: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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.69s [INFO] running `Command { std: "docker" "inspect" "dd47a97041456f2c8e56dfd96221bc2d48ba87b2b00b28b442c04e73ded6ce03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd47a97041456f2c8e56dfd96221bc2d48ba87b2b00b28b442c04e73ded6ce03", kill_on_drop: false }` [INFO] [stdout] dd47a97041456f2c8e56dfd96221bc2d48ba87b2b00b28b442c04e73ded6ce03 [INFO] checking tree_decorator-0.1.2 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate tree_decorator 0.1.2 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate tree_decorator 0.1.2 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 348ceb874b1276c49238b4f74ad8e409e2ec92a288d5c4b2b56ffef544774096 [INFO] running `Command { std: "docker" "start" "-a" "348ceb874b1276c49238b4f74ad8e409e2ec92a288d5c4b2b56ffef544774096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "348ceb874b1276c49238b4f74ad8e409e2ec92a288d5c4b2b56ffef544774096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "348ceb874b1276c49238b4f74ad8e409e2ec92a288d5c4b2b56ffef544774096", kill_on_drop: false }` [INFO] [stdout] 348ceb874b1276c49238b4f74ad8e409e2ec92a288d5c4b2b56ffef544774096 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5709e0611561ec5feeeadac8cb8b33a6a339320ce5f898ed694746d5eee2a63 [INFO] running `Command { std: "docker" "start" "-a" "e5709e0611561ec5feeeadac8cb8b33a6a339320ce5f898ed694746d5eee2a63", kill_on_drop: false }` [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking colored v1.9.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking tree_decorator v0.1.2 (/opt/rustwide/workdir) [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/decorator_builder.rs:35:50 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn with(decorator: D) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Self::with_ref(Box::::leak::<'static>(Box::new(decorator))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tree_decorator` (lib) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e5709e0611561ec5feeeadac8cb8b33a6a339320ce5f898ed694746d5eee2a63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5709e0611561ec5feeeadac8cb8b33a6a339320ce5f898ed694746d5eee2a63", kill_on_drop: false }` [INFO] [stdout] e5709e0611561ec5feeeadac8cb8b33a6a339320ce5f898ed694746d5eee2a63