[INFO] cloning repository https://github.com/Mange/barcommands [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mange/barcommands" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMange%2Fbarcommands", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMange%2Fbarcommands'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69cfb679eef67ff59e3d8d63649bb48c2d0648b4 [INFO] building Mange/barcommands against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMange%2Fbarcommands" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mange/barcommands on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mange/barcommands [INFO] finished tweaking git repo https://github.com/Mange/barcommands [INFO] tweaked toml for git repo https://github.com/Mange/barcommands written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Mange/barcommands 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v0.2.4 [INFO] [stderr] Downloaded aho-corasick v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 415fbae4c881ab5ec5303ff25b5efac792bec0f47a514cd3c58528b09bcd37b1 [INFO] running `Command { std: "docker" "start" "-a" "415fbae4c881ab5ec5303ff25b5efac792bec0f47a514cd3c58528b09bcd37b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "415fbae4c881ab5ec5303ff25b5efac792bec0f47a514cd3c58528b09bcd37b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "415fbae4c881ab5ec5303ff25b5efac792bec0f47a514cd3c58528b09bcd37b1", kill_on_drop: false }` [INFO] [stdout] 415fbae4c881ab5ec5303ff25b5efac792bec0f47a514cd3c58528b09bcd37b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f314c06e69185025e7cab98a586ea59652a57eec1539532c35dbc44454d4243a [INFO] running `Command { std: "docker" "start" "-a" "f314c06e69185025e7cab98a586ea59652a57eec1539532c35dbc44454d4243a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling lazy_static v0.2.4 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.6.2 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling barcommands v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/bar-memory.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/bar-memory.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/bar-cpu.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/bar-cpu.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/bar-volume.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | (false, 0...10) => FA_VOLUME_OFF, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/bar-volume.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | (false, 10...50) => FA_VOLUME_DOWN, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/bar-volume.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref SINK_RE: Regex = Regex::new( [INFO] [stdout] 82 | | "^Sink #(?P\\d+)" [INFO] [stdout] 83 | | ).expect("Failed to compile regexp"); [INFO] [stdout] ... | [INFO] [stdout] 87 | | ).expect("Failed to compile regexp"); [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/bar-volume.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref SINK_RE: Regex = Regex::new( [INFO] [stdout] 82 | | "^Sink #(?P\\d+)" [INFO] [stdout] 83 | | ).expect("Failed to compile regexp"); [INFO] [stdout] ... | [INFO] [stdout] 87 | | ).expect("Failed to compile regexp"); [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/bar-volume.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref SINK_RE: Regex = Regex::new( [INFO] [stdout] 82 | | "^Sink #(?P\\d+)" [INFO] [stdout] 83 | | ).expect("Failed to compile regexp"); [INFO] [stdout] ... | [INFO] [stdout] 87 | | ).expect("Failed to compile regexp"); [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/bar-cpu.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / lazy_static! { [INFO] [stdout] 52 | | // 13:42:18 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle [INFO] [stdout] 53 | | static ref RE: Regex = Regex::new(r#"(?x) [INFO] [stdout] 54 | | all # CPU [INFO] [stdout] ... | [INFO] [stdout] 61 | | "#).expect("Failed to compile regexp"); [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/bar-cpu.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / lazy_static! { [INFO] [stdout] 52 | | // 13:42:18 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle [INFO] [stdout] 53 | | static ref RE: Regex = Regex::new(r#"(?x) [INFO] [stdout] 54 | | all # CPU [INFO] [stdout] ... | [INFO] [stdout] 61 | | "#).expect("Failed to compile regexp"); [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/bar-volume.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref SINK_RE: Regex = Regex::new( [INFO] [stdout] 82 | | "^Sink #(?P\\d+)" [INFO] [stdout] 83 | | ).expect("Failed to compile regexp"); [INFO] [stdout] ... | [INFO] [stdout] 87 | | ).expect("Failed to compile regexp"); [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/bar-volume.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / lazy_static! { [INFO] [stdout] 160 | | static ref SINK_EVENT_RE: Regex = Regex::new( [INFO] [stdout] 161 | | "^Event '[^']*' on sink" [INFO] [stdout] 162 | | ).expect("Failed to compile regexp"); [INFO] [stdout] 163 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/bar-volume.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / lazy_static! { [INFO] [stdout] 160 | | static ref SINK_EVENT_RE: Regex = Regex::new( [INFO] [stdout] 161 | | "^Event '[^']*' on sink" [INFO] [stdout] 162 | | ).expect("Failed to compile regexp"); [INFO] [stdout] 163 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/bin/bar-volume.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 67 | (false, 0...10) => FA_VOLUME_OFF, [INFO] [stdout] | ------ this range overlaps on `10_i32`... [INFO] [stdout] 68 | (false, 10...50) => FA_VOLUME_DOWN, [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.16s [INFO] running `Command { std: "docker" "inspect" "f314c06e69185025e7cab98a586ea59652a57eec1539532c35dbc44454d4243a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f314c06e69185025e7cab98a586ea59652a57eec1539532c35dbc44454d4243a", kill_on_drop: false }` [INFO] [stdout] f314c06e69185025e7cab98a586ea59652a57eec1539532c35dbc44454d4243a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e1d034a12fc692412ca7585bb2039d854198449a6d59d919db7bd2c20ab52e9 [INFO] running `Command { std: "docker" "start" "-a" "6e1d034a12fc692412ca7585bb2039d854198449a6d59d919db7bd2c20ab52e9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling barcommands v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/bar-memory.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/bar-memory.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/bar-cpu.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 72 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/bar-cpu.rs:73:23 [INFO] [stdout] | [INFO] [stdout] 73 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/bar-volume.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | (false, 0...10) => FA_VOLUME_OFF, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/bar-cpu.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / lazy_static! { [INFO] [stdout] 52 | | // 13:42:18 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle [INFO] [stdout] 53 | | static ref RE: Regex = Regex::new(r#"(?x) [INFO] [stdout] 54 | | all # CPU [INFO] [stdout] ... | [INFO] [stdout] 61 | | "#).expect("Failed to compile regexp"); [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/bar-cpu.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / lazy_static! { [INFO] [stdout] 52 | | // 13:42:18 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle [INFO] [stdout] 53 | | static ref RE: Regex = Regex::new(r#"(?x) [INFO] [stdout] 54 | | all # CPU [INFO] [stdout] ... | [INFO] [stdout] 61 | | "#).expect("Failed to compile regexp"); [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/bin/bar-volume.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | (false, 10...50) => FA_VOLUME_DOWN, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/bar-volume.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref SINK_RE: Regex = Regex::new( [INFO] [stdout] 82 | | "^Sink #(?P\\d+)" [INFO] [stdout] 83 | | ).expect("Failed to compile regexp"); [INFO] [stdout] ... | [INFO] [stdout] 87 | | ).expect("Failed to compile regexp"); [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/bar-volume.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref SINK_RE: Regex = Regex::new( [INFO] [stdout] 82 | | "^Sink #(?P\\d+)" [INFO] [stdout] 83 | | ).expect("Failed to compile regexp"); [INFO] [stdout] ... | [INFO] [stdout] 87 | | ).expect("Failed to compile regexp"); [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/bar-volume.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref SINK_RE: Regex = Regex::new( [INFO] [stdout] 82 | | "^Sink #(?P\\d+)" [INFO] [stdout] 83 | | ).expect("Failed to compile regexp"); [INFO] [stdout] ... | [INFO] [stdout] 87 | | ).expect("Failed to compile regexp"); [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/bar-volume.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref SINK_RE: Regex = Regex::new( [INFO] [stdout] 82 | | "^Sink #(?P\\d+)" [INFO] [stdout] 83 | | ).expect("Failed to compile regexp"); [INFO] [stdout] ... | [INFO] [stdout] 87 | | ).expect("Failed to compile regexp"); [INFO] [stdout] 88 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/bar-volume.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / lazy_static! { [INFO] [stdout] 160 | | static ref SINK_EVENT_RE: Regex = Regex::new( [INFO] [stdout] 161 | | "^Event '[^']*' on sink" [INFO] [stdout] 162 | | ).expect("Failed to compile regexp"); [INFO] [stdout] 163 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/bin/bar-volume.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / lazy_static! { [INFO] [stdout] 160 | | static ref SINK_EVENT_RE: Regex = Regex::new( [INFO] [stdout] 161 | | "^Event '[^']*' on sink" [INFO] [stdout] 162 | | ).expect("Failed to compile regexp"); [INFO] [stdout] 163 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns overlap on their endpoints [INFO] [stdout] --> src/bin/bar-volume.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 67 | (false, 0...10) => FA_VOLUME_OFF, [INFO] [stdout] | ------ this range overlaps on `10_i32`... [INFO] [stdout] 68 | (false, 10...50) => FA_VOLUME_DOWN, [INFO] [stdout] | ^^^^^^^ ... with this range [INFO] [stdout] | [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "6e1d034a12fc692412ca7585bb2039d854198449a6d59d919db7bd2c20ab52e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e1d034a12fc692412ca7585bb2039d854198449a6d59d919db7bd2c20ab52e9", kill_on_drop: false }` [INFO] [stdout] 6e1d034a12fc692412ca7585bb2039d854198449a6d59d919db7bd2c20ab52e9