[INFO] fetching crate big-o-test 0.2.12... [INFO] testing big-o-test-0.2.12 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] extracting crate big-o-test 0.2.12 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate big-o-test 0.2.12 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate big-o-test 0.2.12 [INFO] tweaked toml for crates.io crate big-o-test 0.2.12 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate big-o-test 0.2.12 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate big-o-test 0.2.12 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fbd1b7e1fd47143906ff79c8b2c491b2710f5c185862e97fb92f30e6bd81f40 [INFO] running `Command { std: "docker" "start" "-a" "2fbd1b7e1fd47143906ff79c8b2c491b2710f5c185862e97fb92f30e6bd81f40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fbd1b7e1fd47143906ff79c8b2c491b2710f5c185862e97fb92f30e6bd81f40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fbd1b7e1fd47143906ff79c8b2c491b2710f5c185862e97fb92f30e6bd81f40", kill_on_drop: false }` [INFO] [stdout] 2fbd1b7e1fd47143906ff79c8b2c491b2710f5c185862e97fb92f30e6bd81f40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57a4793ff362d0bfa2085fed6f80bc176f0c2908aac9a37021e8f93209ef9e7c [INFO] running `Command { std: "docker" "start" "-a" "57a4793ff362d0bfa2085fed6f80bc176f0c2908aac9a37021e8f93209ef9e7c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling keen-retry v0.5.0 [INFO] [stderr] Compiling big-o-test v0.2.12 (/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 47.20s [INFO] running `Command { std: "docker" "inspect" "57a4793ff362d0bfa2085fed6f80bc176f0c2908aac9a37021e8f93209ef9e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57a4793ff362d0bfa2085fed6f80bc176f0c2908aac9a37021e8f93209ef9e7c", kill_on_drop: false }` [INFO] [stdout] 57a4793ff362d0bfa2085fed6f80bc176f0c2908aac9a37021e8f93209ef9e7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6c0bafac7a4f1919773194bb3363916ec8bcab9a2540711777a57b49ad31517 [INFO] running `Command { std: "docker" "start" "-a" "b6c0bafac7a4f1919773194bb3363916ec8bcab9a2540711777a57b49ad31517", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling sdd v3.0.5 [INFO] [stderr] Compiling spin_sleep v1.1.1 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling ctor v0.2.5 [INFO] [stderr] Compiling scc v2.3.0 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [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.12 (/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: unexpected `cfg` condition value: `used_linker` [INFO] [stdout] --> tests/big_o_tests.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #[ctor] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `no_allocator_metrics`, `no_report`, `report_stderr`, `report_stdout`, `tolerance_10_percent`, and `tolerance_25_percent` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ctor` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [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 31.54s [INFO] running `Command { std: "docker" "inspect" "b6c0bafac7a4f1919773194bb3363916ec8bcab9a2540711777a57b49ad31517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6c0bafac7a4f1919773194bb3363916ec8bcab9a2540711777a57b49ad31517", kill_on_drop: false }` [INFO] [stdout] b6c0bafac7a4f1919773194bb3363916ec8bcab9a2540711777a57b49ad31517 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1acdbceb1cc9da915875db11369c24122c12f18592ea5fe4b926971e4b6bbd4d [INFO] running `Command { std: "docker" "start" "-a" "1acdbceb1cc9da915875db11369c24122c12f18592ea5fe4b926971e4b6bbd4d", 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] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stderr] --> tests/big_o_tests.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | #[ctor] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `no_allocator_metrics`, `no_report`, `report_stderr`, `report_stdout`, `tolerance_10_percent`, and `tolerance_25_percent` [INFO] [stderr] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `ctor` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the attribute macro `ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the attribute macro `ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `big-o-test` (test "big_o_tests") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/big_o_test-e8aef1047a89cad4) [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::test_save_point_min_and_max_memory_usage ... ok [INFO] [stdout] test metrics_allocator::metrics_allocator::tests::usage_example ... ok [INFO] [stdout] test metrics_allocator::ring_buffer::tests::peek ... ok [INFO] [stdout] test metrics_allocator::ring_buffer::tests::simple_enqueue_dequeue_use_cases ... ok [INFO] [stdout] test low_level_analysis::low_level_analysis::tests::analyse_set_resizing_algorithm_real_test ... FAILED [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 api::builders::regular_async_builder::tests::raw_analyse_algorithm ... ok [INFO] [stdout] test low_level_analysis::low_level_analysis::tests::smooth_transitions ... ok [INFO] [stdout] test low_level_analysis::low_level_analysis::tests::smooth_transitions_for_set_resizing_iterator_algorithm_ ... ok [INFO] [stdout] test low_level_analysis::space_analysis::tests::analyse_constant_set_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_constant_set_iterator_algorithm_theoretical_test ... ok [INFO] [stdout] test low_level_analysis::time_analysis::tests::analyse_algorithm_theoretical_test ... ok [INFO] [stdout] test low_level_analysis::time_analysis::tests::analyse_set_resizing_iterator_algorithm_theoretical_test ... ok [INFO] [stdout] test low_level_analysis::types::types_impl::tests::serialization ... ok [INFO] [stdout] test metrics_allocator::ring_buffer::tests::buffer_overflowing ... ok [INFO] [stdout] test metrics_allocator::ring_buffer::tests::concurrency ... ok [INFO] [stdout] test runners::crud::tests::analyse_crud_algorithm_output_check ... ok [INFO] [stdout] test runners::crud::tests::thread_chunk_division ... ok [INFO] [stdout] test low_level_analysis::low_level_analysis::tests::analyse_constant_set_algorithm_real_test ... ok [INFO] [stdout] test api::builders::regular_async_builder::tests::test_algorithm_retrying_once ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- low_level_analysis::low_level_analysis::tests::analyse_set_resizing_algorithm_real_test stdout ---- [INFO] [stdout] Real 'O1_insert() function' with 1024 elements on each pass (warmup: 164.87µs/+12.28KiB; pass1: 145.86µs/+15.39KiB; pass2: 143.55µs/+9.53KiB): [INFO] [stdout] 'O1_insert() function' set resizing iterator-algorithm measurements: [INFO] [stdout] pass Δt Δs Σn t⁻ [INFO] [stdout] 1) 145.86µs +15.39KiB 1024 142.000ns [INFO] [stdout] 2) 143.55µs +9.53KiB 2048 140.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: 14.75KiB; auxiliary used space: 10.17KiB) [INFO] [stdout] (r=2424667982) [INFO] [stdout] [INFO] [stdout] thread 'low_level_analysis::low_level_analysis::tests::analyse_set_resizing_algorithm_real_test' panicked at src/low_level_analysis/low_level_analysis.rs:338:17: [INFO] [stdout] assertion `left == right` failed: Algorithm SPACE Analysis on SET RESIZING algorithm for 'O1_insert() function' check failed! [INFO] [stdout] left: BetterThanO1 [INFO] [stdout] right: O1 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61a02afc1c42 - std::backtrace_rs::backtrace::libunwind::trace::h73a647620bf1c49d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61a02afc1c42 - std::backtrace_rs::backtrace::trace_unsynchronized::hd4d513ed96cb3cb1 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61a02afc1c42 - std::sys::backtrace::_print_fmt::h61bb95f7476aafa5 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61a02afc1c42 - ::fmt::ha2e7e3a01df69042 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61a02afe86b3 - core::fmt::rt::Argument::fmt::hf14163372f0f9a76 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61a02afe86b3 - core::fmt::write::h7cb8f63788cd01d2 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x61a02afbea03 - std::io::default_write_fmt::h9ed739ccee8a150c [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61a02afbea03 - std::io::Write::write_fmt::h1c0a32da913b32f1 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61a02afc1a92 - std::sys::backtrace::BacktraceLock::print::h3ec4d7883eb25e61 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61a02afc300c - std::panicking::default_hook::{{closure}}::h29548987efd832cb [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x61a02afc2e62 - std::panicking::default_hook::ha25170a15c643514 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x61a02af66244 - as core::ops::function::Fn>::call::h562adeecbf43c420 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x61a02af66244 - test::test_main_with_exit_callback::{{closure}}::h97dd2a879d27e0e4 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x61a02afc3aeb - as core::ops::function::Fn>::call::h7e85cbdbda26fdb7 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x61a02afc3aeb - std::panicking::rust_panic_with_hook::h0d81afcd829aa24b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x61a02afc37ba - std::panicking::begin_panic_handler::{{closure}}::hc84a33f1202346cf [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x61a02afc2139 - std::sys::backtrace::__rust_end_short_backtrace::h373067a14f6c59aa [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x61a02afc344d - __rustc[beb0385846a06d21]::rust_begin_unwind [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x61a02afe63d0 - core::panicking::panic_fmt::ha33fa2ae772efba9 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x61a02afe66f7 - core::panicking::assert_failed_inner::h6a89cd271393c011 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:443:23 [INFO] [stdout] 20: 0x61a02af2977f - core::panicking::assert_failed::he90b62d0ebcb8d88 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x61a02af22c33 - big_o_test::low_level_analysis::low_level_analysis::tests::analyse_set_resizing_algorithm_real_test::{{closure}}::{{closure}}::h8a4c52c64f1b8a99 [INFO] [stdout] 22: 0x61a02af20b8e - big_o_test::low_level_analysis::low_level_analysis::tests::analyse_set_resizing_algorithm_real_test::{{closure}}::h1413c83d82798f0b [INFO] [stdout] at /opt/rustwide/workdir/src/low_level_analysis/low_level_analysis.rs:348:9 [INFO] [stdout] 23: 0x61a02af20b8e - core::ops::function::FnOnce::call_once::h9ffaa4dc9210f94b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x61a02af71575 - serial_test::serial_code_lock::local_serial_core::hf21a521782025f56 [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: 0x61a02af17bea - big_o_test::low_level_analysis::low_level_analysis::tests::analyse_set_resizing_algorithm_real_test::h0a102dcd574cbd3d [INFO] [stdout] at /opt/rustwide/workdir/src/low_level_analysis/low_level_analysis.rs:260:5 [INFO] [stdout] 26: 0x61a02af17bea - big_o_test::low_level_analysis::low_level_analysis::tests::analyse_set_resizing_algorithm_real_test::{{closure}}::hddce07747fc44663 [INFO] [stdout] at /opt/rustwide/workdir/src/low_level_analysis/low_level_analysis.rs:261:50 [INFO] [stdout] 27: 0x61a02af17bea - core::ops::function::FnOnce::call_once::hc0cbcf1a5939059f [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 28: 0x61a02af6b97b - core::ops::function::FnOnce::call_once::hf84b9c3d864a6959 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 29: 0x61a02af6b97b - test::__rust_begin_short_backtrace::h5724e31441c16fcb [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:648:18 [INFO] [stdout] 30: 0x61a02af6abbe - test::run_test_in_process::{{closure}}::hbc28c9aa91793d7d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:74 [INFO] [stdout] 31: 0x61a02af6abbe - as core::ops::function::FnOnce<()>>::call_once::hc17b0e238c0f8f3e [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 32: 0x61a02af6abbe - std::panicking::catch_unwind::do_call::hcdbce0d6dd6c83ce [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] 33: 0x61a02af6abbe - std::panicking::catch_unwind::h9477967ceea044e8 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] 34: 0x61a02af6abbe - std::panic::catch_unwind::h616a2e249da12e16 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stdout] 35: 0x61a02af6abbe - test::run_test_in_process::h2758deb0f2e54430 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:27 [INFO] [stdout] 36: 0x61a02af6abbe - test::run_test::{{closure}}::habe5cd2564b18aaa [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:592:43 [INFO] [stdout] 37: 0x61a02af2e764 - test::run_test::{{closure}}::h9a0a6928f1a15421 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:622:41 [INFO] [stdout] 38: 0x61a02af2e764 - std::sys::backtrace::__rust_begin_short_backtrace::hd68b5332434a22ca [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 39: 0x61a02af3210a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h264ddcc3098eacae [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 40: 0x61a02af3210a - as core::ops::function::FnOnce<()>>::call_once::h9fa39489749d6f3c [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 41: 0x61a02af3210a - std::panicking::catch_unwind::do_call::hb9a1944b9f85100f [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] 42: 0x61a02af3210a - std::panicking::catch_unwind::h0c6f100786c0dad8 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] 43: 0x61a02af3210a - std::panic::catch_unwind::hf6084e2723385823 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stdout] 44: 0x61a02af3210a - std::thread::Builder::spawn_unchecked_::{{closure}}::hf0af58ce658143ad [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 45: 0x61a02af3210a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h88a14f9b2e79f9de [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x61a02afc6b47 - as core::ops::function::FnOnce>::call_once::hf31256ba38644b65 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 47: 0x61a02afc6b47 - as core::ops::function::FnOnce>::call_once::h100ad77f3448041b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 48: 0x61a02afc6b47 - std::sys::pal::unix::thread::Thread::new::thread_start::h1a22ded422ce395b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 49: 0x73ef4aeecaa4 - [INFO] [stdout] 50: 0x73ef4af79a34 - clone [INFO] [stdout] 51: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] low_level_analysis::low_level_analysis::tests::analyse_set_resizing_algorithm_real_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 27 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "1acdbceb1cc9da915875db11369c24122c12f18592ea5fe4b926971e4b6bbd4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1acdbceb1cc9da915875db11369c24122c12f18592ea5fe4b926971e4b6bbd4d", kill_on_drop: false }` [INFO] [stdout] 1acdbceb1cc9da915875db11369c24122c12f18592ea5fe4b926971e4b6bbd4d