[INFO] fetching crate dprint-plugin-css 0.2.3... [INFO] testing dprint-plugin-css-0.2.3 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate dprint-plugin-css 0.2.3 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate dprint-plugin-css 0.2.3 [INFO] finished tweaking crates.io crate dprint-plugin-css 0.2.3 [INFO] tweaked toml for crates.io crate dprint-plugin-css 0.2.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dprint-plugin-css 0.2.3 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 34 packages to latest compatible versions [INFO] [stderr] Adding dprint-core v0.50.1 (available: v0.67.4) [INFO] [stderr] Adding dprint-development v0.5.0 (available: v0.10.1) [INFO] [stderr] Adding raffia v0.2.0 (available: v0.11.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dprint-development v0.5.0 [INFO] [stderr] Downloaded console v0.14.1 [INFO] [stderr] Downloaded terminal_size v0.1.17 [INFO] [stderr] Downloaded dprint-core v0.50.1 [INFO] [stderr] Downloaded raffia_macro v0.1.1 [INFO] [stderr] Downloaded similar v1.3.0 [INFO] [stderr] Downloaded raffia v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7466d438baa9e246ba2d2e218a9352d9737cc160c8f9cb956578b46b6e72b09 [INFO] running `Command { std: "docker" "start" "-a" "c7466d438baa9e246ba2d2e218a9352d9737cc160c8f9cb956578b46b6e72b09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7466d438baa9e246ba2d2e218a9352d9737cc160c8f9cb956578b46b6e72b09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7466d438baa9e246ba2d2e218a9352d9737cc160c8f9cb956578b46b6e72b09", kill_on_drop: false }` [INFO] [stdout] c7466d438baa9e246ba2d2e218a9352d9737cc160c8f9cb956578b46b6e72b09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3bb8d2e530342aed8cc765e2afca290ecffe33307e43d25d15267a0fccd215b [INFO] running `Command { std: "docker" "start" "-a" "e3bb8d2e530342aed8cc765e2afca290ecffe33307e43d25d15267a0fccd215b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling raffia_macro v0.1.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling dprint-core v0.50.1 [INFO] [stderr] Compiling raffia v0.2.0 [INFO] [stderr] Compiling dprint-plugin-css v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `tracing` [INFO] [stdout] --> src/lib.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "tracing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde_json` and `wasm` [INFO] [stdout] = help: consider adding `tracing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/generation/context.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut last_pos = start_pos; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_pos` [INFO] [stdout] --> src/generation/context.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | end_pos: usize, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_pos` [INFO] [stdout] --> src/generation/context.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut last_pos = start_pos; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `text`, `handled_comments`, `current_node`, `parent_stack`, and `gen_string_content` are never read [INFO] [stdout] --> src/generation/context.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Context<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub config: &'a Configuration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub text: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub handled_comments: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | current_node: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | parent_stack: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | pub gen_string_content: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format_text.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_ast(text: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_ast(text: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.73s [INFO] running `Command { std: "docker" "inspect" "e3bb8d2e530342aed8cc765e2afca290ecffe33307e43d25d15267a0fccd215b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3bb8d2e530342aed8cc765e2afca290ecffe33307e43d25d15267a0fccd215b", kill_on_drop: false }` [INFO] [stdout] e3bb8d2e530342aed8cc765e2afca290ecffe33307e43d25d15267a0fccd215b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5d3bc07e83868c5b54bfd6479c3b51d1799868b9fdf3c27d2d29a52b7c16157 [INFO] running `Command { std: "docker" "start" "-a" "c5d3bc07e83868c5b54bfd6479c3b51d1799868b9fdf3c27d2d29a52b7c16157", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling similar v1.3.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stdout] warning: unexpected `cfg` condition value: `tracing` [INFO] [stdout] --> src/lib.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "tracing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde_json` and `wasm` [INFO] [stdout] = help: consider adding `tracing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/generation/context.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut last_pos = start_pos; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_pos` [INFO] [stdout] --> src/generation/context.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | end_pos: usize, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_pos` [INFO] [stdout] --> src/generation/context.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut last_pos = start_pos; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `text`, `handled_comments`, `current_node`, `parent_stack`, and `gen_string_content` are never read [INFO] [stdout] --> src/generation/context.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Context<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub config: &'a Configuration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub text: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub handled_comments: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | current_node: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | parent_stack: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | pub gen_string_content: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format_text.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_ast(text: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_ast(text: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling console v0.14.1 [INFO] [stderr] Compiling dprint-development v0.5.0 [INFO] [stderr] Compiling dprint-plugin-css v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `tracing` [INFO] [stdout] --> tests/test.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | #[cfg(feature = "tracing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde_json` and `wasm` [INFO] [stdout] = help: consider adding `tracing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tracing` [INFO] [stdout] --> tests/test.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(not(feature = "tracing"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde_json` and `wasm` [INFO] [stdout] = help: consider adding `tracing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `tracing` [INFO] [stdout] --> src/lib.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "tracing")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `serde_json` and `wasm` [INFO] [stdout] = help: consider adding `tracing` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/generation/context.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut last_pos = start_pos; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_pos` [INFO] [stdout] --> src/generation/context.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | end_pos: usize, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_pos` [INFO] [stdout] --> src/generation/context.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut last_pos = start_pos; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config`, `text`, `handled_comments`, `current_node`, `parent_stack`, and `gen_string_content` are never read [INFO] [stdout] --> src/generation/context.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Context<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | pub config: &'a Configuration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | pub text: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | pub handled_comments: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | current_node: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | parent_stack: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | pub gen_string_content: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/format_text.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_ast(text: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn parse_ast(text: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.99s [INFO] running `Command { std: "docker" "inspect" "c5d3bc07e83868c5b54bfd6479c3b51d1799868b9fdf3c27d2d29a52b7c16157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5d3bc07e83868c5b54bfd6479c3b51d1799868b9fdf3c27d2d29a52b7c16157", kill_on_drop: false }` [INFO] [stdout] c5d3bc07e83868c5b54bfd6479c3b51d1799868b9fdf3c27d2d29a52b7c16157 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9c47d1825bd76b872e6605a88df275e19d8842c77120737f4d0a25b075d00e68 [INFO] running `Command { std: "docker" "start" "-a" "9c47d1825bd76b872e6605a88df275e19d8842c77120737f4d0a25b075d00e68", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `tracing` [INFO] [stderr] --> src/lib.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | #[cfg(feature = "tracing")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `serde_json` and `wasm` [INFO] [stderr] = help: consider adding `tracing` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/generation/context.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | let mut last_pos = start_pos; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `end_pos` [INFO] [stderr] --> src/generation/context.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | end_pos: usize, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_pos` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `last_pos` [INFO] [stderr] --> src/generation/context.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | let mut last_pos = start_pos; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_pos` [INFO] [stderr] [INFO] [stderr] warning: fields `config`, `text`, `handled_comments`, `current_node`, `parent_stack`, and `gen_string_content` are never read [INFO] [stderr] --> src/generation/context.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Context<'a> { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 7 | pub config: &'a Configuration, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 8 | pub text: &'a str, [INFO] [stderr] | ^^^^ [INFO] [stderr] 9 | pub handled_comments: HashSet, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 10 | current_node: Option>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 11 | parent_stack: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 12 | pub gen_string_content: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/format_text.rs:26:20 [INFO] [stderr] | [INFO] [stderr] 26 | fn parse_ast(text: &str) -> Result { [INFO] [stderr] | ^^^^ ^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 26 | fn parse_ast(text: &str) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `dprint-plugin-css` (lib) generated 6 warnings (run `cargo fix --lib -p dprint-plugin-css` to apply 4 suggestions) [INFO] [stderr] warning: unexpected `cfg` condition value: `tracing` [INFO] [stderr] --> tests/test.rs:39:19 [INFO] [stderr] | [INFO] [stderr] 39 | #[cfg(feature = "tracing")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `serde_json` and `wasm` [INFO] [stderr] = help: consider adding `tracing` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `tracing` [INFO] [stderr] --> tests/test.rs:52:23 [INFO] [stderr] | [INFO] [stderr] 52 | #[cfg(not(feature = "tracing"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `serde_json` and `wasm` [INFO] [stderr] = help: consider adding `tracing` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `dprint-plugin-css` (test "test") generated 2 warnings [INFO] [stderr] warning: `dprint-plugin-css` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dprint_plugin_css-81a42c12b3c7eda3) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test configuration::builder::tests::check_all_values_set ... ok [INFO] [stdout] test configuration::builder::tests::use_defaults_when_global_not_set ... ok [INFO] [stdout] test configuration::builder::tests::handle_global_config ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-9a50d64211ba03cb) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test should_handle_windows_newlines ... ok [INFO] [stdout] test test_specs ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Doc-tests dprint_plugin_css [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/configuration/resolve_config.rs - configuration::resolve_config::resolve_config (line 8) ... ok [INFO] [stdout] test src/configuration/builder.rs - configuration::builder::ConfigurationBuilder (line 12) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9c47d1825bd76b872e6605a88df275e19d8842c77120737f4d0a25b075d00e68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c47d1825bd76b872e6605a88df275e19d8842c77120737f4d0a25b075d00e68", kill_on_drop: false }` [INFO] [stdout] 9c47d1825bd76b872e6605a88df275e19d8842c77120737f4d0a25b075d00e68