[INFO] fetching crate modbus-core 0.1.1... [INFO] testing modbus-core-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate modbus-core 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate modbus-core 0.1.1 [INFO] finished tweaking crates.io crate modbus-core 0.1.1 [INFO] tweaked toml for crates.io crate modbus-core 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate modbus-core 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate modbus-core 0.1.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7ad7aa66df5c778393893f36d584e0154866599509d4dc72a97052619bf0eba [INFO] running `Command { std: "docker" "start" "-a" "b7ad7aa66df5c778393893f36d584e0154866599509d4dc72a97052619bf0eba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7ad7aa66df5c778393893f36d584e0154866599509d4dc72a97052619bf0eba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7ad7aa66df5c778393893f36d584e0154866599509d4dc72a97052619bf0eba", kill_on_drop: false }` [INFO] [stdout] b7ad7aa66df5c778393893f36d584e0154866599509d4dc72a97052619bf0eba [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7432c5fe0f9d6c719a41992dd3aef9b403cc10c6a0230bdfa7637a0b55ce50c [INFO] running `Command { std: "docker" "start" "-a" "c7432c5fe0f9d6c719a41992dd3aef9b403cc10c6a0230bdfa7637a0b55ce50c", kill_on_drop: false }` [INFO] [stderr] Compiling modbus-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/rtu/mod.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | buf: &[u8], [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 34 | ) -> Result> { [INFO] [stdout] | ------------ 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | ) -> Result, FrameLocation)>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/rtu/mod.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn extract_frame(buf: &[u8], pdu_len: usize) -> Result> { [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] 96 | pub fn extract_frame(buf: &[u8], pdu_len: usize) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/rtu/client.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn decode_response(buf: &[u8]) -> Result> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn decode_response(buf: &[u8]) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/rtu/server.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn decode_request(buf: &[u8]) -> Result> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | pub fn decode_request(buf: &[u8]) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/tcp/mod.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | buf: &[u8], [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 34 | ) -> Result> { [INFO] [stdout] | ------------ 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] 34 | ) -> Result, FrameLocation)>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/tcp/mod.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn extract_frame(buf: &[u8], pdu_len: usize) -> Result> { [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] 96 | pub fn extract_frame(buf: &[u8], pdu_len: usize) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/tcp/server.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn decode_request(buf: &[u8]) -> Result> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | pub fn decode_request(buf: &[u8]) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/tcp/server.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn decode_response(buf: &[u8]) -> Result> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn decode_response(buf: &[u8]) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "c7432c5fe0f9d6c719a41992dd3aef9b403cc10c6a0230bdfa7637a0b55ce50c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7432c5fe0f9d6c719a41992dd3aef9b403cc10c6a0230bdfa7637a0b55ce50c", kill_on_drop: false }` [INFO] [stdout] c7432c5fe0f9d6c719a41992dd3aef9b403cc10c6a0230bdfa7637a0b55ce50c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11486f040ed7fe49c62edb6ee3af307b41a0e2cc673cd0644bbf2eced20a22c0 [INFO] running `Command { std: "docker" "start" "-a" "11486f040ed7fe49c62edb6ee3af307b41a0e2cc673cd0644bbf2eced20a22c0", kill_on_drop: false }` [INFO] [stderr] Compiling modbus-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/rtu/mod.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | buf: &[u8], [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 34 | ) -> Result> { [INFO] [stdout] | ------------ 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | ) -> Result, FrameLocation)>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/rtu/mod.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn extract_frame(buf: &[u8], pdu_len: usize) -> Result> { [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] 96 | pub fn extract_frame(buf: &[u8], pdu_len: usize) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/rtu/client.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn decode_response(buf: &[u8]) -> Result> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn decode_response(buf: &[u8]) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/rtu/server.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn decode_request(buf: &[u8]) -> Result> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | pub fn decode_request(buf: &[u8]) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/tcp/mod.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | buf: &[u8], [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 34 | ) -> Result> { [INFO] [stdout] | ------------ 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] 34 | ) -> Result, FrameLocation)>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/tcp/mod.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn extract_frame(buf: &[u8], pdu_len: usize) -> Result> { [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] 96 | pub fn extract_frame(buf: &[u8], pdu_len: usize) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/tcp/server.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn decode_request(buf: &[u8]) -> Result> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | pub fn decode_request(buf: &[u8]) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/tcp/server.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn decode_response(buf: &[u8]) -> Result> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn decode_response(buf: &[u8]) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/rtu/mod.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | buf: &[u8], [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 34 | ) -> Result> { [INFO] [stdout] | ------------ 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | ) -> Result, FrameLocation)>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/rtu/mod.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn extract_frame(buf: &[u8], pdu_len: usize) -> Result> { [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] 96 | pub fn extract_frame(buf: &[u8], pdu_len: usize) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/rtu/client.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn decode_response(buf: &[u8]) -> Result> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn decode_response(buf: &[u8]) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/rtu/server.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn decode_request(buf: &[u8]) -> Result> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | pub fn decode_request(buf: &[u8]) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/tcp/mod.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | buf: &[u8], [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 34 | ) -> Result> { [INFO] [stdout] | ------------ 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] 34 | ) -> Result, FrameLocation)>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/tcp/mod.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn extract_frame(buf: &[u8], pdu_len: usize) -> Result> { [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] 96 | pub fn extract_frame(buf: &[u8], pdu_len: usize) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/tcp/server.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn decode_request(buf: &[u8]) -> Result> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 5 | pub fn decode_request(buf: &[u8]) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codec/tcp/server.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn decode_response(buf: &[u8]) -> Result> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn decode_response(buf: &[u8]) -> Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.31s [INFO] running `Command { std: "docker" "inspect" "11486f040ed7fe49c62edb6ee3af307b41a0e2cc673cd0644bbf2eced20a22c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11486f040ed7fe49c62edb6ee3af307b41a0e2cc673cd0644bbf2eced20a22c0", kill_on_drop: false }` [INFO] [stdout] 11486f040ed7fe49c62edb6ee3af307b41a0e2cc673cd0644bbf2eced20a22c0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 76d2ddcd691ddda4b18d13ce46256f617de731ccb6f44b40bfc98b9990fd4716 [INFO] running `Command { std: "docker" "start" "-a" "76d2ddcd691ddda4b18d13ce46256f617de731ccb6f44b40bfc98b9990fd4716", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/codec/rtu/mod.rs:33:10 [INFO] [stderr] | [INFO] [stderr] 33 | buf: &[u8], [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 34 | ) -> Result> { [INFO] [stderr] | ------------ 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 34 | ) -> Result, FrameLocation)>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/codec/rtu/mod.rs:96:27 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn extract_frame(buf: &[u8], pdu_len: usize) -> Result> { [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] 96 | pub fn extract_frame(buf: &[u8], pdu_len: usize) -> Result>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/codec/rtu/client.rs:21:29 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn decode_response(buf: &[u8]) -> Result> { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 21 | pub fn decode_response(buf: &[u8]) -> Result>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/codec/rtu/server.rs:5:28 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn decode_request(buf: &[u8]) -> Result> { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 5 | pub fn decode_request(buf: &[u8]) -> Result>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/codec/tcp/mod.rs:33:10 [INFO] [stderr] | [INFO] [stderr] 33 | buf: &[u8], [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 34 | ) -> Result> { [INFO] [stderr] | ------------ 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] 34 | ) -> Result, FrameLocation)>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/codec/tcp/mod.rs:96:27 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn extract_frame(buf: &[u8], pdu_len: usize) -> Result> { [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] 96 | pub fn extract_frame(buf: &[u8], pdu_len: usize) -> Result>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/codec/tcp/server.rs:5:28 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn decode_request(buf: &[u8]) -> Result> { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 5 | pub fn decode_request(buf: &[u8]) -> Result>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/codec/tcp/server.rs:36:29 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn decode_response(buf: &[u8]) -> Result> { [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] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 36 | pub fn decode_response(buf: &[u8]) -> Result>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `modbus-core` (lib) generated 8 warnings (run `cargo fix --lib -p modbus-core` to apply 8 suggestions) [INFO] [stderr] warning: `modbus-core` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/modbus_core-cb3d87fb6049888d) [INFO] [stdout] [INFO] [stdout] running 100 tests [INFO] [stdout] test codec::rtu::client::tests::decode_empty_response ... ok [INFO] [stdout] test codec::rtu::client::tests::decode_partly_received_response ... ok [INFO] [stdout] test codec::rtu::client::tests::decode_bad_crc_write_single_register_response ... ok [INFO] [stdout] test codec::rtu::client::tests::decode_write_single_register_response ... ok [INFO] [stdout] test codec::rtu::client::tests::decode_malformed_write_single_register_response ... ok [INFO] [stdout] test codec::rtu::server::tests::decode_empty_request ... ok [INFO] [stdout] test codec::rtu::server::tests::decode_partly_received_request ... ok [INFO] [stdout] test codec::rtu::server::tests::decode_write_single_register_request ... ok [INFO] [stdout] test codec::rtu::client::tests::encode_write_single_register_request ... ok [INFO] [stdout] test codec::rtu::server::tests::encode_write_single_register_response ... ok [INFO] [stdout] test codec::rtu::tests::frame_decoder::extract_partly_received_rtu_frame ... ok [INFO] [stdout] test codec::rtu::tests::frame_decoder::decode_rtu_response_with_max_drops ... ok [INFO] [stdout] test codec::rtu::tests::frame_decoder::extract_usual_rtu_response_frame ... ok [INFO] [stdout] test codec::tcp::server::tests::decode_partly_received_request ... ok [INFO] [stdout] test codec::tcp::server::tests::decode_write_single_register_request ... ok [INFO] [stdout] test codec::tcp::tests::frame_decoder::decode_tcp_response_drop_invalid_bytes ... ok [INFO] [stdout] test codec::tcp::tests::frame_decoder::extract_partly_received_tcp_frame ... ok [INFO] [stdout] test codec::rtu::tests::test_calc_crc16 ... ok [INFO] [stdout] test codec::tests::deserialize_requests::empty_request ... ok [INFO] [stdout] test codec::tcp::tests::frame_decoder::extract_usual_tcp_response_frame ... ok [INFO] [stdout] test codec::tcp::server::tests::decode_wrong_protocol ... ok [INFO] [stdout] test codec::tcp::tests::test_request_pdu_len ... ok [INFO] [stdout] test codec::tcp::server::tests::encode_write_single_register_response ... ok [INFO] [stdout] test codec::tcp::server::tests::request_buffer_too_small ... ok [INFO] [stdout] test codec::tests::deserialize_requests::custom ... ok [INFO] [stdout] test codec::rtu::tests::test_get_response_pdu_len ... ok [INFO] [stdout] test codec::tests::deserialize_requests::read_coils ... ok [INFO] [stdout] test codec::tests::deserialize_requests::read_discrete_inputs ... ok [INFO] [stdout] test codec::tests::deserialize_requests::read_input_registers ... ok [INFO] [stdout] test codec::tests::deserialize_requests::write_multiple_coils ... ok [INFO] [stdout] test codec::tests::deserialize_requests::read_write_multiple_registers ... ok [INFO] [stdout] test codec::tests::deserialize_requests::write_multiple_registers ... ok [INFO] [stdout] test codec::tests::deserialize_requests::write_single_coil ... ok [INFO] [stdout] test codec::tests::deserialize_requests::write_single_register ... ok [INFO] [stdout] test codec::rtu::tests::frame_decoder::decode_rtu_response_drop_invalid_bytes ... ok [INFO] [stdout] test codec::tests::deserialize_responses::read_coils ... ok [INFO] [stdout] test codec::tests::deserialize_requests::read_holding_registers ... ok [INFO] [stdout] test codec::tests::deserialize_responses::custom ... ok [INFO] [stdout] test codec::tests::deserialize_responses::read_discrete_inputs ... ok [INFO] [stdout] test codec::tests::deserialize_responses::read_no_coils ... ok [INFO] [stdout] test codec::tests::deserialize_responses::read_write_multiple_registers ... ok [INFO] [stdout] test codec::tests::deserialize_responses::write_multiple_coils ... ok [INFO] [stdout] test codec::tests::deserialize_responses::read_holding_registers ... ok [INFO] [stdout] test codec::tests::deserialize_responses::write_multiple_registers ... ok [INFO] [stdout] test codec::tests::deserialize_responses::write_single_coil ... ok [INFO] [stdout] test codec::tests::deserialize_responses::write_single_register ... ok [INFO] [stdout] test codec::tests::deserialize_responses::read_coils_with_invalid_byte_count ... ok [INFO] [stdout] test codec::tests::exception_response_into_bytes ... ok [INFO] [stdout] test codec::tests::serialize_requests::read_discrete_inputs ... ok [INFO] [stdout] test codec::tests::serialize_requests::read_holding_registers ... ok [INFO] [stdout] test codec::tests::deserialize_responses::read_input_registers ... ok [INFO] [stdout] test codec::tests::serialize_requests::read_input_registers ... ok [INFO] [stdout] test codec::tests::serialize_requests::write_multiple_registers ... ok [INFO] [stdout] test codec::tests::serialize_requests::write_single_register ... ok [INFO] [stdout] test codec::tests::serialize_requests::custom ... ok [INFO] [stdout] test codec::tests::serialize_responses::custom ... ok [INFO] [stdout] test codec::tests::serialize_requests::write_single_coil ... ok [INFO] [stdout] test codec::tests::serialize_requests::read_write_multiple_registers ... ok [INFO] [stdout] test codec::tests::serialize_responses::read_coils ... ok [INFO] [stdout] test codec::tests::serialize_requests::write_multiple_coils ... ok [INFO] [stdout] test codec::tests::serialize_responses::read_discrete_inputs ... ok [INFO] [stdout] test codec::tests::serialize_requests::read_coils ... ok [INFO] [stdout] test codec::tests::exception_response_from_bytes ... ok [INFO] [stdout] test codec::tests::serialize_responses::read_holding_registers ... ok [INFO] [stdout] test codec::tests::serialize_responses::read_input_registers ... ok [INFO] [stdout] test codec::tests::serialize_responses::read_write_multiple_registers ... ok [INFO] [stdout] test codec::tests::serialize_responses::write_multiple_registers ... ok [INFO] [stdout] test codec::tests::serialize_responses::write_multiple_coils ... ok [INFO] [stdout] test codec::tests::test_min_request_pdu_len ... ok [INFO] [stdout] test codec::tests::serialize_responses::write_single_register ... ok [INFO] [stdout] test codec::tests::test_min_response_pdu_len ... ok [INFO] [stdout] test frame::coils::tests::coils_get ... ok [INFO] [stdout] test frame::coils::tests::coils_empty ... ok [INFO] [stdout] test codec::tests::serialize_responses::write_single_coil ... ok [INFO] [stdout] test frame::coils::tests::coils_into_iter ... ok [INFO] [stdout] test frame::coils::tests::coils_len ... ok [INFO] [stdout] test frame::coils::tests::coils_iter ... ok [INFO] [stdout] test frame::coils::tests::convert_bool_to_coil ... ok [INFO] [stdout] test frame::coils::tests::convert_coil_to_bool ... ok [INFO] [stdout] test frame::coils::tests::from_bool_slice ... ok [INFO] [stdout] test frame::coils::tests::pack_coils_into_byte_array ... ok [INFO] [stdout] test frame::data::tests::data_empty ... ok [INFO] [stdout] test frame::coils::tests::unpack_coils_from_a_byte_array ... ok [INFO] [stdout] test frame::data::tests::data_get ... ok [INFO] [stdout] test codec::tcp::tests::test_get_response_pdu_len ... ok [INFO] [stdout] test codec::tcp::tests::frame_decoder::decode_tcp_response_with_max_drops ... ok [INFO] [stdout] test frame::coils::tests::iter_over_coils ... ok [INFO] [stdout] test codec::rtu::tests::test_request_pdu_len ... ok [INFO] [stdout] test codec::tcp::server::tests::decode_empty_request ... ok [INFO] [stdout] test codec::tcp::server::tests::response_buffer_too_small ... ok [INFO] [stdout] test frame::data::tests::data_into_iter ... ok [INFO] [stdout] test frame::data::tests::data_iter ... ok [INFO] [stdout] test frame::data::tests::data_len ... ok [INFO] [stdout] test frame::data::tests::from_word_slice ... ok [INFO] [stdout] test frame::tests::function_code_from_request ... ok [INFO] [stdout] test frame::tests::function_code_from_response ... ok [INFO] [stderr] Doc-tests modbus_core [INFO] [stdout] test frame::tests::function_code_from_u8 ... ok [INFO] [stdout] test frame::tests::function_code_into_u8 ... ok [INFO] [stdout] test frame::tests::test_request_pdu_len ... ok [INFO] [stdout] test frame::tests::test_response_pdu_len ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 100 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "76d2ddcd691ddda4b18d13ce46256f617de731ccb6f44b40bfc98b9990fd4716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76d2ddcd691ddda4b18d13ce46256f617de731ccb6f44b40bfc98b9990fd4716", kill_on_drop: false }` [INFO] [stdout] 76d2ddcd691ddda4b18d13ce46256f617de731ccb6f44b40bfc98b9990fd4716