[INFO] fetching crate srex 0.1.0... [INFO] testing srex-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate srex 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate srex 0.1.0 [INFO] finished tweaking crates.io crate srex 0.1.0 [INFO] tweaked toml for crates.io crate srex 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate srex 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 63 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b629b091925ce6f6e652352794d3163e61b2b304b89b9e4575ab02913305fb1 [INFO] running `Command { std: "docker" "start" "-a" "5b629b091925ce6f6e652352794d3163e61b2b304b89b9e4575ab02913305fb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b629b091925ce6f6e652352794d3163e61b2b304b89b9e4575ab02913305fb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b629b091925ce6f6e652352794d3163e61b2b304b89b9e4575ab02913305fb1", kill_on_drop: false }` [INFO] [stdout] 5b629b091925ce6f6e652352794d3163e61b2b304b89b9e4575ab02913305fb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 382f222874fabdf0264e23d85be07d0bf15f5ee7658460230f93b68ea617c196 [INFO] running `Command { std: "docker" "start" "-a" "382f222874fabdf0264e23d85be07d0bf15f5ee7658460230f93b68ea617c196", kill_on_drop: false }` [INFO] [stderr] Compiling srex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DataChunk` and `SRecordFile` [INFO] [stdout] --> src/srecord/record.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::srecord::{DataChunk, RecordType, SRecordFile}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::srecord::Record` [INFO] [stdout] --> src/srecord/record_type.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::srecord::Record; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/srecord/slice_index.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataChunk` and `SRecordFile` [INFO] [stdout] --> src/srecord/slice_index.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::srecord::{DataChunk, SRecordFile}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/srecord/data_chunk.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn iter_records(&self, record_size: usize) -> DataChunkIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn iter_records(&self, record_size: usize) -> DataChunkIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/srecord/srecord_file.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter_records(&self, data_record_size: usize) -> SRecordFileIterator { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter_records(&self, data_record_size: usize) -> SRecordFileIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "382f222874fabdf0264e23d85be07d0bf15f5ee7658460230f93b68ea617c196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "382f222874fabdf0264e23d85be07d0bf15f5ee7658460230f93b68ea617c196", kill_on_drop: false }` [INFO] [stdout] 382f222874fabdf0264e23d85be07d0bf15f5ee7658460230f93b68ea617c196 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06728d2a78f4b79d9844f04150aa5db4cadcf3f9ecbd3ae6e3de1eaf8edd924d [INFO] running `Command { std: "docker" "start" "-a" "06728d2a78f4b79d9844f04150aa5db4cadcf3f9ecbd3ae6e3de1eaf8edd924d", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stdout] warning: unused imports: `DataChunk` and `SRecordFile` [INFO] [stdout] --> src/srecord/record.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::srecord::{DataChunk, RecordType, SRecordFile}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::srecord::Record` [INFO] [stdout] --> src/srecord/record_type.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::srecord::Record; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/srecord/slice_index.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataChunk` and `SRecordFile` [INFO] [stdout] --> src/srecord/slice_index.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::srecord::{DataChunk, SRecordFile}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/srecord/data_chunk.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn iter_records(&self, record_size: usize) -> DataChunkIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn iter_records(&self, record_size: usize) -> DataChunkIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/srecord/srecord_file.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter_records(&self, data_record_size: usize) -> SRecordFileIterator { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter_records(&self, data_record_size: usize) -> SRecordFileIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling srex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DataChunk` and `SRecordFile` [INFO] [stdout] --> src/srecord/record.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::srecord::{DataChunk, RecordType, SRecordFile}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::srecord::Record` [INFO] [stdout] --> src/srecord/record_type.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::srecord::Record; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/srecord/slice_index.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DataChunk` and `SRecordFile` [INFO] [stdout] --> src/srecord/slice_index.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::srecord::{DataChunk, SRecordFile}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/srecord/data_chunk.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn iter_records(&self, record_size: usize) -> DataChunkIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 108 | pub fn iter_records(&self, record_size: usize) -> DataChunkIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/srecord/srecord_file.rs:142:25 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter_records(&self, data_record_size: usize) -> SRecordFileIterator { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter_records(&self, data_record_size: usize) -> SRecordFileIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 19.11s [INFO] running `Command { std: "docker" "inspect" "06728d2a78f4b79d9844f04150aa5db4cadcf3f9ecbd3ae6e3de1eaf8edd924d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06728d2a78f4b79d9844f04150aa5db4cadcf3f9ecbd3ae6e3de1eaf8edd924d", kill_on_drop: false }` [INFO] [stdout] 06728d2a78f4b79d9844f04150aa5db4cadcf3f9ecbd3ae6e3de1eaf8edd924d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9030499fb868a8dd603c09e4422f9b0a11c51310dc1f97463971d4113a7399ee [INFO] running `Command { std: "docker" "start" "-a" "9030499fb868a8dd603c09e4422f9b0a11c51310dc1f97463971d4113a7399ee", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `DataChunk` and `SRecordFile` [INFO] [stderr] --> src/srecord/record.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::srecord::{DataChunk, RecordType, SRecordFile}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::srecord::Record` [INFO] [stderr] --> src/srecord/record_type.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::srecord::Record; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Range` [INFO] [stderr] --> src/srecord/slice_index.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::ops::Range; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DataChunk` and `SRecordFile` [INFO] [stderr] --> src/srecord/slice_index.rs:3:22 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::srecord::{DataChunk, SRecordFile}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/srecord/data_chunk.rs:108:25 [INFO] [stderr] | [INFO] [stderr] 108 | pub fn iter_records(&self, record_size: usize) -> DataChunkIterator { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 108 | pub fn iter_records(&self, record_size: usize) -> DataChunkIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/srecord/srecord_file.rs:142:25 [INFO] [stderr] | [INFO] [stderr] 142 | pub fn iter_records(&self, data_record_size: usize) -> SRecordFileIterator { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 142 | pub fn iter_records(&self, data_record_size: usize) -> SRecordFileIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `srex` (lib) generated 6 warnings (run `cargo fix --lib -p srex` to apply 6 suggestions) [INFO] [stderr] warning: `srex` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/srex-400cb970dd3cf713) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test srecord::record::tests::test_serialize_s0 ... ok [INFO] [stdout] test srecord::record::tests::test_serialize_s3 ... ok [INFO] [stdout] test srecord::record::tests::test_serialize_s5 ... ok [INFO] [stdout] test srecord::record::tests::test_serialize_s7 ... ok [INFO] [stdout] test srecord::record::tests::test_serialize_s9 ... ok [INFO] [stdout] test srecord::record::tests::test_serialize_s8 ... ok [INFO] [stdout] test srecord::record_type::tests::test_record_type_fmt ... ok [INFO] [stdout] test srecord::utils::tests::test_calculate_checksum ... ok [INFO] [stdout] test srecord::record::tests::test_serialize_s1 ... ok [INFO] [stdout] test srecord::record::tests::test_serialize_s6 ... ok [INFO] [stdout] test srecord::record::tests::test_serialize_s2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/srecord.rs (/opt/rustwide/target/debug/deps/srecord-fe7e9a1093c0da0e) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test test_parse_srecord_multiple_data_chunks ... ok [INFO] [stdout] test test_parse_srecord_unsorted_data ... ok [INFO] [stdout] test test_serialize_from_str ... ok [INFO] [stdout] test test_srecord_file_default ... ok [INFO] [stdout] test test_parse_srecord_multiple_start_addresses ... ok [INFO] [stdout] test test_parse_srecord_error ... ok [INFO] [stdout] test test_srecord_file_from_str ... ok [INFO] [stdout] test test_srecord_file_index ... ok [INFO] [stdout] test test_srecord_file_index_mut ... ok [INFO] [stdout] test test_srecord_file_new ... ok [INFO] [stdout] test test_parse_srecord_invalid_record_count ... ok [INFO] [stdout] test test_srecord_file_index_error_2 - should panic ... ok [INFO] [stdout] test test_srecord_file_index_error_3 - should panic ... ok [INFO] [stdout] test test_srecord_file_index_mut_error - should panic ... ok [INFO] [stdout] test test_srecord_file_index_error_1 - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests srex [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test src/srecord/record_type.rs - srecord::record_type::RecordType::num_address_bytes (line 44) ... ok [INFO] [stdout] test src/srecord/data_chunk.rs - srecord::data_chunk::u64::get_mut (line 148) ... ok [INFO] [stdout] test src/srecord/record.rs - srecord::record::Record<'_>::from_str (line 66) ... ok [INFO] [stdout] test src/srecord/data_chunk.rs - srecord::data_chunk::DataChunk::get (line 40) ... ok [INFO] [stdout] test src/srecord/record.rs - srecord::record::Record<'_>::serialize (line 124) ... ok [INFO] [stdout] test src/srecord/srecord_file.rs - srecord::srecord_file::Range::get_mut (line 378) ... ok [INFO] [stdout] test src/srecord/srecord_file.rs - srecord::srecord_file::SRecordFile::from_str (line 562) ... ok [INFO] [stdout] test src/srecord/srecord_file.rs - srecord::srecord_file::Range::get (line 351) ... ok [INFO] [stdout] test src/srecord/data_chunk.rs - srecord::data_chunk::DataChunk::iter_records (line 95) ... ok [INFO] [stdout] test src/srecord/data_chunk.rs - srecord::data_chunk::Range::get_mut (line 205) ... ok [INFO] [stdout] test src/srecord/data_chunk.rs - srecord::data_chunk::DataChunk::get_mut (line 69) ... ok [INFO] [stdout] test src/lib.rs - (line 9) ... ok [INFO] [stdout] test src/srecord/srecord_file.rs - srecord::srecord_file::SRecordFile::get_data_chunk_mut (line 230) ... ok [INFO] [stdout] test src/srecord/record_type.rs - srecord::record_type::RecordType::fmt (line 74) ... ok [INFO] [stdout] test src/srecord/srecord_file.rs - srecord::srecord_file::SRecordFile::get_data_chunk (line 203) ... ok [INFO] [stdout] test src/srecord/srecord_file.rs - srecord::srecord_file::u64::get (line 291) ... ok [INFO] [stdout] test src/srecord/srecord_file.rs - srecord::srecord_file::u64::get_mut (line 318) ... ok [INFO] [stdout] test src/srecord/data_chunk.rs - srecord::data_chunk::u64::get (line 125) ... ok [INFO] [stdout] test src/srecord/data_chunk.rs - srecord::data_chunk::Range::get (line 177) ... ok [INFO] [stdout] test src/srecord/srecord_file.rs - srecord::srecord_file::SRecordFile::iter_records (line 123) ... ok [INFO] [stdout] test src/srecord/srecord_file.rs - srecord::srecord_file::SRecordFile::index_mut (line 524) ... ok [INFO] [stdout] test src/srecord/srecord_file.rs - srecord::srecord_file::SRecordFile::index_mut (line 489) ... ok [INFO] [stdout] test src/srecord/utils.rs - srecord::utils::calculate_checksum (line 166) ... ok [INFO] [stdout] test src/srecord/srecord_file.rs - srecord::srecord_file::SRecordFile::index (line 412) ... ok [INFO] [stdout] test src/srecord/srecord_file.rs - srecord::srecord_file::SRecordFile::get_mut (line 85) ... ok [INFO] [stdout] test src/srecord/srecord_file.rs - srecord::srecord_file::SRecordFile::get (line 51) ... ok [INFO] [stdout] test src/srecord/srecord_file.rs - srecord::srecord_file::SRecordFile::index (line 450) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.45s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9030499fb868a8dd603c09e4422f9b0a11c51310dc1f97463971d4113a7399ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9030499fb868a8dd603c09e4422f9b0a11c51310dc1f97463971d4113a7399ee", kill_on_drop: false }` [INFO] [stdout] 9030499fb868a8dd603c09e4422f9b0a11c51310dc1f97463971d4113a7399ee