[INFO] fetching crate flav-md-engine 0.1.0... [INFO] checking flav-md-engine-0.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate flav-md-engine 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate flav-md-engine 0.1.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate flav-md-engine 0.1.0 [INFO] finished tweaking crates.io crate flav-md-engine 0.1.0 [INFO] tweaked toml for crates.io crate flav-md-engine 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 51 packages to latest compatible versions [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a02c4d63b3151ebadc59bb8b871d2f54932f57065646505c17429e9d1e91e68 [INFO] running `Command { std: "docker" "start" "-a" "4a02c4d63b3151ebadc59bb8b871d2f54932f57065646505c17429e9d1e91e68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a02c4d63b3151ebadc59bb8b871d2f54932f57065646505c17429e9d1e91e68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a02c4d63b3151ebadc59bb8b871d2f54932f57065646505c17429e9d1e91e68", kill_on_drop: false }` [INFO] [stdout] 4a02c4d63b3151ebadc59bb8b871d2f54932f57065646505c17429e9d1e91e68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87b6821cb5986e084ff87be16ddab81aa88df9c639b9fb27cc491ecd8a26b2a0 [INFO] running `Command { std: "docker" "start" "-a" "87b6821cb5986e084ff87be16ddab81aa88df9c639b9fb27cc491ecd8a26b2a0", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.43 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking flav-md-engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::lexer::pattern::list::list::ListPattern::SimpleList` [INFO] [stdout] --> src/lexer/lexer.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lexer::pattern::list::list::ListPattern::SimpleList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer/pattern/list.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let mut start_index = at; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_head` is never used [INFO] [stdout] --> src/lexer/lexer.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 29 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_head(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ElementNode` is never constructed [INFO] [stdout] --> src/lexer/lexer.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Content { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 117 | PlainText { value: String }, [INFO] [stdout] 118 | ElementNode { value: ElementNode }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Content` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `split_string` is never used [INFO] [stdout] --> src/util/string.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn split_string(content: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/lexer/builder.rs:118:65 [INFO] [stdout] | [INFO] [stdout] 118 | ... let content = parse_nested_tag(value.borrow(), indent + 2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Vec` does not implement `Borrow`, so calling `borrow` on `&Vec` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 118 - let content = parse_nested_tag(value.borrow(), indent + 2); [INFO] [stdout] 118 + let content = parse_nested_tag(value, indent + 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm-bindgen-futures v0.4.43 [INFO] [stderr] Checking wasm-bindgen-test v0.3.43 [INFO] [stdout] warning: unused import: `crate::lexer::pattern::list::list::ListPattern::SimpleList` [INFO] [stdout] --> src/lexer/lexer.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lexer::pattern::list::list::ListPattern::SimpleList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ElementNodes` and `PlainText` [INFO] [stdout] --> src/lexer/pattern/list.rs:126:51 [INFO] [stdout] | [INFO] [stdout] 126 | use crate::lexer::lexer::lexer::Content::{ElementNodes, PlainText}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::pattern::list::list::ListPattern::NumberList` [INFO] [stdout] --> src/lexer/pattern/list.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | use crate::lexer::pattern::list::list::ListPattern::NumberList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lexer/pattern/list.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let mut start_index = at; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_head` is never used [INFO] [stdout] --> src/lexer/lexer.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 29 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_head(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ElementNode` is never constructed [INFO] [stdout] --> src/lexer/lexer.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 116 | pub enum Content { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 117 | PlainText { value: String }, [INFO] [stdout] 118 | ElementNode { value: ElementNode }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Content` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/lexer/builder.rs:118:65 [INFO] [stdout] | [INFO] [stdout] 118 | ... let content = parse_nested_tag(value.borrow(), indent + 2); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Vec` does not implement `Borrow`, so calling `borrow` on `&Vec` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 118 - let content = parse_nested_tag(value.borrow(), indent + 2); [INFO] [stdout] 118 + let content = parse_nested_tag(value, indent + 2); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.59s [INFO] running `Command { std: "docker" "inspect" "87b6821cb5986e084ff87be16ddab81aa88df9c639b9fb27cc491ecd8a26b2a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87b6821cb5986e084ff87be16ddab81aa88df9c639b9fb27cc491ecd8a26b2a0", kill_on_drop: false }` [INFO] [stdout] 87b6821cb5986e084ff87be16ddab81aa88df9c639b9fb27cc491ecd8a26b2a0