[INFO] fetching crate rspack_style 0.1.16... [INFO] checking rspack_style-0.1.16 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate rspack_style 0.1.16 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate rspack_style 0.1.16 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smol_str v0.1.23 [INFO] [stderr] Downloaded uuid v1.1.0 [INFO] [stderr] Downloaded fasteval v0.2.4 [INFO] [stderr] Downloaded tokio v1.18.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3f534e56b56880abdfd8e7e44a85c07c99e552731f979474db7979c4de8b7cb [INFO] running `Command { std: "docker" "start" "-a" "c3f534e56b56880abdfd8e7e44a85c07c99e552731f979474db7979c4de8b7cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3f534e56b56880abdfd8e7e44a85c07c99e552731f979474db7979c4de8b7cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3f534e56b56880abdfd8e7e44a85c07c99e552731f979474db7979c4de8b7cb", kill_on_drop: false }` [INFO] [stdout] c3f534e56b56880abdfd8e7e44a85c07c99e552731f979474db7979c4de8b7cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7049900669e508a304345e986569f227c1a46e1a113c5d446c98dbfeaac3eca7 [INFO] running `Command { std: "docker" "start" "-a" "7049900669e508a304345e986569f227c1a46e1a113c5d446c98dbfeaac3eca7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rayon-core v1.9.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fasteval v0.2.4 [INFO] [stderr] Checking rayon v1.5.3 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking 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] Checking futures-util v0.3.21 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking serde_json v1.0.81 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking smol_str v0.1.23 [INFO] [stderr] Checking uuid v1.1.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking rspack_style v0.1.16 (/opt/rustwide/workdir) [INFO] [stderr] Checking 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Token(()); [INFO] [stdout] | ~~ [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: 7 warnings emitted [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Token(()); [INFO] [stdout] | ~~ [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.42s [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 5` [INFO] running `Command { std: "docker" "inspect" "7049900669e508a304345e986569f227c1a46e1a113c5d446c98dbfeaac3eca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7049900669e508a304345e986569f227c1a46e1a113c5d446c98dbfeaac3eca7", kill_on_drop: false }` [INFO] [stdout] 7049900669e508a304345e986569f227c1a46e1a113c5d446c98dbfeaac3eca7 [INFO] checking rspack_style-0.1.16 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate rspack_style 0.1.16 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate rspack_style 0.1.16 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 334b495a63b2244a7a1b2665d7719593debddcc09cef0bef1f7564e99ec836dd [INFO] running `Command { std: "docker" "start" "-a" "334b495a63b2244a7a1b2665d7719593debddcc09cef0bef1f7564e99ec836dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "334b495a63b2244a7a1b2665d7719593debddcc09cef0bef1f7564e99ec836dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "334b495a63b2244a7a1b2665d7719593debddcc09cef0bef1f7564e99ec836dd", kill_on_drop: false }` [INFO] [stdout] 334b495a63b2244a7a1b2665d7719593debddcc09cef0bef1f7564e99ec836dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1fefcd8ae2030860a114d5a7f85e7747333be72918c07df14b43aa37ef9bea0 [INFO] running `Command { std: "docker" "start" "-a" "d1fefcd8ae2030860a114d5a7f85e7747333be72918c07df14b43aa37ef9bea0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking rayon-core v1.9.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking fasteval v0.2.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking rayon v1.5.3 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking 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] Checking tokio v1.18.2 [INFO] [stderr] Checking futures-util v0.3.21 [INFO] [stderr] Checking strum v0.23.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking serde_json v1.0.81 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking smol_str v0.1.23 [INFO] [stderr] Checking uuid v1.1.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking rspack_style v0.1.16 (/opt/rustwide/workdir) [INFO] [stderr] Checking 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Token(()); [INFO] [stdout] | ~~ [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: 7 warnings emitted [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Token(()); [INFO] [stdout] | ~~ [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.24s [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 3` [INFO] running `Command { std: "docker" "inspect" "d1fefcd8ae2030860a114d5a7f85e7747333be72918c07df14b43aa37ef9bea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1fefcd8ae2030860a114d5a7f85e7747333be72918c07df14b43aa37ef9bea0", kill_on_drop: false }` [INFO] [stdout] d1fefcd8ae2030860a114d5a7f85e7747333be72918c07df14b43aa37ef9bea0