[INFO] cloning repository https://github.com/wanders/sparsnas-openmetrics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wanders/sparsnas-openmetrics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwanders%2Fsparsnas-openmetrics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwanders%2Fsparsnas-openmetrics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 316263b0a0e60b5e759013d88b0c665fcffa45cb [INFO] checking wanders/sparsnas-openmetrics against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwanders%2Fsparsnas-openmetrics" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wanders/sparsnas-openmetrics on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wanders/sparsnas-openmetrics [INFO] finished tweaking git repo https://github.com/wanders/sparsnas-openmetrics [INFO] tweaked toml for git repo https://github.com/wanders/sparsnas-openmetrics written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wanders/sparsnas-openmetrics 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/wanders/sparsnasdecode` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rfm69 v0.4.1 [INFO] [stderr] Downloaded sysfs_gpio v0.6.0 [INFO] [stderr] Downloaded i2cdev v0.5.0 [INFO] [stderr] Downloaded gpio-cdev v0.5.0 [INFO] [stderr] Downloaded linux-embedded-hal v0.3.1 [INFO] [stderr] Downloaded spidev v0.5.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fce9a7c25af3f53f50e670f534ffe028017b43c097851b6e2468aea0a98defa9 [INFO] running `Command { std: "docker" "start" "-a" "fce9a7c25af3f53f50e670f534ffe028017b43c097851b6e2468aea0a98defa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fce9a7c25af3f53f50e670f534ffe028017b43c097851b6e2468aea0a98defa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fce9a7c25af3f53f50e670f534ffe028017b43c097851b6e2468aea0a98defa9", kill_on_drop: false }` [INFO] [stdout] fce9a7c25af3f53f50e670f534ffe028017b43c097851b6e2468aea0a98defa9 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14ec43a76a7570fe9c9a0aedc2426f25409aec358cf04be9d33097bed07753ef [INFO] running `Command { std: "docker" "start" "-a" "14ec43a76a7570fe9c9a0aedc2426f25409aec358cf04be9d33097bed07753ef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking nix v0.22.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking embedded-hal v0.2.6 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking headers v0.3.5 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking os_str_bytes v4.2.0 [INFO] [stderr] Checking gpio-cdev v0.5.0 [INFO] [stderr] Checking i2cdev v0.5.0 [INFO] [stderr] Checking spidev v0.5.0 [INFO] [stderr] Checking sysfs_gpio v0.6.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking rfm69 v0.4.1 [INFO] [stderr] Checking sparsnasdecode v0.1.0 (https://github.com/wanders/sparsnasdecode#7bb3a9b5) [INFO] [stderr] Checking linux-embedded-hal v0.3.1 [INFO] [stderr] Checking stderrlog v0.5.1 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking clap v3.0.0-beta.5 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking hyper v0.14.14 [INFO] [stderr] Checking warp v0.3.1 [INFO] [stderr] Checking sparsnas-openmetrics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/radio.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | Pin(linux_embedded_hal::gpio_cdev::Error), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SparsnasRadioError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | Pin(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/radio.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | Pin(linux_embedded_hal::gpio_cdev::Error), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SparsnasRadioError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | Pin(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/radio.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | IO(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SparsnasRadioError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 | IO(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/radio.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | IO(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SparsnasRadioError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 | IO(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/openmetric.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | / self.unit.map_or((), |unit| { [INFO] [stdout] 64 | | writeln!(out, "# UNIT {} {}", self.name, unit).unwrap() [INFO] [stdout] 65 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = self.unit.map_or((), |unit| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/openmetric.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | / self.unit.map_or((), |unit| { [INFO] [stdout] 64 | | writeln!(out, "# UNIT {} {}", self.name, unit).unwrap() [INFO] [stdout] 65 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = self.unit.map_or((), |unit| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/openmetric.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / self.help.map_or((), |help| { [INFO] [stdout] 67 | | writeln!(out, "# HELP {} {}", self.name, help).unwrap() [INFO] [stdout] 68 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = self.help.map_or((), |help| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/openmetric.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / self.help.map_or((), |help| { [INFO] [stdout] 67 | | writeln!(out, "# HELP {} {}", self.name, help).unwrap() [INFO] [stdout] 68 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = self.help.map_or((), |help| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.17.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "14ec43a76a7570fe9c9a0aedc2426f25409aec358cf04be9d33097bed07753ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14ec43a76a7570fe9c9a0aedc2426f25409aec358cf04be9d33097bed07753ef", kill_on_drop: false }` [INFO] [stdout] 14ec43a76a7570fe9c9a0aedc2426f25409aec358cf04be9d33097bed07753ef [INFO] checking wanders/sparsnas-openmetrics against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwanders%2Fsparsnas-openmetrics" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wanders/sparsnas-openmetrics on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wanders/sparsnas-openmetrics [INFO] finished tweaking git repo https://github.com/wanders/sparsnas-openmetrics [INFO] tweaked toml for git repo https://github.com/wanders/sparsnas-openmetrics written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wanders/sparsnas-openmetrics 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34b0e455f504a2304388460234cce3781e03a14be32cb6155d01a20705145f90 [INFO] running `Command { std: "docker" "start" "-a" "34b0e455f504a2304388460234cce3781e03a14be32cb6155d01a20705145f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34b0e455f504a2304388460234cce3781e03a14be32cb6155d01a20705145f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34b0e455f504a2304388460234cce3781e03a14be32cb6155d01a20705145f90", kill_on_drop: false }` [INFO] [stdout] 34b0e455f504a2304388460234cce3781e03a14be32cb6155d01a20705145f90 [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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6080f8d3e99895458f47f5074230bba2a7a86ab586ee99be84027269e7e1cac [INFO] running `Command { std: "docker" "start" "-a" "e6080f8d3e99895458f47f5074230bba2a7a86ab586ee99be84027269e7e1cac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking nix v0.22.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking nb v1.0.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking embedded-hal v0.2.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking headers v0.3.5 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking os_str_bytes v4.2.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking spidev v0.5.0 [INFO] [stderr] Checking gpio-cdev v0.5.0 [INFO] [stderr] Checking i2cdev v0.5.0 [INFO] [stderr] Checking sysfs_gpio v0.6.0 [INFO] [stderr] Checking rfm69 v0.4.1 [INFO] [stderr] Checking sparsnasdecode v0.1.0 (https://github.com/wanders/sparsnasdecode#7bb3a9b5) [INFO] [stderr] Checking linux-embedded-hal v0.3.1 [INFO] [stderr] Checking stderrlog v0.5.1 [INFO] [stderr] Compiling tokio-macros v1.5.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking clap v3.0.0-beta.5 [INFO] [stderr] Checking futures-executor v0.3.17 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking hyper v0.14.14 [INFO] [stderr] Checking warp v0.3.1 [INFO] [stderr] Checking sparsnas-openmetrics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/radio.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | Pin(linux_embedded_hal::gpio_cdev::Error), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SparsnasRadioError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | Pin(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/radio.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | Pin(linux_embedded_hal::gpio_cdev::Error), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SparsnasRadioError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | Pin(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/radio.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | IO(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SparsnasRadioError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 | IO(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/radio.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | IO(std::io::Error), [INFO] [stdout] | -- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SparsnasRadioError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 | IO(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(()) [INFO] [stdout] | ^^---- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(()) [INFO] [stdout] | ^^---- [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/radio.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 113 | let mut gpio = Chip::new(&conf.gpiochip)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | [INFO] [stdout] 115 | let mut spi = Spidev::open(&conf.spidev)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | let mut rfm = Rfm69::new_without_cs(spi, Delay {}); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | let irqevents = gpio [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | Ok(SparsnasRadio { [INFO] [stdout] | ____________^ [INFO] [stdout] 198 | | rfm, [INFO] [stdout] 199 | | irqevents, [INFO] [stdout] 200 | | serial, [INFO] [stdout] 201 | | pulses_per_kwh: conf.pulses_per_kwh, [INFO] [stdout] 202 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/radio.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 113 | let mut gpio = Chip::new(&conf.gpiochip)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | [INFO] [stdout] 115 | let mut spi = Spidev::open(&conf.spidev)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | let mut rfm = Rfm69::new_without_cs(spi, Delay {}); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | let irqevents = gpio [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | Ok(SparsnasRadio { [INFO] [stdout] | ____________^ [INFO] [stdout] 198 | | rfm, [INFO] [stdout] 199 | | irqevents, [INFO] [stdout] 200 | | serial, [INFO] [stdout] 201 | | pulses_per_kwh: conf.pulses_per_kwh, [INFO] [stdout] 202 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/openmetric.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | / self.unit.map_or((), |unit| { [INFO] [stdout] 64 | | writeln!(out, "# UNIT {} {}", self.name, unit).unwrap() [INFO] [stdout] 65 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = self.unit.map_or((), |unit| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/openmetric.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | / self.unit.map_or((), |unit| { [INFO] [stdout] 64 | | writeln!(out, "# UNIT {} {}", self.name, unit).unwrap() [INFO] [stdout] 65 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 63 | let _ = self.unit.map_or((), |unit| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/openmetric.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / self.help.map_or((), |help| { [INFO] [stdout] 67 | | writeln!(out, "# HELP {} {}", self.name, help).unwrap() [INFO] [stdout] 68 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = self.help.map_or((), |help| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/openmetric.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | / self.help.map_or((), |help| { [INFO] [stdout] 67 | | writeln!(out, "# HELP {} {}", self.name, help).unwrap() [INFO] [stdout] 68 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 66 | let _ = self.help.map_or((), |help| { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sparsnas-openmetrics` (bin "sparsnas-openmetrics" test) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sparsnas-openmetrics` (bin "sparsnas-openmetrics") due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e6080f8d3e99895458f47f5074230bba2a7a86ab586ee99be84027269e7e1cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6080f8d3e99895458f47f5074230bba2a7a86ab586ee99be84027269e7e1cac", kill_on_drop: false }` [INFO] [stdout] e6080f8d3e99895458f47f5074230bba2a7a86ab586ee99be84027269e7e1cac