[INFO] fetching crate nvml-wrapper 0.11.0... [INFO] building nvml-wrapper-0.11.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate nvml-wrapper 0.11.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate nvml-wrapper 0.11.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate nvml-wrapper 0.11.0 [INFO] tweaked toml for crates.io crate nvml-wrapper 0.11.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nvml-wrapper 0.11.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate nvml-wrapper 0.11.0 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty-bytes v0.2.2 [INFO] [stderr] Downloaded nvml-wrapper-sys v0.9.0 [INFO] [stderr] Downloaded darling v0.20.5 [INFO] [stderr] Downloaded libloading v0.8.1 [INFO] [stderr] Downloaded darling_core v0.20.5 [INFO] [stderr] Downloaded darling_macro v0.20.5 [INFO] [stderr] Downloaded wrapcenum-derive v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd01c7ba9b0991bc3d46d093cc4a581d9faf1881c6f0cc46e8d5adbaaa2c248c [INFO] running `Command { std: "docker" "start" "-a" "fd01c7ba9b0991bc3d46d093cc4a581d9faf1881c6f0cc46e8d5adbaaa2c248c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd01c7ba9b0991bc3d46d093cc4a581d9faf1881c6f0cc46e8d5adbaaa2c248c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd01c7ba9b0991bc3d46d093cc4a581d9faf1881c6f0cc46e8d5adbaaa2c248c", kill_on_drop: false }` [INFO] [stdout] fd01c7ba9b0991bc3d46d093cc4a581d9faf1881c6f0cc46e8d5adbaaa2c248c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd84a270fd58e71a3b4639d6665a01d356e0c73418382ff27be5f2cc63037728 [INFO] running `Command { std: "docker" "start" "-a" "bd84a270fd58e71a3b4639d6665a01d356e0c73418382ff27be5f2cc63037728", kill_on_drop: false }` [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling nvml-wrapper-sys v0.9.0 [INFO] [stderr] Compiling darling_core v0.20.5 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling darling_macro v0.20.5 [INFO] [stderr] Compiling darling v0.20.5 [INFO] [stderr] Compiling wrapcenum-derive v0.4.1 [INFO] [stderr] Compiling nvml-wrapper v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:496:28 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn device_by_index(&self, index: u32) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 496 | pub fn device_by_index(&self, index: u32) -> Result, NvmlError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:530:48 [INFO] [stdout] | [INFO] [stdout] 530 | pub fn device_by_pci_bus_id>(&self, pci_bus_id: S) -> 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] 530 | pub fn device_by_pci_bus_id>(&self, pci_bus_id: S) -> Result, NvmlError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:551:44 [INFO] [stdout] | [INFO] [stdout] 551 | pub fn device_by_serial>(&self, board_serial: S) -> 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] 551 | pub fn device_by_serial>(&self, board_serial: S) -> Result, NvmlError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:590:42 [INFO] [stdout] | [INFO] [stdout] 590 | pub fn device_by_uuid>(&self, uuid: S) -> 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] 590 | pub fn device_by_uuid>(&self, uuid: S) -> Result, NvmlError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:665:26 [INFO] [stdout] | [INFO] [stdout] 665 | pub fn unit_by_index(&self, index: u32) -> 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] 665 | pub fn unit_by_index(&self, index: u32) -> Result, NvmlError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:727:29 [INFO] [stdout] | [INFO] [stdout] 727 | pub fn topology_gpu_set(&self, cpu_number: u32) -> Result, NvmlError> { [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] 727 | pub fn topology_gpu_set(&self, cpu_number: u32) -> Result>, NvmlError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:873:29 [INFO] [stdout] | [INFO] [stdout] 873 | pub fn create_event_set(&self) -> 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] 873 | pub fn create_event_set(&self) -> Result, NvmlError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device.rs:6067:29 [INFO] [stdout] | [INFO] [stdout] 6067 | pub fn link_wrapper_for(&self, link: u32) -> NvLink { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 6067 | pub fn link_wrapper_for(&self, link: u32) -> NvLink<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nv_link.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn device(&self) -> &Device { [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 61 | pub fn device(&self) -> &Device<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unit.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn devices(&self) -> Result, NvmlError> { [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] 106 | pub fn devices(&self) -> Result>, NvmlError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.39s [INFO] running `Command { std: "docker" "inspect" "bd84a270fd58e71a3b4639d6665a01d356e0c73418382ff27be5f2cc63037728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd84a270fd58e71a3b4639d6665a01d356e0c73418382ff27be5f2cc63037728", kill_on_drop: false }` [INFO] [stdout] bd84a270fd58e71a3b4639d6665a01d356e0c73418382ff27be5f2cc63037728 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab61f7eef7c063b66c52dd4196e49e9ac1d041ef4e0fbf951668558dfe86b6b5 [INFO] running `Command { std: "docker" "start" "-a" "ab61f7eef7c063b66c52dd4196e49e9ac1d041ef4e0fbf951668558dfe86b6b5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:496:28 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn device_by_index(&self, index: u32) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 496 | pub fn device_by_index(&self, index: u32) -> Result, NvmlError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:530:48 [INFO] [stdout] | [INFO] [stdout] 530 | pub fn device_by_pci_bus_id>(&self, pci_bus_id: S) -> 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] 530 | pub fn device_by_pci_bus_id>(&self, pci_bus_id: S) -> Result, NvmlError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:551:44 [INFO] [stdout] | [INFO] [stdout] 551 | pub fn device_by_serial>(&self, board_serial: S) -> 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] 551 | pub fn device_by_serial>(&self, board_serial: S) -> Result, NvmlError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:590:42 [INFO] [stdout] | [INFO] [stdout] 590 | pub fn device_by_uuid>(&self, uuid: S) -> 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] 590 | pub fn device_by_uuid>(&self, uuid: S) -> Result, NvmlError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:665:26 [INFO] [stdout] | [INFO] [stdout] 665 | pub fn unit_by_index(&self, index: u32) -> 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] 665 | pub fn unit_by_index(&self, index: u32) -> Result, NvmlError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:727:29 [INFO] [stdout] | [INFO] [stdout] 727 | pub fn topology_gpu_set(&self, cpu_number: u32) -> Result, NvmlError> { [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] 727 | pub fn topology_gpu_set(&self, cpu_number: u32) -> Result>, NvmlError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:873:29 [INFO] [stdout] | [INFO] [stdout] 873 | pub fn create_event_set(&self) -> 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] 873 | pub fn create_event_set(&self) -> Result, NvmlError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device.rs:6067:29 [INFO] [stdout] | [INFO] [stdout] 6067 | pub fn link_wrapper_for(&self, link: u32) -> NvLink { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 6067 | pub fn link_wrapper_for(&self, link: u32) -> NvLink<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nv_link.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn device(&self) -> &Device { [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 61 | pub fn device(&self) -> &Device<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unit.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn devices(&self) -> Result, NvmlError> { [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] 106 | pub fn devices(&self) -> Result>, NvmlError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling pretty-bytes v0.2.2 [INFO] [stderr] Compiling nvml-wrapper v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:496:28 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn device_by_index(&self, index: u32) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 496 | pub fn device_by_index(&self, index: u32) -> Result, NvmlError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:530:48 [INFO] [stdout] | [INFO] [stdout] 530 | pub fn device_by_pci_bus_id>(&self, pci_bus_id: S) -> 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] 530 | pub fn device_by_pci_bus_id>(&self, pci_bus_id: S) -> Result, NvmlError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:551:44 [INFO] [stdout] | [INFO] [stdout] 551 | pub fn device_by_serial>(&self, board_serial: S) -> 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] 551 | pub fn device_by_serial>(&self, board_serial: S) -> Result, NvmlError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:590:42 [INFO] [stdout] | [INFO] [stdout] 590 | pub fn device_by_uuid>(&self, uuid: S) -> 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] 590 | pub fn device_by_uuid>(&self, uuid: S) -> Result, NvmlError> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:665:26 [INFO] [stdout] | [INFO] [stdout] 665 | pub fn unit_by_index(&self, index: u32) -> 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] 665 | pub fn unit_by_index(&self, index: u32) -> Result, NvmlError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:727:29 [INFO] [stdout] | [INFO] [stdout] 727 | pub fn topology_gpu_set(&self, cpu_number: u32) -> Result, NvmlError> { [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] 727 | pub fn topology_gpu_set(&self, cpu_number: u32) -> Result>, NvmlError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:873:29 [INFO] [stdout] | [INFO] [stdout] 873 | pub fn create_event_set(&self) -> 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] 873 | pub fn create_event_set(&self) -> Result, NvmlError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/device.rs:6067:29 [INFO] [stdout] | [INFO] [stdout] 6067 | pub fn link_wrapper_for(&self, link: u32) -> NvLink { [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 6067 | pub fn link_wrapper_for(&self, link: u32) -> NvLink<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/nv_link.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn device(&self) -> &Device { [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 61 | pub fn device(&self) -> &Device<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unit.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn devices(&self) -> Result, NvmlError> { [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] 106 | pub fn devices(&self) -> Result>, NvmlError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.29s [INFO] running `Command { std: "docker" "inspect" "ab61f7eef7c063b66c52dd4196e49e9ac1d041ef4e0fbf951668558dfe86b6b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab61f7eef7c063b66c52dd4196e49e9ac1d041ef4e0fbf951668558dfe86b6b5", kill_on_drop: false }` [INFO] [stdout] ab61f7eef7c063b66c52dd4196e49e9ac1d041ef4e0fbf951668558dfe86b6b5