[INFO] fetching crate snmp2 0.4.9... [INFO] building snmp2-0.4.9 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate snmp2 0.4.9 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate snmp2 0.4.9 [INFO] finished tweaking crates.io crate snmp2 0.4.9 [INFO] tweaked toml for crates.io crate snmp2 0.4.9 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate snmp2 0.4.9 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 65 packages to latest compatible versions [INFO] [stderr] Adding asn1-rs v0.6.2 (available: v0.7.1) [INFO] [stderr] Adding tokio v1.36.0 (available: v1.47.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 692cc6b92e01fc20a302f6dff789e62d15ff6973a680ade1db03b76f56c88fe9 [INFO] running `Command { std: "docker" "start" "-a" "692cc6b92e01fc20a302f6dff789e62d15ff6973a680ade1db03b76f56c88fe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "692cc6b92e01fc20a302f6dff789e62d15ff6973a680ade1db03b76f56c88fe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "692cc6b92e01fc20a302f6dff789e62d15ff6973a680ade1db03b76f56c88fe9", kill_on_drop: false }` [INFO] [stdout] 692cc6b92e01fc20a302f6dff789e62d15ff6973a680ade1db03b76f56c88fe9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95645e85972f3e01ea81e8de1664b63fdcf86d8145daabcbfdb0cd60dbd6947b [INFO] running `Command { std: "docker" "start" "-a" "95645e85972f3e01ea81e8de1664b63fdcf86d8145daabcbfdb0cd60dbd6947b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling asn1-rs v0.6.2 [INFO] [stderr] Compiling snmp2 v0.4.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/asn1.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn from_bytes(bytes: &[u8]) -> AsnReader { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn from_bytes(bytes: &[u8]) -> AsnReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syncsession.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn get(&mut self, oid: &Oid) -> 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] 183 | pub fn get(&mut self, oid: &Oid) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syncsession.rs:205:20 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn getnext(&mut self, oid: &Oid) -> 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] 205 | pub fn getnext(&mut self, oid: &Oid) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syncsession.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 232 | ) -> 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] 232 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syncsession.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn set(&mut self, values: &[(&Oid, Value)]) -> 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] 256 | pub fn set(&mut self, values: &[(&Oid, Value)]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/asn1.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | o = unsafe { mem::transmute::<[u8; USIZE_LEN], usize>(bytes).to_be() }; [INFO] [stdout] | ----------------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/asn1.rs:263:28 [INFO] [stdout] | [INFO] [stdout] 263 | let mut ret = unsafe { mem::transmute::<[u8; 8], i64>(bytes).to_be() }; [INFO] [stdout] | ------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.50s [INFO] running `Command { std: "docker" "inspect" "95645e85972f3e01ea81e8de1664b63fdcf86d8145daabcbfdb0cd60dbd6947b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95645e85972f3e01ea81e8de1664b63fdcf86d8145daabcbfdb0cd60dbd6947b", kill_on_drop: false }` [INFO] [stdout] 95645e85972f3e01ea81e8de1664b63fdcf86d8145daabcbfdb0cd60dbd6947b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edc1a65dac8fe0904af8a646ab31f2099281d6b291da9e6a9b92831aa05ad00c [INFO] running `Command { std: "docker" "start" "-a" "edc1a65dac8fe0904af8a646ab31f2099281d6b291da9e6a9b92831aa05ad00c", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/asn1.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn from_bytes(bytes: &[u8]) -> AsnReader { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn from_bytes(bytes: &[u8]) -> AsnReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syncsession.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn get(&mut self, oid: &Oid) -> 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] 183 | pub fn get(&mut self, oid: &Oid) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syncsession.rs:205:20 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn getnext(&mut self, oid: &Oid) -> 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] 205 | pub fn getnext(&mut self, oid: &Oid) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syncsession.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 232 | ) -> 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] 232 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syncsession.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn set(&mut self, values: &[(&Oid, Value)]) -> 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] 256 | pub fn set(&mut self, values: &[(&Oid, Value)]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/asn1.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | o = unsafe { mem::transmute::<[u8; USIZE_LEN], usize>(bytes).to_be() }; [INFO] [stdout] | ----------------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/asn1.rs:263:28 [INFO] [stdout] | [INFO] [stdout] 263 | let mut ret = unsafe { mem::transmute::<[u8; 8], i64>(bytes).to_be() }; [INFO] [stdout] | ------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling snmp2 v0.4.9 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/asn1.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn from_bytes(bytes: &[u8]) -> AsnReader { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 51 | pub fn from_bytes(bytes: &[u8]) -> AsnReader<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syncsession.rs:183:16 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn get(&mut self, oid: &Oid) -> 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] 183 | pub fn get(&mut self, oid: &Oid) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/asn1.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | o = unsafe { mem::transmute::<[u8; USIZE_LEN], usize>(bytes).to_be() }; [INFO] [stdout] | ----------------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syncsession.rs:205:20 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn getnext(&mut self, oid: &Oid) -> 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] 205 | pub fn getnext(&mut self, oid: &Oid) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syncsession.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 232 | ) -> 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] 232 | ) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/syncsession.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn set(&mut self, values: &[(&Oid, Value)]) -> 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] 256 | pub fn set(&mut self, values: &[(&Oid, Value)]) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/asn1.rs:263:28 [INFO] [stdout] | [INFO] [stdout] 263 | let mut ret = unsafe { mem::transmute::<[u8; 8], i64>(bytes).to_be() }; [INFO] [stdout] | ------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "edc1a65dac8fe0904af8a646ab31f2099281d6b291da9e6a9b92831aa05ad00c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc1a65dac8fe0904af8a646ab31f2099281d6b291da9e6a9b92831aa05ad00c", kill_on_drop: false }` [INFO] [stdout] edc1a65dac8fe0904af8a646ab31f2099281d6b291da9e6a9b92831aa05ad00c