[INFO] fetching crate modbus-core 0.1.1... [INFO] testing modbus-core-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate modbus-core 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate modbus-core 0.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a43e5b0542f32dd580f0ae1c88c727bff84ea3387b0f009cdbdafe5ffa29caac [INFO] running `Command { std: "docker" "start" "-a" "a43e5b0542f32dd580f0ae1c88c727bff84ea3387b0f009cdbdafe5ffa29caac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a43e5b0542f32dd580f0ae1c88c727bff84ea3387b0f009cdbdafe5ffa29caac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a43e5b0542f32dd580f0ae1c88c727bff84ea3387b0f009cdbdafe5ffa29caac", kill_on_drop: false }` [INFO] [stdout] a43e5b0542f32dd580f0ae1c88c727bff84ea3387b0f009cdbdafe5ffa29caac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b01590e2c616c8491ff680ebc99c5c1de1d1859512aeeda1328876855340e12d [INFO] running `Command { std: "docker" "start" "-a" "b01590e2c616c8491ff680ebc99c5c1de1d1859512aeeda1328876855340e12d", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.21 [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.73s [INFO] running `Command { std: "docker" "inspect" "b01590e2c616c8491ff680ebc99c5c1de1d1859512aeeda1328876855340e12d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b01590e2c616c8491ff680ebc99c5c1de1d1859512aeeda1328876855340e12d", kill_on_drop: false }` [INFO] [stdout] b01590e2c616c8491ff680ebc99c5c1de1d1859512aeeda1328876855340e12d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3098a69e2ca2262ce04f2e5b3327645b0c2cde0cabee960cffd5711662a1c28b [INFO] running `Command { std: "docker" "start" "-a" "3098a69e2ca2262ce04f2e5b3327645b0c2cde0cabee960cffd5711662a1c28b", kill_on_drop: false }` [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "3098a69e2ca2262ce04f2e5b3327645b0c2cde0cabee960cffd5711662a1c28b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3098a69e2ca2262ce04f2e5b3327645b0c2cde0cabee960cffd5711662a1c28b", kill_on_drop: false }` [INFO] [stdout] 3098a69e2ca2262ce04f2e5b3327645b0c2cde0cabee960cffd5711662a1c28b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 507b985967c1d7f747b99e1182d7a90be3dddbc1bcb2ca9e571615de774465d2 [INFO] running `Command { std: "docker" "start" "-a" "507b985967c1d7f747b99e1182d7a90be3dddbc1bcb2ca9e571615de774465d2", 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_bad_crc_write_single_register_response ... ok [INFO] [stdout] test codec::rtu::client::tests::decode_empty_response ... ok [INFO] [stdout] test codec::rtu::client::tests::decode_malformed_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_partly_received_response ... ok [INFO] [stdout] test codec::rtu::server::tests::decode_write_single_register_request ... ok [INFO] [stdout] test codec::rtu::tests::frame_decoder::extract_partly_received_rtu_frame ... ok [INFO] [stdout] test codec::rtu::tests::frame_decoder::extract_usual_rtu_response_frame ... ok [INFO] [stdout] test codec::rtu::client::tests::encode_write_single_register_request ... 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::tests::frame_decoder::decode_rtu_response_with_max_drops ... ok [INFO] [stdout] test codec::rtu::tests::test_request_pdu_len ... 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::server::tests::decode_wrong_protocol ... ok [INFO] [stdout] test codec::rtu::tests::test_calc_crc16 ... ok [INFO] [stdout] test codec::tcp::server::tests::request_buffer_too_small ... ok [INFO] [stdout] test codec::rtu::tests::frame_decoder::decode_rtu_response_drop_invalid_bytes ... ok [INFO] [stdout] test codec::tcp::server::tests::encode_write_single_register_response ... ok [INFO] [stdout] test codec::rtu::tests::test_get_response_pdu_len ... ok [INFO] [stdout] test codec::tcp::server::tests::response_buffer_too_small ... 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::tcp::tests::frame_decoder::decode_tcp_response_with_max_drops ... ok [INFO] [stdout] test codec::tcp::server::tests::decode_empty_request ... ok [INFO] [stdout] test codec::rtu::server::tests::encode_write_single_register_response ... ok [INFO] [stdout] test codec::tests::deserialize_requests::empty_request ... 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_holding_registers ... ok [INFO] [stdout] test codec::tcp::tests::test_request_pdu_len ... ok [INFO] [stdout] test codec::tests::deserialize_requests::read_input_registers ... ok [INFO] [stdout] test codec::tests::deserialize_requests::read_write_multiple_registers ... ok [INFO] [stdout] test codec::tests::deserialize_requests::write_multiple_coils ... ok [INFO] [stdout] test codec::tests::deserialize_requests::custom ... ok [INFO] [stdout] test codec::tcp::tests::test_get_response_pdu_len ... ok [INFO] [stdout] test codec::tests::deserialize_responses::custom ... ok [INFO] [stdout] test codec::tests::deserialize_requests::write_multiple_registers ... ok [INFO] [stdout] test codec::tests::deserialize_responses::read_coils ... ok [INFO] [stdout] test codec::tcp::tests::frame_decoder::extract_usual_tcp_response_frame ... ok [INFO] [stdout] test codec::tests::deserialize_requests::write_single_register ... 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_holding_registers ... ok [INFO] [stdout] test codec::tests::deserialize_responses::read_coils_with_invalid_byte_count ... ok [INFO] [stdout] test codec::tests::deserialize_requests::write_single_coil ... ok [INFO] [stdout] test codec::tests::deserialize_responses::read_input_registers ... ok [INFO] [stdout] test codec::tests::deserialize_responses::read_write_multiple_registers ... ok [INFO] [stdout] test codec::tests::deserialize_responses::write_multiple_registers ... ok [INFO] [stdout] test codec::tests::deserialize_responses::write_multiple_coils ... 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::serialize_requests::custom ... ok [INFO] [stdout] test codec::tests::exception_response_from_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::exception_response_into_bytes ... ok [INFO] [stdout] test codec::tests::serialize_requests::read_input_registers ... ok [INFO] [stdout] test codec::tests::serialize_requests::read_coils ... ok [INFO] [stdout] test codec::tests::serialize_requests::write_multiple_registers ... ok [INFO] [stdout] test codec::tests::serialize_responses::custom ... ok [INFO] [stdout] test codec::tests::serialize_requests::write_single_register ... ok [INFO] [stdout] test codec::tests::serialize_requests::write_multiple_coils ... ok [INFO] [stdout] test codec::tests::serialize_requests::read_write_multiple_registers ... ok [INFO] [stdout] test codec::tests::serialize_responses::read_holding_registers ... ok [INFO] [stdout] test codec::tests::serialize_responses::read_coils ... 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_requests::write_single_coil ... ok [INFO] [stdout] test codec::tests::serialize_responses::write_single_coil ... ok [INFO] [stdout] test codec::tests::test_min_request_pdu_len ... ok [INFO] [stdout] test codec::tests::test_min_response_pdu_len ... ok [INFO] [stdout] test frame::coils::tests::coils_empty ... ok [INFO] [stdout] test frame::coils::tests::coils_iter ... ok [INFO] [stdout] test frame::coils::tests::coils_into_iter ... ok [INFO] [stdout] test codec::tests::serialize_responses::write_single_register ... ok [INFO] [stdout] test frame::coils::tests::coils_len ... ok [INFO] [stdout] test frame::coils::tests::coils_get ... 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::iter_over_coils ... ok [INFO] [stdout] test frame::coils::tests::pack_coils_into_byte_array ... ok [INFO] [stdout] test frame::coils::tests::unpack_coils_from_a_byte_array ... ok [INFO] [stdout] test frame::data::tests::data_iter ... ok [INFO] [stdout] test frame::data::tests::data_empty ... ok [INFO] [stdout] test frame::data::tests::data_get ... ok [INFO] [stdout] test frame::data::tests::data_into_iter ... ok [INFO] [stdout] test frame::tests::function_code_from_response ... 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_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::function_code_from_request ... ok [INFO] [stdout] test frame::tests::test_response_pdu_len ... ok [INFO] [stdout] test codec::tests::serialize_responses::read_discrete_inputs ... ok [INFO] [stdout] test codec::tests::serialize_responses::write_multiple_coils ... ok [INFO] [stdout] test codec::tests::serialize_responses::write_multiple_registers ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 100 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests modbus_core [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" "507b985967c1d7f747b99e1182d7a90be3dddbc1bcb2ca9e571615de774465d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "507b985967c1d7f747b99e1182d7a90be3dddbc1bcb2ca9e571615de774465d2", kill_on_drop: false }` [INFO] [stdout] 507b985967c1d7f747b99e1182d7a90be3dddbc1bcb2ca9e571615de774465d2