[INFO] fetching crate cargo-criterion 1.1.0... [INFO] testing cargo-criterion-1.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cargo-criterion 1.1.0 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-criterion 1.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indexmap v1.5.0 [INFO] [stderr] Downloaded linked_hash_set v0.1.3 [INFO] [stderr] Downloaded oorandom v11.1.2 [INFO] [stderr] Downloaded half v1.6.0 [INFO] [stderr] Downloaded serde_derive v1.0.114 [INFO] [stderr] Downloaded tinytemplate v1.1.0 [INFO] [stderr] Downloaded chrono v0.4.13 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 696beb13c5f3f7f0329e62c53a48a65bcfa86721564bb9fe007ad13b94275fe4 [INFO] running `Command { std: "docker" "start" "-a" "696beb13c5f3f7f0329e62c53a48a65bcfa86721564bb9fe007ad13b94275fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "696beb13c5f3f7f0329e62c53a48a65bcfa86721564bb9fe007ad13b94275fe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "696beb13c5f3f7f0329e62c53a48a65bcfa86721564bb9fe007ad13b94275fe4", kill_on_drop: false }` [INFO] [stdout] 696beb13c5f3f7f0329e62c53a48a65bcfa86721564bb9fe007ad13b94275fe4 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f66618da8965e3aa17f18bc5c8b121ae3269416523c387f821c7882fe3ff95e7 [INFO] running `Command { std: "docker" "start" "-a" "f66618da8965e3aa17f18bc5c8b121ae3269416523c387f821c7882fe3ff95e7", 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 maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.11 [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 serde_derive v1.0.114 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling anyhow v1.0.31 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling half v1.6.0 [INFO] [stderr] Compiling oorandom v11.1.2 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling linked_hash_set v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [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)]` 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 `Debug` and `Clone`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/value_formatter.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(conn: &mut Connection) -> ValueFormatter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 22.11s [INFO] running `Command { std: "docker" "inspect" "f66618da8965e3aa17f18bc5c8b121ae3269416523c387f821c7882fe3ff95e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f66618da8965e3aa17f18bc5c8b121ae3269416523c387f821c7882fe3ff95e7", kill_on_drop: false }` [INFO] [stdout] f66618da8965e3aa17f18bc5c8b121ae3269416523c387f821c7882fe3ff95e7 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 518a92ed791e61746c8d685ea74117149c6ca5f9b4226a26e9d3234c1fe49031 [INFO] running `Command { std: "docker" "start" "-a" "518a92ed791e61746c8d685ea74117149c6ca5f9b4226a26e9d3234c1fe49031", 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)]` 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 `Debug` and `Clone`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/value_formatter.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(conn: &mut Connection) -> ValueFormatter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 8.01s [INFO] running `Command { std: "docker" "inspect" "518a92ed791e61746c8d685ea74117149c6ca5f9b4226a26e9d3234c1fe49031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "518a92ed791e61746c8d685ea74117149c6ca5f9b4226a26e9d3234c1fe49031", kill_on_drop: false }` [INFO] [stdout] 518a92ed791e61746c8d685ea74117149c6ca5f9b4226a26e9d3234c1fe49031 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] cb14cb5330aacd22c0cbfe87537cb876ebc99ed8e467d102d3909c0adb7d5227 [INFO] running `Command { std: "docker" "start" "-a" "cb14cb5330aacd22c0cbfe87537cb876ebc99ed8e467d102d3909c0adb7d5227", 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)]` 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 `Debug` and `Clone`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/value_formatter.rs:8:22 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn new(conn: &mut Connection) -> ValueFormatter { [INFO] [stderr] | ^^^^^^^^^^^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cargo_criterion-5677d259443df2ff) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test format::test::signed_short_max_len ... 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_benchmark_id_make_long_directory_name_unique ... ok [INFO] [stdout] test format::test::short_max_len ... ok [INFO] [stdout] test report::test::test_benchmark_id_make_directory_name_unique ... ok [INFO] [stdout] test report::test::test_make_filename_safe_truncates_long_strings ... ok [INFO] [stdout] test stats::univariate::kde::kernel::test::f32::gaussian::symmetric ... ok [INFO] [stdout] test stats::univariate::kde::kernel::test::f64::gaussian::symmetric ... ok [INFO] [stdout] test stats::univariate::bootstrap::test::f32::mean ... ok [INFO] [stdout] test stats::univariate::bootstrap::test::f32::two_sample ... 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::bivariate::bootstrap::test::f64::slope ... ok [INFO] [stdout] test stats::bivariate::bootstrap::test::f32::slope ... ok [INFO] [stdout] test stats::univariate::bootstrap::test::f32::mixed_two_sample ... ok [INFO] [stdout] test stats::bivariate::bootstrap::test::f32::means ... ok [INFO] [stdout] test stats::univariate::bootstrap::test::f64::mean_median ... ok [INFO] [stdout] test stats::univariate::bootstrap::test::f64::mixed_two_sample ... ok [INFO] [stdout] test stats::univariate::bootstrap::test::f32::mean_median ... ok [INFO] [stdout] test stats::univariate::kde::kernel::test::f64::gaussian::integral ... ok [INFO] [stdout] test stats::bivariate::bootstrap::test::f64::means ... ok [INFO] [stdout] test stats::univariate::resamples::test::different_subsets ... ok [INFO] [stdout] test stats::univariate::resamples::test::subset ... ok [INFO] [stdout] test stats::univariate::kde::test::f64::integral ... ok [INFO] [stdout] test stats::univariate::kde::kernel::test::f32::gaussian::integral ... ok [INFO] [stdout] test stats::univariate::kde::test::f32::integral ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.43s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cb14cb5330aacd22c0cbfe87537cb876ebc99ed8e467d102d3909c0adb7d5227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb14cb5330aacd22c0cbfe87537cb876ebc99ed8e467d102d3909c0adb7d5227", kill_on_drop: false }` [INFO] [stdout] cb14cb5330aacd22c0cbfe87537cb876ebc99ed8e467d102d3909c0adb7d5227