[INFO] fetching crate snmp2 0.4.8... [INFO] checking snmp2-0.4.8 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate snmp2 0.4.8 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate snmp2 0.4.8 [INFO] finished tweaking crates.io crate snmp2 0.4.8 [INFO] tweaked toml for crates.io crate snmp2 0.4.8 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate snmp2 0.4.8 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 63 packages to latest compatible versions [INFO] [stderr] Adding 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusticata-macros v4.1.0 [INFO] [stderr] Downloaded asn1-rs-derive v0.5.1 [INFO] [stderr] Downloaded asn1-rs-impl v0.2.0 [INFO] [stderr] Downloaded asn1-rs v0.6.2 [INFO] [stderr] Downloaded snmptools v0.1.3 [INFO] [stderr] Downloaded netsnmp-sys-nocrypto v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1127539bc658ecd08e1613191905ba129cfab855ad385e51fc75c8dbaf06351 [INFO] running `Command { std: "docker" "start" "-a" "b1127539bc658ecd08e1613191905ba129cfab855ad385e51fc75c8dbaf06351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1127539bc658ecd08e1613191905ba129cfab855ad385e51fc75c8dbaf06351", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1127539bc658ecd08e1613191905ba129cfab855ad385e51fc75c8dbaf06351", kill_on_drop: false }` [INFO] [stdout] b1127539bc658ecd08e1613191905ba129cfab855ad385e51fc75c8dbaf06351 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af0777c969620367f159e85d22dffffb8cd4578c2910caf7dabcd42cac2862a4 [INFO] running `Command { std: "docker" "start" "-a" "af0777c969620367f159e85d22dffffb8cd4578c2910caf7dabcd42cac2862a4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking 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-impl v0.2.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Checking asn1-rs v0.6.2 [INFO] [stderr] Checking snmp2 v0.4.8 (/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: 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] [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: 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: 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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.72s [INFO] running `Command { std: "docker" "inspect" "af0777c969620367f159e85d22dffffb8cd4578c2910caf7dabcd42cac2862a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af0777c969620367f159e85d22dffffb8cd4578c2910caf7dabcd42cac2862a4", kill_on_drop: false }` [INFO] [stdout] af0777c969620367f159e85d22dffffb8cd4578c2910caf7dabcd42cac2862a4