[INFO] cloning repository https://github.com/jcaesar/nvml-prometheus-exporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcaesar/nvml-prometheus-exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcaesar%2Fnvml-prometheus-exporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcaesar%2Fnvml-prometheus-exporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 33329c603488ed86ac3dd91939dcb77add972677 [INFO] checking jcaesar/nvml-prometheus-exporter against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcaesar%2Fnvml-prometheus-exporter" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jcaesar/nvml-prometheus-exporter [INFO] finished tweaking git repo https://github.com/jcaesar/nvml-prometheus-exporter [INFO] tweaked toml for git repo https://github.com/jcaesar/nvml-prometheus-exporter written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jcaesar/nvml-prometheus-exporter on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jcaesar/nvml-prometheus-exporter 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e171b88125868ea747d49a93ef8ef2bb2b88c50e97d81988a50b8a7ccba9e1ab [INFO] running `Command { std: "docker" "start" "-a" "e171b88125868ea747d49a93ef8ef2bb2b88c50e97d81988a50b8a7ccba9e1ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e171b88125868ea747d49a93ef8ef2bb2b88c50e97d81988a50b8a7ccba9e1ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e171b88125868ea747d49a93ef8ef2bb2b88c50e97d81988a50b8a7ccba9e1ab", kill_on_drop: false }` [INFO] [stdout] e171b88125868ea747d49a93ef8ef2bb2b88c50e97d81988a50b8a7ccba9e1ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a83bf913666adc6a064e035668647982a0ca10f0baee189de7ecba3c00ed4f5 [INFO] running `Command { std: "docker" "start" "-a" "2a83bf913666adc6a064e035668647982a0ca10f0baee189de7ecba3c00ed4f5", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking procfs-core v0.16.0 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking libloading v0.8.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking chunked_transfer v1.5.0 [INFO] [stderr] Checking clap_builder v4.5.38 [INFO] [stderr] Checking nvml-wrapper-sys v0.8.0 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking prometheus_exporter v0.8.5 (https://github.com/AlexanderThaller/prometheus_exporter.git?rev=c49efe614486f998b20eb410ae0caf3e904cf540#c49efe61) [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling wrapcenum-derive v0.4.1 [INFO] [stderr] Checking clap v4.5.38 [INFO] [stderr] Checking nvml-wrapper v0.10.0 [INFO] [stderr] Checking prometheus-nvml-exporter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> main.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | fn new(device: Device) -> Result> { [INFO] [stdout] | ^^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 76 | fn new(device: Device<'_>) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> main.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | fn new(device: Device) -> Result> { [INFO] [stdout] | ^^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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: consistently use `'_` [INFO] [stdout] | [INFO] [stdout] 76 | fn new(device: Device<'_>) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, u64> [INFO] [stdout] --> main.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | let energy_current: u64 = self.device.total_energy_consumption()?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> main.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | let energy_current: u64 = self.device.total_energy_consumption()?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, u64> [INFO] [stdout] --> main.rs:158:35 [INFO] [stdout] | [INFO] [stdout] 158 | let replay_current: u64 = self.device.pcie_replay_counter()?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> main.rs:158:35 [INFO] [stdout] | [INFO] [stdout] 158 | let replay_current: u64 = self.device.pcie_replay_counter()?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, u64> [INFO] [stdout] --> main.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | let energy_current: u64 = self.device.total_energy_consumption()?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> main.rs:151:35 [INFO] [stdout] | [INFO] [stdout] 151 | let energy_current: u64 = self.device.total_energy_consumption()?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, u64> [INFO] [stdout] --> main.rs:158:35 [INFO] [stdout] | [INFO] [stdout] 158 | let replay_current: u64 = self.device.pcie_replay_counter()?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> main.rs:158:35 [INFO] [stdout] | [INFO] [stdout] 158 | let replay_current: u64 = self.device.pcie_replay_counter()?.try_into()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `prometheus-nvml-exporter` (bin "prometheus-nvml-exporter") due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `prometheus-nvml-exporter` (bin "prometheus-nvml-exporter" test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2a83bf913666adc6a064e035668647982a0ca10f0baee189de7ecba3c00ed4f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a83bf913666adc6a064e035668647982a0ca10f0baee189de7ecba3c00ed4f5", kill_on_drop: false }` [INFO] [stdout] 2a83bf913666adc6a064e035668647982a0ca10f0baee189de7ecba3c00ed4f5