[INFO] fetching crate rspack_style 0.1.16... [INFO] building rspack_style-0.1.16 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate rspack_style 0.1.16 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rspack_style 0.1.16 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.23.0 [INFO] [stderr] Downloaded once_cell v1.12.0 [INFO] [stderr] Downloaded smol_str v0.1.23 [INFO] [stderr] Downloaded strum_macros v0.23.1 [INFO] [stderr] Downloaded uuid v1.1.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.8 [INFO] [stderr] Downloaded mio v0.8.3 [INFO] [stderr] Downloaded rayon-core v1.9.3 [INFO] [stderr] Downloaded rayon v1.5.3 [INFO] [stderr] Downloaded fasteval v0.2.4 [INFO] [stderr] Downloaded crossbeam-channel v0.5.4 [INFO] [stderr] Downloaded tokio v1.18.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87821ee1ab57a73af2063b46feed27d5e8fc8b8c1c183ef2b34bedd4fea7ea9b [INFO] running `Command { std: "docker" "start" "-a" "87821ee1ab57a73af2063b46feed27d5e8fc8b8c1c183ef2b34bedd4fea7ea9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87821ee1ab57a73af2063b46feed27d5e8fc8b8c1c183ef2b34bedd4fea7ea9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87821ee1ab57a73af2063b46feed27d5e8fc8b8c1c183ef2b34bedd4fea7ea9b", kill_on_drop: false }` [INFO] [stdout] 87821ee1ab57a73af2063b46feed27d5e8fc8b8c1c183ef2b34bedd4fea7ea9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f459d2c8a8ba1e77e072a8c78f4886619621cbf1616fa36ac4565a34332e7ea6 [INFO] running `Command { std: "docker" "start" "-a" "f459d2c8a8ba1e77e072a8c78f4886619621cbf1616fa36ac4565a34332e7ea6", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fasteval v0.2.4 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling serde_derive v1.0.137 [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 serde_json v1.0.81 [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 32.46s [INFO] running `Command { std: "docker" "inspect" "f459d2c8a8ba1e77e072a8c78f4886619621cbf1616fa36ac4565a34332e7ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f459d2c8a8ba1e77e072a8c78f4886619621cbf1616fa36ac4565a34332e7ea6", kill_on_drop: false }` [INFO] [stdout] f459d2c8a8ba1e77e072a8c78f4886619621cbf1616fa36ac4565a34332e7ea6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a258c1202f943c0db29427dd6f83444e7750d9d8c38d347f9678900a6ce0e88 [INFO] running `Command { std: "docker" "start" "-a" "2a258c1202f943c0db29427dd6f83444e7750d9d8c38d347f9678900a6ce0e88", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling bytes v1.1.0 [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 serde_cbor v0.11.2 [INFO] [stderr] Compiling uuid v1.1.0 [INFO] [stderr] Compiling smol_str v0.1.23 [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 1m 09s [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 4` [INFO] running `Command { std: "docker" "inspect" "2a258c1202f943c0db29427dd6f83444e7750d9d8c38d347f9678900a6ce0e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a258c1202f943c0db29427dd6f83444e7750d9d8c38d347f9678900a6ce0e88", kill_on_drop: false }` [INFO] [stdout] 2a258c1202f943c0db29427dd6f83444e7750d9d8c38d347f9678900a6ce0e88