[INFO] fetching crate rspack_style 0.1.16... [INFO] testing rspack_style-0.1.16 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate rspack_style 0.1.16 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rspack_style 0.1.16 [INFO] finished tweaking crates.io crate rspack_style 0.1.16 [INFO] tweaked toml for crates.io crate rspack_style 0.1.16 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rspack_style 0.1.16 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] crate crates.io crate rspack_style 0.1.16 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-ident v1.0.0 [INFO] [stderr] Downloaded futures v0.3.21 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.80 [INFO] [stderr] Downloaded smol_str v0.1.23 [INFO] [stderr] Downloaded plotters-backend v0.3.2 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Downloaded plotters-svg v0.3.1 [INFO] [stderr] Downloaded crossbeam-utils v0.8.8 [INFO] [stderr] Downloaded semver v1.0.9 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.80 [INFO] [stderr] Downloaded js-sys v0.3.57 [INFO] [stderr] Downloaded quote v1.0.18 [INFO] [stderr] Downloaded criterion v0.3.5 [INFO] [stderr] Downloaded wasm-bindgen v0.2.80 [INFO] [stderr] Downloaded rayon v1.5.3 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.8 [INFO] [stderr] Downloaded syn v1.0.95 [INFO] [stderr] Downloaded rayon-core v1.9.3 [INFO] [stderr] Downloaded fasteval v0.2.4 [INFO] [stderr] Downloaded getrandom v0.2.6 [INFO] [stderr] Downloaded uuid v1.1.0 [INFO] [stderr] Downloaded criterion-plot v0.4.4 [INFO] [stderr] Downloaded futures-executor v0.3.21 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.80 [INFO] [stderr] Downloaded tokio v1.18.2 [INFO] [stderr] Downloaded web-sys v0.3.57 [INFO] [stderr] Downloaded plotters v0.3.1 [INFO] [stderr] Downloaded crossbeam-channel v0.5.4 [INFO] [stderr] Downloaded mio v0.8.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3dd2b145387116b94ca10a241b1612ebec0d6ff25e9398e54a7846735c330a9f [INFO] running `Command { std: "docker" "start" "-a" "3dd2b145387116b94ca10a241b1612ebec0d6ff25e9398e54a7846735c330a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3dd2b145387116b94ca10a241b1612ebec0d6ff25e9398e54a7846735c330a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dd2b145387116b94ca10a241b1612ebec0d6ff25e9398e54a7846735c330a9f", kill_on_drop: false }` [INFO] [stdout] 3dd2b145387116b94ca10a241b1612ebec0d6ff25e9398e54a7846735c330a9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fa1b046c4fb6f6802d52923b7dfc699de1094c0a67a78ae661e9844268c5bac [INFO] running `Command { std: "docker" "start" "-a" "5fa1b046c4fb6f6802d52923b7dfc699de1094c0a67a78ae661e9844268c5bac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling fasteval v0.2.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling smol_str v0.1.23 [INFO] [stderr] Compiling uuid v1.1.0 [INFO] [stderr] Compiling rspack_style v0.1.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token/lib.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Token(String); [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/css/comment.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | if let StyleNode::Comment(cc) = x.deref().clone() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `css::node::StyleNode` does not implement `Deref`, so calling `deref` on `&css::node::StyleNode` 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] 107 - if let StyleNode::Comment(cc) = x.deref().clone() { [INFO] [stdout] 107 + if let StyleNode::Comment(cc) = x.clone() { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `css::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/css/node.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Clone)] [INFO] [stdout] 18 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/less/codegen.rs:27:60 [INFO] [stdout] | [INFO] [stdout] 27 | if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 27 - if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] 27 + if let StyleNode::Var(VarRuleNode::Var(var)) = item { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/less/node.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/less/codegen.rs:47:60 [INFO] [stdout] | [INFO] [stdout] 47 | if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 47 - if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] 47 + if let StyleNode::Var(VarRuleNode::Var(var)) = item { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/less/node.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/less/comment.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | if let StyleNode::Comment(cc) = x.deref().clone() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 107 - if let StyleNode::Comment(cc) = x.deref().clone() { [INFO] [stdout] 107 + if let StyleNode::Comment(cc) = x.clone() { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/less/node.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/less/select.rs:926:60 [INFO] [stdout] | [INFO] [stdout] 926 | if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 926 - if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] 926 + if let StyleNode::Var(VarRuleNode::Var(var)) = item { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/less/node.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/less/select.rs:946:60 [INFO] [stdout] | [INFO] [stdout] 946 | if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 946 - if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] 946 + if let StyleNode::Var(VarRuleNode::Var(var)) = item { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/less/node.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.86s [INFO] running `Command { std: "docker" "inspect" "5fa1b046c4fb6f6802d52923b7dfc699de1094c0a67a78ae661e9844268c5bac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fa1b046c4fb6f6802d52923b7dfc699de1094c0a67a78ae661e9844268c5bac", kill_on_drop: false }` [INFO] [stdout] 5fa1b046c4fb6f6802d52923b7dfc699de1094c0a67a78ae661e9844268c5bac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28027df6088b31e0d9053eeb9961db5055446e3a7485e931f7e1155ce8f2dc9c [INFO] running `Command { std: "docker" "start" "-a" "28027df6088b31e0d9053eeb9961db5055446e3a7485e931f7e1155ce8f2dc9c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling smol_str v0.1.23 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling uuid v1.1.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling rspack_style v0.1.16 (/opt/rustwide/workdir) [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token/lib.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Token(String); [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/css/comment.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | if let StyleNode::Comment(cc) = x.deref().clone() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `css::node::StyleNode` does not implement `Deref`, so calling `deref` on `&css::node::StyleNode` 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] 107 - if let StyleNode::Comment(cc) = x.deref().clone() { [INFO] [stdout] 107 + if let StyleNode::Comment(cc) = x.clone() { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `css::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/css/node.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Clone)] [INFO] [stdout] 18 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/less/codegen.rs:27:60 [INFO] [stdout] | [INFO] [stdout] 27 | if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 27 - if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] 27 + if let StyleNode::Var(VarRuleNode::Var(var)) = item { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/less/node.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/less/codegen.rs:47:60 [INFO] [stdout] | [INFO] [stdout] 47 | if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 47 - if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] 47 + if let StyleNode::Var(VarRuleNode::Var(var)) = item { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/less/node.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/less/comment.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | if let StyleNode::Comment(cc) = x.deref().clone() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 107 - if let StyleNode::Comment(cc) = x.deref().clone() { [INFO] [stdout] 107 + if let StyleNode::Comment(cc) = x.clone() { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/less/node.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/less/select.rs:926:60 [INFO] [stdout] | [INFO] [stdout] 926 | if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 926 - if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] 926 + if let StyleNode::Var(VarRuleNode::Var(var)) = item { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/less/node.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/less/select.rs:946:60 [INFO] [stdout] | [INFO] [stdout] 946 | if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 946 - if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] 946 + if let StyleNode::Var(VarRuleNode::Var(var)) = item { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/less/node.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/token/lib.rs:1:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Token(String); [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/css/comment.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | if let StyleNode::Comment(cc) = x.deref().clone() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `css::node::StyleNode` does not implement `Deref`, so calling `deref` on `&css::node::StyleNode` 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] 107 - if let StyleNode::Comment(cc) = x.deref().clone() { [INFO] [stdout] 107 + if let StyleNode::Comment(cc) = x.clone() { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `css::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/css/node.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 + #[derive(Clone)] [INFO] [stdout] 18 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/less/codegen.rs:27:60 [INFO] [stdout] | [INFO] [stdout] 27 | if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 27 - if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] 27 + if let StyleNode::Var(VarRuleNode::Var(var)) = item { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/less/node.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/less/codegen.rs:47:60 [INFO] [stdout] | [INFO] [stdout] 47 | if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 47 - if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] 47 + if let StyleNode::Var(VarRuleNode::Var(var)) = item { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/less/node.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/less/comment.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | if let StyleNode::Comment(cc) = x.deref().clone() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 107 - if let StyleNode::Comment(cc) = x.deref().clone() { [INFO] [stdout] 107 + if let StyleNode::Comment(cc) = x.clone() { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/less/node.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/less/select.rs:926:60 [INFO] [stdout] | [INFO] [stdout] 926 | if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 926 - if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] 926 + if let StyleNode::Var(VarRuleNode::Var(var)) = item { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/less/node.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/less/select.rs:946:60 [INFO] [stdout] | [INFO] [stdout] 946 | if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 946 - if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stdout] 946 + if let StyleNode::Var(VarRuleNode::Var(var)) = item { [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stdout] --> src/less/node.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub enum StyleNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 40.77s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "28027df6088b31e0d9053eeb9961db5055446e3a7485e931f7e1155ce8f2dc9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28027df6088b31e0d9053eeb9961db5055446e3a7485e931f7e1155ce8f2dc9c", kill_on_drop: false }` [INFO] [stdout] 28027df6088b31e0d9053eeb9961db5055446e3a7485e931f7e1155ce8f2dc9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5cff3448fdeca7dbfce24496c18e020d7a5dc9bdb5bfc5b08e28c903095eb75d [INFO] running `Command { std: "docker" "start" "-a" "5cff3448fdeca7dbfce24496c18e020d7a5dc9bdb5bfc5b08e28c903095eb75d", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/token/lib.rs:1:18 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Token(String); [INFO] [stderr] | ----- ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/css/comment.rs:107:38 [INFO] [stderr] | [INFO] [stderr] 107 | if let StyleNode::Comment(cc) = x.deref().clone() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `css::node::StyleNode` does not implement `Deref`, so calling `deref` on `&css::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 107 - if let StyleNode::Comment(cc) = x.deref().clone() { [INFO] [stderr] 107 + if let StyleNode::Comment(cc) = x.clone() { [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `css::node::StyleNode`, implement `Clone` for it [INFO] [stderr] --> src/css/node.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 + #[derive(Clone)] [INFO] [stderr] 18 | pub enum StyleNode { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/less/codegen.rs:27:60 [INFO] [stderr] | [INFO] [stderr] 27 | if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 27 - if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stderr] 27 + if let StyleNode::Var(VarRuleNode::Var(var)) = item { [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stderr] --> src/less/node.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 + #[derive(Clone)] [INFO] [stderr] 19 | pub enum StyleNode { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/less/codegen.rs:47:60 [INFO] [stderr] | [INFO] [stderr] 47 | if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 47 - if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stderr] 47 + if let StyleNode::Var(VarRuleNode::Var(var)) = item { [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stderr] --> src/less/node.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 + #[derive(Clone)] [INFO] [stderr] 19 | pub enum StyleNode { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/less/comment.rs:107:38 [INFO] [stderr] | [INFO] [stderr] 107 | if let StyleNode::Comment(cc) = x.deref().clone() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 107 - if let StyleNode::Comment(cc) = x.deref().clone() { [INFO] [stderr] 107 + if let StyleNode::Comment(cc) = x.clone() { [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stderr] --> src/less/node.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 + #[derive(Clone)] [INFO] [stderr] 19 | pub enum StyleNode { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/less/select.rs:926:60 [INFO] [stderr] | [INFO] [stderr] 926 | if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 926 - if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stderr] 926 + if let StyleNode::Var(VarRuleNode::Var(var)) = item { [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stderr] --> src/less/node.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 + #[derive(Clone)] [INFO] [stderr] 19 | pub enum StyleNode { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stderr] --> src/less/select.rs:946:60 [INFO] [stderr] | [INFO] [stderr] 946 | if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `less::node::StyleNode` does not implement `Deref`, so calling `deref` on `&less::node::StyleNode` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 946 - if let StyleNode::Var(VarRuleNode::Var(var)) = item.deref() { [INFO] [stderr] 946 + if let StyleNode::Var(VarRuleNode::Var(var)) = item { [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `less::node::StyleNode`, implement `Clone` for it [INFO] [stderr] --> src/less/node.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 + #[derive(Clone)] [INFO] [stderr] 19 | pub enum StyleNode { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rspack_style` (lib) generated 7 warnings (run `cargo fix --lib -p rspack_style` to apply 6 suggestions) [INFO] [stderr] warning: `rspack_style` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rspack_style-cafd950719f8734c) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/hash.rs (/opt/rustwide/target/debug/deps/hash-93c7301f4fc50216) [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_content_hash ... ok [INFO] [stdout] test test_css_module_hash ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_css_module_hash stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_css_module_hash' (27) panicked at tests/hash.rs:19:37: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: "file is not exists filepath is /opt/rustwide/workdir/assets/demo.less" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x631637bf7472 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x631637bf7472 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x631637bf7472 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x631637bf7472 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x631637c0740f - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x631637c0740f - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x631637bc4d53 - std::io::default_write_fmt::h4e8d11c5c4b9cafe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x631637bc4d53 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x631637bd09c2 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x631637bd57bf - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x631637bd5651 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x631637b8f39e - as core::ops::function::Fn>::call::h202f496763929329 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x631637b8f39e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x631637bd5dcf - as core::ops::function::Fn>::call::h2883c9d2dbd4e81c [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x631637bd5dcf - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x631637bd5c2a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x631637bd0af9 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x631637bb8c8d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x631637c0ec10 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x631637c0e416 - core::result::unwrap_failed::h427ee4a8bb06d8af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x631637b6e753 - core::result::Result::unwrap::hf196952346dc70fa [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x631637b6e753 - hash::test_css_module_hash::h531a8d404e8775da [INFO] [stdout] at /opt/rustwide/workdir/tests/hash.rs:19:37 [INFO] [stdout] 22: 0x631637b6e957 - hash::test_css_module_hash::{{closure}}::he0340cac9729f1fc [INFO] [stdout] at /opt/rustwide/workdir/tests/hash.rs:17:26 [INFO] [stdout] 23: 0x631637b6dfd6 - core::ops::function::FnOnce::call_once::h5920808978becfc7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x631637b8f20b - core::ops::function::FnOnce::call_once::h3a2d82edd1a9b770 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x631637b8f20b - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x631637ba31fd - test::run_test_in_process::{{closure}}::h67b48a81b9c9d7b6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x631637ba31fd - as core::ops::function::FnOnce<()>>::call_once::h7680585480377cb5 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x631637ba31fd - std::panicking::catch_unwind::do_call::hf71351b2657d4002 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x631637ba31fd - std::panicking::catch_unwind::h7fcb5c0312d9e172 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x631637ba31fd - std::panic::catch_unwind::h5cf3c9bdee894ebe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x631637ba31fd - test::run_test_in_process::h1469cb85193a3a25 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x631637ba31fd - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x631637b7c744 - test::run_test::{{closure}}::h9baa0c3d443f28c9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x631637b7c744 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x631637b7ff9a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5d7539d5f78cee61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x631637b7ff9a - as core::ops::function::FnOnce<()>>::call_once::he4c551e23c5e9b22 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x631637b7ff9a - std::panicking::catch_unwind::do_call::h522b41a6c157aaba [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x631637b7ff9a - std::panicking::catch_unwind::h0efbf72006b8e365 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x631637b7ff9a - std::panic::catch_unwind::h3b081041e6c97066 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x631637b7ff9a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha751309815d5d8cf [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x631637b7ff9a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x631637bcbeff - as core::ops::function::FnOnce>::call_once::h3adbd6ccf5f737af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 43: 0x631637bcbeff - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 44: 0x7c06c05f9aa4 - [INFO] [stdout] 45: 0x7c06c0686a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_css_module_hash [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test hash` [INFO] running `Command { std: "docker" "inspect" "5cff3448fdeca7dbfce24496c18e020d7a5dc9bdb5bfc5b08e28c903095eb75d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cff3448fdeca7dbfce24496c18e020d7a5dc9bdb5bfc5b08e28c903095eb75d", kill_on_drop: false }` [INFO] [stdout] 5cff3448fdeca7dbfce24496c18e020d7a5dc9bdb5bfc5b08e28c903095eb75d