[INFO] fetching crate cargo-criterion 1.1.0... [INFO] testing cargo-criterion-1.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate cargo-criterion 1.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate cargo-criterion 1.1.0 [INFO] finished tweaking crates.io crate cargo-criterion 1.1.0 [INFO] tweaked toml for crates.io crate cargo-criterion 1.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-criterion 1.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cargo-criterion 1.1.0 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simplelog v0.10.0 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded criterion-plot v0.4.3 [INFO] [stderr] Downloaded anyhow v1.0.31 [INFO] [stderr] Downloaded rayon-core v1.7.1 [INFO] [stderr] Downloaded serde_cbor v0.11.1 [INFO] [stderr] Downloaded rayon v1.3.1 [INFO] [stderr] Downloaded half v1.6.0 [INFO] [stderr] Downloaded tinytemplate v1.1.0 [INFO] [stderr] Downloaded linked_hash_set v0.1.3 [INFO] [stderr] Downloaded oorandom v11.1.2 [INFO] [stderr] Downloaded crossbeam-deque v0.7.3 [INFO] [stderr] Downloaded memoffset v0.5.5 [INFO] [stderr] Downloaded chrono v0.4.13 [INFO] [stderr] Downloaded libc v0.2.72 [INFO] [stderr] Downloaded serde_json v1.0.56 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2923636a2c98f1962894c6618160ef970df3fc6d6843049389f7d34ac09e919 [INFO] running `Command { std: "docker" "start" "-a" "f2923636a2c98f1962894c6618160ef970df3fc6d6843049389f7d34ac09e919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2923636a2c98f1962894c6618160ef970df3fc6d6843049389f7d34ac09e919", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2923636a2c98f1962894c6618160ef970df3fc6d6843049389f7d34ac09e919", kill_on_drop: false }` [INFO] [stdout] f2923636a2c98f1962894c6618160ef970df3fc6d6843049389f7d34ac09e919 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cc506383d26a2c98173cb4fad2f526cb981228e365d152e081c3d390d3301f3 [INFO] running `Command { std: "docker" "start" "-a" "2cc506383d26a2c98173cb4fad2f526cb981228e365d152e081c3d390d3301f3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling linked_hash_set v0.1.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling simplelog v0.10.0 [INFO] [stderr] Compiling tinytemplate v1.1.0 [INFO] [stderr] Compiling cargo-criterion v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/analysis.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::type_complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::or_fun_call))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/report.rs:418:16 [INFO] [stdout] | [INFO] [stdout] 418 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/stats/bivariate/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::expl_impl_clone_on_copy))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/stats/bivariate/resamples.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::should_implement_trait))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/stats/univariate/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::cast_lossless))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/stats/univariate/resamples.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::should_implement_trait))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/stats/univariate/sample.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::new_ret_no_self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/stats/univariate/outliers/tukey.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::similar_names))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/stats/univariate/outliers/tukey.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::similar_names))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/stats/univariate/outliers/tukey.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::similar_names))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_thumbnail` is never read [INFO] [stdout] --> src/plot/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct PlotContext<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub is_thumbnail: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlotContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `measurement_time`, `sample_size`, and `warm_up_time` are never read [INFO] [stdout] --> src/analysis.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BenchmarkConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 17 | pub confidence_level: f64, [INFO] [stdout] 18 | pub measurement_time: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub sample_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | pub significance_level: f64, [INFO] [stdout] 23 | pub warm_up_time: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BenchmarkConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `criterion_rs_version`, `protocol_version`, and `protocol_format` are never read [INFO] [stdout] --> src/connection.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Connection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | criterion_rs_version: [u8; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | protocol_version: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | protocol_format: ProtocolFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `profile` is never used [INFO] [stdout] --> src/report.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 251 | pub trait Report { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 252 | fn benchmark_start(&self, _id: &BenchmarkId, _context: &ReportContext) {} [INFO] [stdout] 253 | fn profile(&self, _id: &BenchmarkId, _context: &ReportContext, _profile_ns: f64) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_formatter.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(conn: &mut Connection) -> ValueFormatter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(conn: &mut Connection) -> ValueFormatter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.25s [INFO] running `Command { std: "docker" "inspect" "2cc506383d26a2c98173cb4fad2f526cb981228e365d152e081c3d390d3301f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cc506383d26a2c98173cb4fad2f526cb981228e365d152e081c3d390d3301f3", kill_on_drop: false }` [INFO] [stdout] 2cc506383d26a2c98173cb4fad2f526cb981228e365d152e081c3d390d3301f3 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6ded2e2a295bbd270e347bc870ebb5ed56800bb32ad68e66937e1c58e9a2606 [INFO] running `Command { std: "docker" "start" "-a" "b6ded2e2a295bbd270e347bc870ebb5ed56800bb32ad68e66937e1c58e9a2606", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Compiling cargo-criterion v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | feature = "cargo-clippy", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/main.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/analysis.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::type_complexity))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/config.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 215 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::or_fun_call))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/report.rs:418:16 [INFO] [stdout] | [INFO] [stdout] 418 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::needless_pass_by_value))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/stats/bivariate/mod.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::expl_impl_clone_on_copy))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/stats/bivariate/resamples.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::should_implement_trait))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/stats/univariate/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::cast_lossless))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/stats/univariate/resamples.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::should_implement_trait))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/stats/univariate/sample.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::new_ret_no_self))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/stats/univariate/outliers/tukey.rs:73:16 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::similar_names))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/stats/univariate/outliers/tukey.rs:132:16 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::similar_names))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/stats/univariate/outliers/tukey.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::similar_names))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_thumbnail` is never read [INFO] [stdout] --> src/plot/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct PlotContext<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub is_thumbnail: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlotContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `measurement_time`, `sample_size`, and `warm_up_time` are never read [INFO] [stdout] --> src/analysis.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct BenchmarkConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 17 | pub confidence_level: f64, [INFO] [stdout] 18 | pub measurement_time: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub sample_size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 22 | pub significance_level: f64, [INFO] [stdout] 23 | pub warm_up_time: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BenchmarkConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `criterion_rs_version`, `protocol_version`, and `protocol_format` are never read [INFO] [stdout] --> src/connection.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct Connection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | criterion_rs_version: [u8; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 65 | protocol_version: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | protocol_format: ProtocolFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `profile` is never used [INFO] [stdout] --> src/report.rs:253:8 [INFO] [stdout] | [INFO] [stdout] 251 | pub trait Report { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 252 | fn benchmark_start(&self, _id: &BenchmarkId, _context: &ReportContext) {} [INFO] [stdout] 253 | fn profile(&self, _id: &BenchmarkId, _context: &ReportContext, _profile_ns: f64) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value_formatter.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(conn: &mut Connection) -> ValueFormatter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(conn: &mut Connection) -> ValueFormatter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.40s [INFO] running `Command { std: "docker" "inspect" "b6ded2e2a295bbd270e347bc870ebb5ed56800bb32ad68e66937e1c58e9a2606", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6ded2e2a295bbd270e347bc870ebb5ed56800bb32ad68e66937e1c58e9a2606", kill_on_drop: false }` [INFO] [stdout] b6ded2e2a295bbd270e347bc870ebb5ed56800bb32ad68e66937e1c58e9a2606 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0083c9c6dbc9d52ce7e74ce705f99a689de661ce922e967bd3ce5b110c6c06a4 [INFO] running `Command { std: "docker" "start" "-a" "0083c9c6dbc9d52ce7e74ce705f99a689de661ce922e967bd3ce5b110c6c06a4", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | feature = "cargo-clippy", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/main.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/analysis.rs:158:12 [INFO] [stderr] | [INFO] [stderr] 158 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::type_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/config.rs:215:12 [INFO] [stderr] | [INFO] [stderr] 215 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::or_fun_call))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/report.rs:418:16 [INFO] [stderr] | [INFO] [stderr] 418 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::needless_pass_by_value))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/stats/bivariate/mod.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::expl_impl_clone_on_copy))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/stats/bivariate/resamples.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::should_implement_trait))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/stats/univariate/mod.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::cast_lossless))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/stats/univariate/resamples.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::should_implement_trait))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/stats/univariate/sample.rs:27:16 [INFO] [stderr] | [INFO] [stderr] 27 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::new_ret_no_self))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/stats/univariate/outliers/tukey.rs:73:16 [INFO] [stderr] | [INFO] [stderr] 73 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::similar_names))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/stats/univariate/outliers/tukey.rs:132:16 [INFO] [stderr] | [INFO] [stderr] 132 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::similar_names))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/stats/univariate/outliers/tukey.rs:184:16 [INFO] [stderr] | [INFO] [stderr] 184 | #[cfg_attr(feature = "cargo-clippy", allow(clippy::similar_names))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `criterion-plot`, `default`, `gnuplot_backend`, `plotters`, and `plotters_backend` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: field `is_thumbnail` is never read [INFO] [stderr] --> src/plot/mod.rs:41:9 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct PlotContext<'a> { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 41 | pub is_thumbnail: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PlotContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `measurement_time`, `sample_size`, and `warm_up_time` are never read [INFO] [stderr] --> src/analysis.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct BenchmarkConfig { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 17 | pub confidence_level: f64, [INFO] [stderr] 18 | pub measurement_time: Duration, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | pub sample_size: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 22 | pub significance_level: f64, [INFO] [stderr] 23 | pub warm_up_time: Duration, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BenchmarkConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `criterion_rs_version`, `protocol_version`, and `protocol_format` are never read [INFO] [stderr] --> src/connection.rs:64:5 [INFO] [stderr] | [INFO] [stderr] 59 | pub struct Connection { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 64 | criterion_rs_version: [u8; 3], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 65 | protocol_version: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 66 | protocol_format: ProtocolFormat, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `profile` is never used [INFO] [stderr] --> src/report.rs:253:8 [INFO] [stderr] | [INFO] [stderr] 251 | pub trait Report { [INFO] [stderr] | ------ method in this trait [INFO] [stderr] 252 | fn benchmark_start(&self, _id: &BenchmarkId, _context: &ReportContext) {} [INFO] [stderr] 253 | fn profile(&self, _id: &BenchmarkId, _context: &ReportContext, _profile_ns: f64) {} [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/value_formatter.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn new(conn: &mut Connection) -> ValueFormatter { [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 8 | pub fn new(conn: &mut Connection) -> ValueFormatter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `cargo-criterion` (bin "cargo-criterion" test) generated 18 warnings (run `cargo fix --bin "cargo-criterion" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cargo_criterion-e0b6d1589a01567e) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test format::test::signed_short_max_len ... ok [INFO] [stdout] test report::test::test_benchmark_id_make_directory_name_unique ... ok [INFO] [stdout] test report::test::test_benchmark_id_make_long_directory_name_unique ... ok [INFO] [stdout] test report::test::test_make_filename_safe_replaces_characters ... ok [INFO] [stdout] test report::test::test_make_filename_safe_respects_character_boundaries ... ok [INFO] [stdout] test report::test::test_make_filename_safe_truncates_long_strings ... ok [INFO] [stdout] test format::test::short_max_len ... ok [INFO] [stdout] test stats::univariate::kde::kernel::test::f64::gaussian::symmetric ... ok [INFO] [stdout] test stats::univariate::kde::kernel::test::f32::gaussian::symmetric ... ok [INFO] [stdout] test stats::univariate::bootstrap::test::f64::two_sample ... ok [INFO] [stdout] test stats::univariate::bootstrap::test::f64::mean ... ok [INFO] [stdout] test stats::univariate::bootstrap::test::f32::mean ... ok [INFO] [stdout] test stats::bivariate::bootstrap::test::f32::slope ... ok [INFO] [stdout] test stats::univariate::bootstrap::test::f32::two_sample ... ok [INFO] [stdout] test stats::univariate::resamples::test::different_subsets ... ok [INFO] [stdout] test stats::univariate::bootstrap::test::f32::mixed_two_sample ... ok [INFO] [stdout] test stats::bivariate::bootstrap::test::f64::means ... ok [INFO] [stdout] test stats::bivariate::bootstrap::test::f32::means ... ok [INFO] [stdout] test stats::univariate::bootstrap::test::f64::mixed_two_sample ... ok [INFO] [stdout] test stats::bivariate::bootstrap::test::f64::slope ... ok [INFO] [stdout] test stats::univariate::bootstrap::test::f64::mean_median ... ok [INFO] [stdout] test stats::univariate::bootstrap::test::f32::mean_median ... ok [INFO] [stdout] test stats::univariate::resamples::test::subset ... ok [INFO] [stdout] test stats::univariate::kde::kernel::test::f64::gaussian::integral ... ok [INFO] [stdout] test stats::univariate::kde::test::f64::integral ... ok [INFO] [stdout] test stats::univariate::kde::test::f32::integral ... ok [INFO] [stdout] test stats::univariate::kde::kernel::test::f32::gaussian::integral ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.84s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0083c9c6dbc9d52ce7e74ce705f99a689de661ce922e967bd3ce5b110c6c06a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0083c9c6dbc9d52ce7e74ce705f99a689de661ce922e967bd3ce5b110c6c06a4", kill_on_drop: false }` [INFO] [stdout] 0083c9c6dbc9d52ce7e74ce705f99a689de661ce922e967bd3ce5b110c6c06a4