[INFO] cloning repository https://github.com/zertyz/big-O [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zertyz/big-O" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzertyz%2Fbig-O", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzertyz%2Fbig-O'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0931f3451deec19dff06d23c1ab8de2b6a0f0adb [INFO] testing zertyz/big-O against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzertyz%2Fbig-O" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zertyz/big-O [INFO] finished tweaking git repo https://github.com/zertyz/big-O [INFO] tweaked toml for git repo https://github.com/zertyz/big-O written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zertyz/big-O on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 78 packages to latest compatible versions [INFO] [stderr] Adding ctor v0.2.9 (available: v0.4.2) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spin_sleep v1.3.2 [INFO] [stderr] Downloaded sdd v3.0.8 [INFO] [stderr] Downloaded scc v2.3.4 [INFO] [stderr] Downloaded keen-retry v0.5.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61f2080aae2914b4345e8af910f7631b66aa8da20da1566fb804764356a04448 [INFO] running `Command { std: "docker" "start" "-a" "61f2080aae2914b4345e8af910f7631b66aa8da20da1566fb804764356a04448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61f2080aae2914b4345e8af910f7631b66aa8da20da1566fb804764356a04448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61f2080aae2914b4345e8af910f7631b66aa8da20da1566fb804764356a04448", kill_on_drop: false }` [INFO] [stdout] 61f2080aae2914b4345e8af910f7631b66aa8da20da1566fb804764356a04448 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ede7624593f2bd42826deafbd46f2971f062748961838425d79ecdc914e32071 [INFO] running `Command { std: "docker" "start" "-a" "ede7624593f2bd42826deafbd46f2971f062748961838425d79ecdc914e32071", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling keen-retry v0.5.0 [INFO] [stderr] Compiling big-o-test v0.2.13 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `first_pass_measurements` and `second_pass_measurements` are never read [INFO] [stdout] --> src/api/builders/regular_async_builder.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct RegularAsyncAnalyzerBuilder) -> FirstPassFut + Send + Sync, [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | first_pass_measurements: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | second_pass_measurements: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test_run` is never used [INFO] [stdout] --> src/api/builders/regular_async_builder.rs:198:14 [INFO] [stdout] | [INFO] [stdout] 54 | / impl) -> FirstPassFut + Send + Sync, [INFO] [stdout] 55 | | FirstPassFut: Future + Send, [INFO] [stdout] 56 | | SecondPassFn: FnMut(Option) -> SecondPassFut + Send + Sync, [INFO] [stdout] 57 | | SecondPassFut: Future + Send, [INFO] [stdout] 58 | | AlgoDataType: Send + Sync + Debug> [INFO] [stdout] 59 | | RegularAsyncAnalyzerBuilder { [INFO] [stdout] | |_________________________________________________________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | async fn test_run(mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `duration_measurement` is never used [INFO] [stdout] --> src/utils/measurements/presentable_measurements.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn duration_measurement(duration: Duration) -> PresentableMeasurement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_measurement` is never used [INFO] [stdout] --> src/utils/measurements/presentable_measurements.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn bytes_measurement(value: f64) -> PresentableMeasurement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_per_second_measurement` is never used [INFO] [stdout] --> src/utils/measurements/presentable_measurements.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn bytes_per_second_measurement(value: f64) -> PresentableMeasurement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `custom_unit_measurement` is never used [INFO] [stdout] --> src/utils/measurements/presentable_measurements.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn custom_unit_measurement(value: f64, custom_unit: &'static str) -> PresentableMeasurement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `custom_unit_per_second_measurement` is never used [INFO] [stdout] --> src/utils/measurements/presentable_measurements.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn custom_unit_per_second_measurement(value: f64, custom_unit: &'static str) -> PresentableMeasurement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `measure_all_before_event` is never used [INFO] [stdout] --> src/utils/measurements/measurer.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn measure_all_before_event [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `measure_all_after_event` is never used [INFO] [stdout] --> src/utils/measurements/measurer.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn measure_all_after_event [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `measure_before_event`, `measure_after_event`, and `as_custom_measurement` are never used [INFO] [stdout] --> src/utils/measurements/measurer.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait CustomMeasurerExecutor { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] 39 | fn measure_before_event<'a>(&'a mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn measure_after_event<'a>(&'a mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn as_custom_measurement(&self, after_event_measurement: PresentableMeasurement) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `expected_complexity`, `description`, `before_event_measurer_fn`, `before_event_measurement`, and `after_event_measurer_fn` are never read [INFO] [stdout] --> src/utils/measurements/measurer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct CustomMeasurer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | after_event_measurer_fn: MeasureAfterFn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/runners/crud.rs:158:43 [INFO] [stdout] | [INFO] [stdout] 158 | ... (crud_name: &str, [INFO] [stdout] | ^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 166 | ... -> (Option< BigOAlgorithmAnalysis >, // create analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 167 | ... Option< BigOAlgorithmAnalysis >, // read analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 168 | ... Option< BigOAlgorithmAnalysis >, // update analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 169 | ... Option< BigOAlgorithmAnalysis >, // delete analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [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] 166 ~ -> (Option< BigOAlgorithmAnalysis> >, // create analysis [INFO] [stdout] 167 ~ Option< BigOAlgorithmAnalysis> >, // read analysis [INFO] [stdout] 168 ~ Option< BigOAlgorithmAnalysis> >, // update analysis [INFO] [stdout] 169 ~ Option< BigOAlgorithmAnalysis> >, // delete analysis [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/runners/crud.rs:205:48 [INFO] [stdout] | [INFO] [stdout] 205 | ... (crud_name: &str, [INFO] [stdout] | ^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 213 | ... -> Result<(Option< BigOAlgorithmAnalysis >, // create analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 214 | ... Option< BigOAlgorithmAnalysis >, // read analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 215 | ... Option< BigOAlgorithmAnalysis >, // update analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 216 | ... Option< BigOAlgorithmAnalysis >, // delete analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 213 ~ -> Result<(Option< BigOAlgorithmAnalysis> >, // create analysis [INFO] [stdout] 214 ~ Option< BigOAlgorithmAnalysis> >, // read analysis [INFO] [stdout] 215 ~ Option< BigOAlgorithmAnalysis> >, // update analysis [INFO] [stdout] 216 ~ Option< BigOAlgorithmAnalysis> >, // delete analysis [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/metrics_allocator/metrics_allocator.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn save_point(&self) -> MetricsAllocatorSavePoint { [INFO] [stdout] | ^^^^^ ------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 132 | pub fn save_point(&self) -> MetricsAllocatorSavePoint<'_, RING_BUFFER_SIZE> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.82s [INFO] running `Command { std: "docker" "inspect" "ede7624593f2bd42826deafbd46f2971f062748961838425d79ecdc914e32071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ede7624593f2bd42826deafbd46f2971f062748961838425d79ecdc914e32071", kill_on_drop: false }` [INFO] [stdout] ede7624593f2bd42826deafbd46f2971f062748961838425d79ecdc914e32071 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34da5159a6f1431c265b571c08caaef69168b919d2b64e970604676bb42feaaf [INFO] running `Command { std: "docker" "start" "-a" "34da5159a6f1431c265b571c08caaef69168b919d2b64e970604676bb42feaaf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling sdd v3.0.8 [INFO] [stderr] Compiling spin_sleep v1.3.2 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling scc v2.3.4 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling keen-retry v0.5.0 [INFO] [stderr] Compiling big-o-test v0.2.13 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `first_pass_measurements` and `second_pass_measurements` are never read [INFO] [stdout] --> src/api/builders/regular_async_builder.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct RegularAsyncAnalyzerBuilder) -> FirstPassFut + Send + Sync, [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | first_pass_measurements: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | second_pass_measurements: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `test_run` is never used [INFO] [stdout] --> src/api/builders/regular_async_builder.rs:198:14 [INFO] [stdout] | [INFO] [stdout] 54 | / impl) -> FirstPassFut + Send + Sync, [INFO] [stdout] 55 | | FirstPassFut: Future + Send, [INFO] [stdout] 56 | | SecondPassFn: FnMut(Option) -> SecondPassFut + Send + Sync, [INFO] [stdout] 57 | | SecondPassFut: Future + Send, [INFO] [stdout] 58 | | AlgoDataType: Send + Sync + Debug> [INFO] [stdout] 59 | | RegularAsyncAnalyzerBuilder { [INFO] [stdout] | |_________________________________________________________________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | async fn test_run(mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `duration_measurement` is never used [INFO] [stdout] --> src/utils/measurements/presentable_measurements.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn duration_measurement(duration: Duration) -> PresentableMeasurement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_measurement` is never used [INFO] [stdout] --> src/utils/measurements/presentable_measurements.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn bytes_measurement(value: f64) -> PresentableMeasurement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bytes_per_second_measurement` is never used [INFO] [stdout] --> src/utils/measurements/presentable_measurements.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn bytes_per_second_measurement(value: f64) -> PresentableMeasurement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `custom_unit_measurement` is never used [INFO] [stdout] --> src/utils/measurements/presentable_measurements.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn custom_unit_measurement(value: f64, custom_unit: &'static str) -> PresentableMeasurement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `custom_unit_per_second_measurement` is never used [INFO] [stdout] --> src/utils/measurements/presentable_measurements.rs:149:4 [INFO] [stdout] | [INFO] [stdout] 149 | fn custom_unit_per_second_measurement(value: f64, custom_unit: &'static str) -> PresentableMeasurement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `measure_all_before_event` is never used [INFO] [stdout] --> src/utils/measurements/measurer.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | pub async fn measure_all_before_event [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `measure_all_after_event` is never used [INFO] [stdout] --> src/utils/measurements/measurer.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | pub async fn measure_all_after_event [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `measure_before_event`, `measure_after_event`, and `as_custom_measurement` are never used [INFO] [stdout] --> src/utils/measurements/measurer.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait CustomMeasurerExecutor { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] 39 | fn measure_before_event<'a>(&'a mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn measure_after_event<'a>(&'a mut self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn as_custom_measurement(&self, after_event_measurement: PresentableMeasurement) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `expected_complexity`, `description`, `before_event_measurer_fn`, `before_event_measurement`, and `after_event_measurer_fn` are never read [INFO] [stdout] --> src/utils/measurements/measurer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct CustomMeasurer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | after_event_measurer_fn: MeasureAfterFn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/runners/crud.rs:158:43 [INFO] [stdout] | [INFO] [stdout] 158 | ... (crud_name: &str, [INFO] [stdout] | ^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 166 | ... -> (Option< BigOAlgorithmAnalysis >, // create analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 167 | ... Option< BigOAlgorithmAnalysis >, // read analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 168 | ... Option< BigOAlgorithmAnalysis >, // update analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 169 | ... Option< BigOAlgorithmAnalysis >, // delete analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [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] 166 ~ -> (Option< BigOAlgorithmAnalysis> >, // create analysis [INFO] [stdout] 167 ~ Option< BigOAlgorithmAnalysis> >, // read analysis [INFO] [stdout] 168 ~ Option< BigOAlgorithmAnalysis> >, // update analysis [INFO] [stdout] 169 ~ Option< BigOAlgorithmAnalysis> >, // delete analysis [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/runners/crud.rs:205:48 [INFO] [stdout] | [INFO] [stdout] 205 | ... (crud_name: &str, [INFO] [stdout] | ^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 213 | ... -> Result<(Option< BigOAlgorithmAnalysis >, // create analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 214 | ... Option< BigOAlgorithmAnalysis >, // read analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 215 | ... Option< BigOAlgorithmAnalysis >, // update analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 216 | ... Option< BigOAlgorithmAnalysis >, // delete analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 213 ~ -> Result<(Option< BigOAlgorithmAnalysis> >, // create analysis [INFO] [stdout] 214 ~ Option< BigOAlgorithmAnalysis> >, // read analysis [INFO] [stdout] 215 ~ Option< BigOAlgorithmAnalysis> >, // update analysis [INFO] [stdout] 216 ~ Option< BigOAlgorithmAnalysis> >, // delete analysis [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/metrics_allocator/metrics_allocator.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn save_point(&self) -> MetricsAllocatorSavePoint { [INFO] [stdout] | ^^^^^ ------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 132 | pub fn save_point(&self) -> MetricsAllocatorSavePoint<'_, RING_BUFFER_SIZE> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/runners/crud.rs:158:43 [INFO] [stdout] | [INFO] [stdout] 158 | ... (crud_name: &str, [INFO] [stdout] | ^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 166 | ... -> (Option< BigOAlgorithmAnalysis >, // create analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 167 | ... Option< BigOAlgorithmAnalysis >, // read analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 168 | ... Option< BigOAlgorithmAnalysis >, // update analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 169 | ... Option< BigOAlgorithmAnalysis >, // delete analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [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] 166 ~ -> (Option< BigOAlgorithmAnalysis> >, // create analysis [INFO] [stdout] 167 ~ Option< BigOAlgorithmAnalysis> >, // read analysis [INFO] [stdout] 168 ~ Option< BigOAlgorithmAnalysis> >, // update analysis [INFO] [stdout] 169 ~ Option< BigOAlgorithmAnalysis> >, // delete analysis [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/runners/crud.rs:205:48 [INFO] [stdout] | [INFO] [stdout] 205 | ... (crud_name: &str, [INFO] [stdout] | ^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 213 | ... -> Result<(Option< BigOAlgorithmAnalysis >, // create analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 214 | ... Option< BigOAlgorithmAnalysis >, // read analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 215 | ... Option< BigOAlgorithmAnalysis >, // update analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] 216 | ... Option< BigOAlgorithmAnalysis >, // delete analysis [INFO] [stdout] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 213 ~ -> Result<(Option< BigOAlgorithmAnalysis> >, // create analysis [INFO] [stdout] 214 ~ Option< BigOAlgorithmAnalysis> >, // read analysis [INFO] [stdout] 215 ~ Option< BigOAlgorithmAnalysis> >, // update analysis [INFO] [stdout] 216 ~ Option< BigOAlgorithmAnalysis> >, // delete analysis [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/metrics_allocator/metrics_allocator.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn save_point(&self) -> MetricsAllocatorSavePoint { [INFO] [stdout] | ^^^^^ ------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 132 | pub fn save_point(&self) -> MetricsAllocatorSavePoint<'_, RING_BUFFER_SIZE> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.12s [INFO] running `Command { std: "docker" "inspect" "34da5159a6f1431c265b571c08caaef69168b919d2b64e970604676bb42feaaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34da5159a6f1431c265b571c08caaef69168b919d2b64e970604676bb42feaaf", kill_on_drop: false }` [INFO] [stdout] 34da5159a6f1431c265b571c08caaef69168b919d2b64e970604676bb42feaaf [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eafbf80445e154e1f8d6e3b8350d8ffc717da1dad8a9ac4f8c0363db4eec90b3 [INFO] running `Command { std: "docker" "start" "-a" "eafbf80445e154e1f8d6e3b8350d8ffc717da1dad8a9ac4f8c0363db4eec90b3", kill_on_drop: false }` [INFO] [stderr] warning: fields `first_pass_measurements` and `second_pass_measurements` are never read [INFO] [stderr] --> src/api/builders/regular_async_builder.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct RegularAsyncAnalyzerBuilder) -> FirstPassFut + Send + Sync, [INFO] [stderr] | --------------------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 36 | first_pass_measurements: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | second_pass_measurements: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `test_run` is never used [INFO] [stderr] --> src/api/builders/regular_async_builder.rs:198:14 [INFO] [stderr] | [INFO] [stderr] 54 | / impl) -> FirstPassFut + Send + Sync, [INFO] [stderr] 55 | | FirstPassFut: Future + Send, [INFO] [stderr] 56 | | SecondPassFn: FnMut(Option) -> SecondPassFut + Send + Sync, [INFO] [stderr] 57 | | SecondPassFut: Future + Send, [INFO] [stderr] 58 | | AlgoDataType: Send + Sync + Debug> [INFO] [stderr] 59 | | RegularAsyncAnalyzerBuilder { [INFO] [stderr] | |_________________________________________________________________________________________________- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 198 | async fn test_run(mut self) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `duration_measurement` is never used [INFO] [stderr] --> src/utils/measurements/presentable_measurements.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn duration_measurement(duration: Duration) -> PresentableMeasurement { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `bytes_measurement` is never used [INFO] [stderr] --> src/utils/measurements/presentable_measurements.rs:58:8 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn bytes_measurement(value: f64) -> PresentableMeasurement { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `bytes_per_second_measurement` is never used [INFO] [stderr] --> src/utils/measurements/presentable_measurements.rs:86:8 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn bytes_per_second_measurement(value: f64) -> PresentableMeasurement { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `custom_unit_measurement` is never used [INFO] [stderr] --> src/utils/measurements/presentable_measurements.rs:116:8 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn custom_unit_measurement(value: f64, custom_unit: &'static str) -> PresentableMeasurement { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `custom_unit_per_second_measurement` is never used [INFO] [stderr] --> src/utils/measurements/presentable_measurements.rs:149:4 [INFO] [stderr] | [INFO] [stderr] 149 | fn custom_unit_per_second_measurement(value: f64, custom_unit: &'static str) -> PresentableMeasurement { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `measure_all_before_event` is never used [INFO] [stderr] --> src/utils/measurements/measurer.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | pub async fn measure_all_before_event [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `measure_all_after_event` is never used [INFO] [stderr] --> src/utils/measurements/measurer.rs:24:14 [INFO] [stderr] | [INFO] [stderr] 24 | pub async fn measure_all_after_event [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `measure_before_event`, `measure_after_event`, and `as_custom_measurement` are never used [INFO] [stderr] --> src/utils/measurements/measurer.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 38 | pub trait CustomMeasurerExecutor { [INFO] [stderr] | ---------------------- methods in this trait [INFO] [stderr] 39 | fn measure_before_event<'a>(&'a mut self, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 42 | fn measure_after_event<'a>(&'a mut self, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | fn as_custom_measurement(&self, after_event_measurement: PresentableMeasurement) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `expected_complexity`, `description`, `before_event_measurer_fn`, `before_event_measurement`, and `after_event_measurer_fn` are never read [INFO] [stderr] --> src/utils/measurements/measurer.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 63 | pub struct CustomMeasurer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 74 | after_event_measurer_fn: MeasureAfterFn, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/runners/crud.rs:158:43 [INFO] [stderr] | [INFO] [stderr] 158 | ... (crud_name: &str, [INFO] [stderr] | ^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 166 | ... -> (Option< BigOAlgorithmAnalysis >, // create analysis [INFO] [stderr] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stderr] 167 | ... Option< BigOAlgorithmAnalysis >, // read analysis [INFO] [stderr] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stderr] 168 | ... Option< BigOAlgorithmAnalysis >, // update analysis [INFO] [stderr] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stderr] 169 | ... Option< BigOAlgorithmAnalysis >, // delete analysis [INFO] [stderr] | ---------------------------------------- the lifetimes get resolved as `'_` [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] 166 ~ -> (Option< BigOAlgorithmAnalysis> >, // create analysis [INFO] [stderr] 167 ~ Option< BigOAlgorithmAnalysis> >, // read analysis [INFO] [stderr] 168 ~ Option< BigOAlgorithmAnalysis> >, // update analysis [INFO] [stderr] 169 ~ Option< BigOAlgorithmAnalysis> >, // delete analysis [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/runners/crud.rs:205:48 [INFO] [stderr] | [INFO] [stderr] 205 | ... (crud_name: &str, [INFO] [stderr] | ^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 213 | ... -> Result<(Option< BigOAlgorithmAnalysis >, // create analysis [INFO] [stderr] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stderr] 214 | ... Option< BigOAlgorithmAnalysis >, // read analysis [INFO] [stderr] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stderr] 215 | ... Option< BigOAlgorithmAnalysis >, // update analysis [INFO] [stderr] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stderr] 216 | ... Option< BigOAlgorithmAnalysis >, // delete analysis [INFO] [stderr] | ---------------------------------------- the lifetimes get resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 213 ~ -> Result<(Option< BigOAlgorithmAnalysis> >, // create analysis [INFO] [stderr] 214 ~ Option< BigOAlgorithmAnalysis> >, // read analysis [INFO] [stderr] 215 ~ Option< BigOAlgorithmAnalysis> >, // update analysis [INFO] [stderr] 216 ~ Option< BigOAlgorithmAnalysis> >, // delete analysis [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/metrics_allocator/metrics_allocator.rs:132:23 [INFO] [stderr] | [INFO] [stderr] 132 | pub fn save_point(&self) -> MetricsAllocatorSavePoint { [INFO] [stderr] | ^^^^^ ------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 132 | pub fn save_point(&self) -> MetricsAllocatorSavePoint<'_, RING_BUFFER_SIZE> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `big-o-test` (lib) generated 14 warnings [INFO] [stderr] warning: `big-o-test` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/big_o_test-3dff507a1a4570b2) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test api::builders::regular_async_builder::tests::minimum_options ... ok [INFO] [stdout] test api::builders::regular_async_builder::tests::full_options ... ok [INFO] [stdout] test metrics_allocator::metrics_allocator::tests::usage_example ... ok [INFO] [stdout] test metrics_allocator::metrics_allocator::tests::test_save_point_min_and_max_memory_usage ... ok [INFO] [stdout] test metrics_allocator::ring_buffer::tests::simple_enqueue_dequeue_use_cases ... ok [INFO] [stdout] test metrics_allocator::ring_buffer::tests::peek ... ok [INFO] [stdout] test api::builders::regular_async_builder::tests::test_algorithm_retrying_once ... ok [INFO] [stdout] test utils::measurements::measurer::tests::test_custom_measurer ... ok [INFO] [stdout] test utils::measurements::presentable_measurements::tests::test_bytes_measurement ... ok [INFO] [stdout] test utils::measurements::presentable_measurements::tests::test_bytes_per_second_measurement ... ok [INFO] [stdout] test utils::measurements::presentable_measurements::tests::test_custom_unit_measurement ... ok [INFO] [stdout] test utils::measurements::presentable_measurements::tests::test_custom_unit_per_second_measurement ... ok [INFO] [stdout] test utils::measurements::presentable_measurements::tests::test_duration_measurement ... ok [INFO] [stdout] test low_level_analysis::low_level_analysis::tests::analyse_constant_set_algorithm_real_test ... FAILED [INFO] [stdout] test api::builders::regular_async_builder::tests::raw_analyse_algorithm ... ok [INFO] [stdout] test low_level_analysis::low_level_analysis::tests::analyse_set_resizing_algorithm_real_test ... ok [INFO] [stdout] test low_level_analysis::low_level_analysis::tests::smooth_transitions ... ok [INFO] [stdout] test low_level_analysis::space_analysis::tests::analyse_constant_set_algorithm_theoretical_test ... ok [INFO] [stdout] test low_level_analysis::types::types_impl::tests::serialization ... ok [INFO] [stdout] test low_level_analysis::time_analysis::tests::analyse_algorithm_theoretical_test ... ok [INFO] [stdout] test metrics_allocator::ring_buffer::tests::buffer_overflowing ... ok [INFO] [stdout] test low_level_analysis::time_analysis::tests::analyse_constant_set_iterator_algorithm_theoretical_test ... ok [INFO] [stdout] test low_level_analysis::space_analysis::tests::analyse_set_resizing_algorithm_theoretical_test ... ok [INFO] [stdout] test low_level_analysis::time_analysis::tests::analyse_set_resizing_iterator_algorithm_theoretical_test ... ok [INFO] [stdout] test metrics_allocator::ring_buffer::tests::concurrency ... ok [INFO] [stdout] test low_level_analysis::low_level_analysis::tests::smooth_transitions_for_set_resizing_iterator_algorithm_ ... ok [INFO] [stdout] test runners::crud::tests::thread_chunk_division ... ok [INFO] [stdout] test runners::crud::tests::analyse_crud_algorithm_output_check ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- low_level_analysis::low_level_analysis::tests::analyse_constant_set_algorithm_real_test stdout ---- [INFO] [stdout] Real 'O1_select() function', fetching 1024 elements on each pass (warmup: 949.45µs/+13.79KiB; pass1: 892.95µs/+12.75KiB; pass2: 905.78µs/+4.70KiB): [INFO] [stdout] 'O1_select() function' constant set iterator-algorithm measurements: [INFO] [stdout] pass Δt Δs Σn ⊆r t⁻ [INFO] [stdout] 1) 892.95µs +12.75KiB 1024 1024 872.000ns [INFO] [stdout] 2) 905.78µs +4.70KiB 4096 1024 885.000ns [INFO] [stdout] --> Algorithm Time Analysis: O(1) [INFO] [stdout] --> Algorithm Space Analysis: Better than O(1) -- are initialization allocations involved? Consider using a warm up pass (allocated: 11.76KiB; auxiliary used space: 5.69KiB) [INFO] [stdout] (r=3088682670) [INFO] [stdout] [INFO] [stdout] thread 'low_level_analysis::low_level_analysis::tests::analyse_constant_set_algorithm_real_test' panicked at src/low_level_analysis/low_level_analysis.rs:242:17: [INFO] [stdout] assertion `left == right` failed: Algorithm SPACE Analysis on CONSTANT SET algorithm for 'O1_select() function' check failed! [INFO] [stdout] left: BetterThanO1 [INFO] [stdout] right: O1 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5fedc52bac72 - std::backtrace_rs::backtrace::libunwind::trace::hf6dd235ae0786829 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5fedc52bac72 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a5b54e78104e8b2 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5fedc52bac72 - std::sys::backtrace::_print_fmt::hca7a5c1644e21919 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5fedc52bac72 - ::fmt::h38110959524b373c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5fedc52e1843 - core::fmt::rt::Argument::fmt::h391eb3fdbf3d4042 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5fedc52e1843 - core::fmt::write::h5b87140645224122 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x5fedc52b7a63 - std::io::default_write_fmt::h3039811ce7aea84b [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5fedc52b7a63 - std::io::Write::write_fmt::h2eef262cf4840ab4 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5fedc52baac2 - std::sys::backtrace::BacktraceLock::print::hcd755c38f62e4492 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5fedc52bc02c - std::panicking::default_hook::{{closure}}::h351f33591b26e6e7 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5fedc52bbe82 - std::panicking::default_hook::he5bba7bf0a373c6e [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5fedc51d2804 - as core::ops::function::Fn>::call::he967d9fa26b9957c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x5fedc51d2804 - test::test_main_with_exit_callback::{{closure}}::h80e1694b81a05381 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5fedc52bca0b - as core::ops::function::Fn>::call::h4e924fcf5bc64d70 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x5fedc52bca0b - std::panicking::rust_panic_with_hook::hdf456b43e6535023 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5fedc52bc7da - std::panicking::begin_panic_handler::{{closure}}::he1c1ab0b84006a97 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x5fedc52bb169 - std::sys::backtrace::__rust_end_short_backtrace::h2a71da996e10b8a0 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5fedc52bc46d - __rustc[92197b79f0fe8095]::rust_begin_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5fedc52df490 - core::panicking::panic_fmt::h723bf1d52f6dad29 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5fedc52df853 - core::panicking::assert_failed_inner::hf0724fdfb0e16b9c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panicking.rs:427:23 [INFO] [stdout] 20: 0x5fedc514dc0d - core::panicking::assert_failed::h4f99bcf15c88b5bc [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panicking.rs:387:5 [INFO] [stdout] 21: 0x5fedc5195178 - big_o_test::low_level_analysis::low_level_analysis::tests::analyse_constant_set_algorithm_real_test::{{closure}}::{{closure}}::h2b78488aada47cc8 [INFO] [stdout] at /opt/rustwide/workdir/src/low_level_analysis/low_level_analysis.rs:242:17 [INFO] [stdout] 22: 0x5fedc5194102 - big_o_test::low_level_analysis::low_level_analysis::tests::analyse_constant_set_algorithm_real_test::{{closure}}::hc1b3537ff5108e3c [INFO] [stdout] at /opt/rustwide/workdir/src/low_level_analysis/low_level_analysis.rs:252:9 [INFO] [stdout] 23: 0x5fedc512197e - core::ops::function::FnOnce::call_once::hd60dc0304fdad352 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5fedc51f5523 - serial_test::serial_code_lock::local_serial_core::hdb2defb6013df2d6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serial_test-3.2.0/src/serial_code_lock.rs:36:5 [INFO] [stdout] 25: 0x5fedc5194078 - big_o_test::low_level_analysis::low_level_analysis::tests::analyse_constant_set_algorithm_real_test::hd75db86178adb799 [INFO] [stdout] at /opt/rustwide/workdir/src/low_level_analysis/low_level_analysis.rs:140:5 [INFO] [stdout] 26: 0x5fedc5193fc7 - big_o_test::low_level_analysis::low_level_analysis::tests::analyse_constant_set_algorithm_real_test::{{closure}}::h76bcfaff832155bc [INFO] [stdout] at /opt/rustwide/workdir/src/low_level_analysis/low_level_analysis.rs:141:50 [INFO] [stdout] 27: 0x5fedc5120ea6 - core::ops::function::FnOnce::call_once::h34ed605595ce11e8 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x5fedc51d7fab - core::ops::function::FnOnce::call_once::h0669c8b9c48a7d8a [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x5fedc51d7fab - test::__rust_begin_short_backtrace::h7b085d6d90a7575c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x5fedc51d717e - test::run_test_in_process::{{closure}}::ha304053f1e1d1fbe [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x5fedc51d717e - as core::ops::function::FnOnce<()>>::call_once::h8e30650eb6723f86 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x5fedc51d717e - std::panicking::catch_unwind::do_call::hfe563e330be3fd9d [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x5fedc51d717e - std::panicking::catch_unwind::hed40f568f7f44546 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x5fedc51d717e - std::panic::catch_unwind::h3bb9c46c11d39dfb [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x5fedc51d717e - test::run_test_in_process::hd65f1a6e6622ae42 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x5fedc51d717e - test::run_test::{{closure}}::h9e896de936f245ea [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x5fedc519ad74 - test::run_test::{{closure}}::hbb18881f56552c10 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x5fedc519ad74 - std::sys::backtrace::__rust_begin_short_backtrace::hca2387d32733b689 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x5fedc519e66a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9601175bf02a7fb8 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x5fedc519e66a - as core::ops::function::FnOnce<()>>::call_once::had8286ad0e1f2528 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x5fedc519e66a - std::panicking::catch_unwind::do_call::he4164e9e75841fd6 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x5fedc519e66a - std::panicking::catch_unwind::h48ccc52a84ae7300 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x5fedc519e66a - std::panic::catch_unwind::h3d97eb787aa35ee4 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x5fedc519e66a - std::thread::Builder::spawn_unchecked_::{{closure}}::h1019329d11de31fb [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x5fedc519e66a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h050615be551c6447 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x5fedc52bfa67 - as core::ops::function::FnOnce>::call_once::h23e83c3768c28e74 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 47: 0x5fedc52bfa67 - as core::ops::function::FnOnce>::call_once::he67b41932d2c126e [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 48: 0x5fedc52bfa67 - std::sys::pal::unix::thread::Thread::new::thread_start::hc05bf0eaa2386caa [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 49: 0x7f0a56c67aa4 - [INFO] [stdout] 50: 0x7f0a56cf4a34 - clone [INFO] [stdout] 51: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] low_level_analysis::low_level_analysis::tests::analyse_constant_set_algorithm_real_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 27 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.83s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "eafbf80445e154e1f8d6e3b8350d8ffc717da1dad8a9ac4f8c0363db4eec90b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eafbf80445e154e1f8d6e3b8350d8ffc717da1dad8a9ac4f8c0363db4eec90b3", kill_on_drop: false }` [INFO] [stdout] eafbf80445e154e1f8d6e3b8350d8ffc717da1dad8a9ac4f8c0363db4eec90b3