[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] testing Mange/barcommands against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMange%2Fbarcommands" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mange/barcommands on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-20/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7efdddd2f6ffe620fbec0689479eb11054320ebdce51aa10d2ac397e51ea63e0 [INFO] running `Command { std: "docker" "start" "-a" "7efdddd2f6ffe620fbec0689479eb11054320ebdce51aa10d2ac397e51ea63e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7efdddd2f6ffe620fbec0689479eb11054320ebdce51aa10d2ac397e51ea63e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7efdddd2f6ffe620fbec0689479eb11054320ebdce51aa10d2ac397e51ea63e0", kill_on_drop: false }` [INFO] [stdout] 7efdddd2f6ffe620fbec0689479eb11054320ebdce51aa10d2ac397e51ea63e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12257af8f7b1ecd0bd11113162ccbe16a4dc28d632c1e642fd78d03e55e182d4 [INFO] running `Command { std: "docker" "start" "-a" "12257af8f7b1ecd0bd11113162ccbe16a4dc28d632c1e642fd78d03e55e182d4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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-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-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: `...` 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: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: use of deprecated constant `std::sync::ONCE_INIT`: the `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` (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 `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` (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 `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` (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 `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` (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 `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` (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 `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/bin/bar-memory.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/bin/bar-memory.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/bin/bar-memory.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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` (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 `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/bin/bar-memory.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/bin/bar-cpu.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/bin/bar-cpu.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/bin/bar-cpu.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/bin/bar-cpu.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [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: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.78s [INFO] running `Command { std: "docker" "inspect" "12257af8f7b1ecd0bd11113162ccbe16a4dc28d632c1e642fd78d03e55e182d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12257af8f7b1ecd0bd11113162ccbe16a4dc28d632c1e642fd78d03e55e182d4", kill_on_drop: false }` [INFO] [stdout] 12257af8f7b1ecd0bd11113162ccbe16a4dc28d632c1e642fd78d03e55e182d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74a5e2515778721ca0ddaabf685fd3390179121ae72d65cb9c04d63c795b9c3f [INFO] running `Command { std: "docker" "start" "-a" "74a5e2515778721ca0ddaabf685fd3390179121ae72d65cb9c04d63c795b9c3f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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-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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: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 `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` (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 `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/bin/bar-memory.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/bin/bar-memory.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/bin/bar-memory.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/bin/bar-memory.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `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` (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 `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` (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 `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` (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 `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` (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 `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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/bin/bar-cpu.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/bin/bar-cpu.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/bin/bar-cpu.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/bin/bar-cpu.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [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: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stdout] = note: you likely meant to write mutually exclusive ranges [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.49s [INFO] [stderr] Executable unittests src/bin/bar-cpu.rs (/opt/rustwide/target/debug/deps/bar_cpu-498a570c9d1d06cf) [INFO] [stderr] Executable unittests src/bin/bar-memory.rs (/opt/rustwide/target/debug/deps/bar_memory-966800c7f9b384d3) [INFO] [stderr] Executable unittests src/bin/bar-volume.rs (/opt/rustwide/target/debug/deps/bar_volume-042689d8a45cae0a) [INFO] running `Command { std: "docker" "inspect" "74a5e2515778721ca0ddaabf685fd3390179121ae72d65cb9c04d63c795b9c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74a5e2515778721ca0ddaabf685fd3390179121ae72d65cb9c04d63c795b9c3f", kill_on_drop: false }` [INFO] [stdout] 74a5e2515778721ca0ddaabf685fd3390179121ae72d65cb9c04d63c795b9c3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4f13da188ba416f6c7dbe7a6108293df5aadb09bbe2fd1ef8d8213df7391cf8b [INFO] running `Command { std: "docker" "start" "-a" "4f13da188ba416f6c7dbe7a6108293df5aadb09bbe2fd1ef8d8213df7391cf8b", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/bin/bar-cpu.rs:72:24 [INFO] [stderr] | [INFO] [stderr] 72 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/bin/bar-cpu.rs:73:23 [INFO] [stderr] | [INFO] [stderr] 73 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/bar-cpu.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | / lazy_static! { [INFO] [stderr] 52 | | // 13:42:18 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle [INFO] [stderr] 53 | | static ref RE: Regex = Regex::new(r#"(?x) [INFO] [stderr] 54 | | all # CPU [INFO] [stderr] ... | [INFO] [stderr] 61 | | "#).expect("Failed to compile regexp"); [INFO] [stderr] 62 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/bar-cpu.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | / lazy_static! { [INFO] [stderr] 52 | | // 13:42:18 CPU %usr %nice %sys %iowait %irq %soft %steal %guest %gnice %idle [INFO] [stderr] 53 | | static ref RE: Regex = Regex::new(r#"(?x) [INFO] [stderr] 54 | | all # CPU [INFO] [stderr] ... | [INFO] [stderr] 61 | | "#).expect("Failed to compile regexp"); [INFO] [stderr] 62 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/bin/bar-cpu.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/bin/bar-cpu.rs:72:27 [INFO] [stderr] | [INFO] [stderr] 72 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/bin/bar-cpu.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/bin/bar-cpu.rs:73:26 [INFO] [stderr] | [INFO] [stderr] 73 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/bin/bar-memory.rs:54:24 [INFO] [stderr] | [INFO] [stderr] 54 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/bin/bar-memory.rs:55:23 [INFO] [stderr] | [INFO] [stderr] 55 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/bin/bar-memory.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/bin/bar-memory.rs:54:27 [INFO] [stderr] | [INFO] [stderr] 54 | ERROR_THRESHOLD...HUNDRED => (ERROR_FORMAT, ""), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/bin/bar-memory.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/bin/bar-memory.rs:55:26 [INFO] [stderr] | [INFO] [stderr] 55 | WARN_THRESHOLD...ERROR_THRESHOLD => (WARN_FORMAT, ""), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/bin/bar-volume.rs:67:22 [INFO] [stderr] | [INFO] [stderr] 67 | (false, 0...10) => FA_VOLUME_OFF, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/bin/bar-volume.rs:68:23 [INFO] [stderr] | [INFO] [stderr] 68 | (false, 10...50) => FA_VOLUME_DOWN, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/bar-volume.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | / lazy_static! { [INFO] [stderr] 81 | | static ref SINK_RE: Regex = Regex::new( [INFO] [stderr] 82 | | "^Sink #(?P\\d+)" [INFO] [stderr] 83 | | ).expect("Failed to compile regexp"); [INFO] [stderr] ... | [INFO] [stderr] 87 | | ).expect("Failed to compile regexp"); [INFO] [stderr] 88 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/bar-volume.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | / lazy_static! { [INFO] [stderr] 81 | | static ref SINK_RE: Regex = Regex::new( [INFO] [stderr] 82 | | "^Sink #(?P\\d+)" [INFO] [stderr] 83 | | ).expect("Failed to compile regexp"); [INFO] [stderr] ... | [INFO] [stderr] 87 | | ).expect("Failed to compile regexp"); [INFO] [stderr] 88 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/bin/bar-volume.rs:159:5 [INFO] [stderr] | [INFO] [stderr] 159 | / lazy_static! { [INFO] [stderr] 160 | | static ref SINK_EVENT_RE: Regex = Regex::new( [INFO] [stderr] 161 | | "^Event '[^']*' on sink" [INFO] [stderr] 162 | | ).expect("Failed to compile regexp"); [INFO] [stderr] 163 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: multiple patterns overlap on their endpoints [INFO] [stderr] --> src/bin/bar-volume.rs:68:21 [INFO] [stderr] | [INFO] [stderr] 67 | (false, 0...10) => FA_VOLUME_OFF, [INFO] [stderr] | ------ this range overlaps on `10_i32`... [INFO] [stderr] 68 | (false, 10...50) => FA_VOLUME_DOWN, [INFO] [stderr] | ^^^^^^^ ... with this range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(overlapping_range_endpoints)]` on by default [INFO] [stderr] = note: you likely meant to write mutually exclusive ranges [INFO] [stderr] [INFO] [stderr] warning: `barcommands` (bin "bar-cpu" test) generated 8 warnings [INFO] [stderr] warning: `barcommands` (bin "bar-memory" test) generated 6 warnings [INFO] [stderr] warning: `barcommands` (bin "bar-volume" test) generated 9 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/bin/bar-cpu.rs (/opt/rustwide/target/debug/deps/bar_cpu-498a570c9d1d06cf) [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/bar-memory.rs (/opt/rustwide/target/debug/deps/bar_memory-966800c7f9b384d3) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/bar-volume.rs (/opt/rustwide/target/debug/deps/bar_volume-042689d8a45cae0a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4f13da188ba416f6c7dbe7a6108293df5aadb09bbe2fd1ef8d8213df7391cf8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f13da188ba416f6c7dbe7a6108293df5aadb09bbe2fd1ef8d8213df7391cf8b", kill_on_drop: false }` [INFO] [stdout] 4f13da188ba416f6c7dbe7a6108293df5aadb09bbe2fd1ef8d8213df7391cf8b