[INFO] fetching crate binreader 0.2.1... [INFO] testing binreader-0.2.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate binreader 0.2.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate binreader 0.2.1 [INFO] finished tweaking crates.io crate binreader 0.2.1 [INFO] tweaked toml for crates.io crate binreader 0.2.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate binreader 0.2.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding bytesize v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding memchr v2.3.4 (available: v2.7.5) [INFO] [stderr] Adding memmap2 v0.3.1 (available: v0.9.5) [INFO] [stderr] Adding nom v6.2.2 (available: v8.0.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fs3 v0.5.0 [INFO] [stderr] Downloaded binreader-internal-macros v0.2.1 [INFO] [stderr] Downloaded binreader-macros v0.2.1 [INFO] [stderr] Downloaded bytesize v1.3.3 [INFO] [stderr] Downloaded nom v6.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11cddca50a9cdc2040bda9f039774f74525fe8335b34fe3e2fac81ffc059906c [INFO] running `Command { std: "docker" "start" "-a" "11cddca50a9cdc2040bda9f039774f74525fe8335b34fe3e2fac81ffc059906c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11cddca50a9cdc2040bda9f039774f74525fe8335b34fe3e2fac81ffc059906c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11cddca50a9cdc2040bda9f039774f74525fe8335b34fe3e2fac81ffc059906c", kill_on_drop: false }` [INFO] [stdout] 11cddca50a9cdc2040bda9f039774f74525fe8335b34fe3e2fac81ffc059906c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0d08021819fc1514ee2c5a58c791d052ae593bde5ee82b36d7363a3209aeed93 [INFO] running `Command { std: "docker" "start" "-a" "0d08021819fc1514ee2c5a58c791d052ae593bde5ee82b36d7363a3209aeed93", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling binreader-internal-macros v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling binreader-macros v0.2.1 [INFO] [stderr] Compiling binreader v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/readers/slice.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | fn slice_reader(&self, start: usize, end: usize) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------------- the lifetime gets 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] 106 | fn slice_reader(&self, start: usize, end: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/readers/slice.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | fn next_n_bytes_as_reader(&self, num_bytes: usize) -> Result { [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] 111 | fn next_n_bytes_as_reader(&self, num_bytes: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/readers/slice.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 121 | num_bytes: usize, [INFO] [stdout] 122 | ) -> Result { [INFO] [stdout] | ----------------- the lifetime gets 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] 122 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/readers/slice.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 136 | ) -> Result { [INFO] [stdout] | ----------------- the lifetime gets 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] 136 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/readers/slice.rs:141:35 [INFO] [stdout] | [INFO] [stdout] 141 | fn slice_reader_retain_offset(&self, start: usize, end: usize) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------------- the lifetime gets 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] 141 | fn slice_reader_retain_offset(&self, start: usize, end: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.16s [INFO] running `Command { std: "docker" "inspect" "0d08021819fc1514ee2c5a58c791d052ae593bde5ee82b36d7363a3209aeed93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d08021819fc1514ee2c5a58c791d052ae593bde5ee82b36d7363a3209aeed93", kill_on_drop: false }` [INFO] [stdout] 0d08021819fc1514ee2c5a58c791d052ae593bde5ee82b36d7363a3209aeed93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 636ef57767e57c04112d4d38bfea67bd1b8512513e3c3fd50ac5bed13e78ed25 [INFO] running `Command { std: "docker" "start" "-a" "636ef57767e57c04112d4d38bfea67bd1b8512513e3c3fd50ac5bed13e78ed25", kill_on_drop: false }` [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/readers/slice.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | fn slice_reader(&self, start: usize, end: usize) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------------- the lifetime gets 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] 106 | fn slice_reader(&self, start: usize, end: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/readers/slice.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | fn next_n_bytes_as_reader(&self, num_bytes: usize) -> Result { [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] 111 | fn next_n_bytes_as_reader(&self, num_bytes: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/readers/slice.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 121 | num_bytes: usize, [INFO] [stdout] 122 | ) -> Result { [INFO] [stdout] | ----------------- the lifetime gets 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] 122 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/readers/slice.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 136 | ) -> Result { [INFO] [stdout] | ----------------- the lifetime gets 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] 136 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/readers/slice.rs:141:35 [INFO] [stdout] | [INFO] [stdout] 141 | fn slice_reader_retain_offset(&self, start: usize, end: usize) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------------- the lifetime gets 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] 141 | fn slice_reader_retain_offset(&self, start: usize, end: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling binreader v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/readers/slice.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | fn slice_reader(&self, start: usize, end: usize) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------------- the lifetime gets 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] 106 | fn slice_reader(&self, start: usize, end: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/readers/slice.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | fn next_n_bytes_as_reader(&self, num_bytes: usize) -> Result { [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] 111 | fn next_n_bytes_as_reader(&self, num_bytes: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/readers/slice.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 121 | num_bytes: usize, [INFO] [stdout] 122 | ) -> Result { [INFO] [stdout] | ----------------- the lifetime gets 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] 122 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/readers/slice.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 136 | ) -> Result { [INFO] [stdout] | ----------------- the lifetime gets 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] 136 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/readers/slice.rs:141:35 [INFO] [stdout] | [INFO] [stdout] 141 | fn slice_reader_retain_offset(&self, start: usize, end: usize) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----------------- the lifetime gets 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] 141 | fn slice_reader_retain_offset(&self, start: usize, end: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "636ef57767e57c04112d4d38bfea67bd1b8512513e3c3fd50ac5bed13e78ed25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "636ef57767e57c04112d4d38bfea67bd1b8512513e3c3fd50ac5bed13e78ed25", kill_on_drop: false }` [INFO] [stdout] 636ef57767e57c04112d4d38bfea67bd1b8512513e3c3fd50ac5bed13e78ed25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3eab0600f219e2f1fd463f37f21bac76f945740c0687905bc6ee3e2aca9c0699 [INFO] running `Command { std: "docker" "start" "-a" "3eab0600f219e2f1fd463f37f21bac76f945740c0687905bc6ee3e2aca9c0699", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/readers/slice.rs:106:21 [INFO] [stderr] | [INFO] [stderr] 106 | fn slice_reader(&self, start: usize, end: usize) -> Result { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ----------------- the lifetime gets 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] 106 | fn slice_reader(&self, start: usize, end: usize) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/readers/slice.rs:111:31 [INFO] [stderr] | [INFO] [stderr] 111 | fn next_n_bytes_as_reader(&self, num_bytes: usize) -> Result { [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] 111 | fn next_n_bytes_as_reader(&self, num_bytes: usize) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/readers/slice.rs:120:9 [INFO] [stderr] | [INFO] [stderr] 120 | &mut self, [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stderr] 121 | num_bytes: usize, [INFO] [stderr] 122 | ) -> Result { [INFO] [stderr] | ----------------- the lifetime gets 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] 122 | ) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/readers/slice.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 136 | ) -> Result { [INFO] [stderr] | ----------------- the lifetime gets 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] 136 | ) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/readers/slice.rs:141:35 [INFO] [stderr] | [INFO] [stderr] 141 | fn slice_reader_retain_offset(&self, start: usize, end: usize) -> Result { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ----------------- the lifetime gets 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] 141 | fn slice_reader_retain_offset(&self, start: usize, end: usize) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `binreader` (lib) generated 5 warnings (run `cargo fix --lib -p binreader` to apply 5 suggestions) [INFO] [stderr] warning: `binreader` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/binreader-b9a055abec4c67b8) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test readers::random_access::tests::basic_be_test ... ok [INFO] [stdout] test readers::random_access::tests::basic_le_test ... ok [INFO] [stdout] test readers::slice::tests::basic_be_ref_test ... ok [INFO] [stdout] test readers::slice::tests::basic_le_ref_test ... ok [INFO] [stdout] test readers::random_access::tests::basic_test ... ok [INFO] [stdout] test readers::slice::tests::basic_ref_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3eab0600f219e2f1fd463f37f21bac76f945740c0687905bc6ee3e2aca9c0699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eab0600f219e2f1fd463f37f21bac76f945740c0687905bc6ee3e2aca9c0699", kill_on_drop: false }` [INFO] [stdout] 3eab0600f219e2f1fd463f37f21bac76f945740c0687905bc6ee3e2aca9c0699