[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v0.2.4 [INFO] [stderr] Downloaded thread_local v0.3.3 [INFO] [stderr] Downloaded regex v0.2.1 [INFO] [stderr] Downloaded aho-corasick v0.6.2 [INFO] [stderr] Downloaded regex-syntax v0.4.0 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70e4525d43ced76f2c56074d3e2b36e32cedc83c31b66d479cd6a49b3443134f [INFO] running `Command { std: "docker" "start" "-a" "70e4525d43ced76f2c56074d3e2b36e32cedc83c31b66d479cd6a49b3443134f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70e4525d43ced76f2c56074d3e2b36e32cedc83c31b66d479cd6a49b3443134f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70e4525d43ced76f2c56074d3e2b36e32cedc83c31b66d479cd6a49b3443134f", kill_on_drop: false }` [INFO] [stdout] 70e4525d43ced76f2c56074d3e2b36e32cedc83c31b66d479cd6a49b3443134f [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 502b807a4b6ace4c7cf5c910b938a37a182b3a0e87d1d30c7f3c9601bee1af45 [INFO] running `Command { std: "docker" "start" "-a" "502b807a4b6ace4c7cf5c910b938a37a182b3a0e87d1d30c7f3c9601bee1af45", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-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: 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: 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: `...` 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-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: 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: `...` 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-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-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: 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 17.45s [INFO] running `Command { std: "docker" "inspect" "502b807a4b6ace4c7cf5c910b938a37a182b3a0e87d1d30c7f3c9601bee1af45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "502b807a4b6ace4c7cf5c910b938a37a182b3a0e87d1d30c7f3c9601bee1af45", kill_on_drop: false }` [INFO] [stdout] 502b807a4b6ace4c7cf5c910b938a37a182b3a0e87d1d30c7f3c9601bee1af45 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2a4a7e4a3d1cd88155b82741f6aca5b4cd18d5fd232f98ba123e22cd971fa26 [INFO] running `Command { std: "docker" "start" "-a" "f2a4a7e4a3d1cd88155b82741f6aca5b4cd18d5fd232f98ba123e22cd971fa26", 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-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-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: `...` 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: 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-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: `...` 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: 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: `...` 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: 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: 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: `#[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-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: 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: 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: 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: 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 test [unoptimized + debuginfo] target(s) in 4.63s [INFO] running `Command { std: "docker" "inspect" "f2a4a7e4a3d1cd88155b82741f6aca5b4cd18d5fd232f98ba123e22cd971fa26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2a4a7e4a3d1cd88155b82741f6aca5b4cd18d5fd232f98ba123e22cd971fa26", kill_on_drop: false }` [INFO] [stdout] f2a4a7e4a3d1cd88155b82741f6aca5b4cd18d5fd232f98ba123e22cd971fa26 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 180f94b7f7e8162202dc1b50c8311cd218f776319e30c1a914821126304bb891 [INFO] running `Command { std: "docker" "start" "-a" "180f94b7f7e8162202dc1b50c8311cd218f776319e30c1a914821126304bb891", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-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-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-memory" test) generated 6 warnings [INFO] [stderr] warning: `barcommands` (bin "bar-cpu" test) generated 8 warnings [INFO] [stderr] warning: `barcommands` (bin "bar-volume" test) generated 9 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bar_cpu-8e3967c98369e83f) [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] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bar_memory-16b0d492519ca856) [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] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bar_volume-144b739a575d5166) [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" "180f94b7f7e8162202dc1b50c8311cd218f776319e30c1a914821126304bb891", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "180f94b7f7e8162202dc1b50c8311cd218f776319e30c1a914821126304bb891", kill_on_drop: false }` [INFO] [stdout] 180f94b7f7e8162202dc1b50c8311cd218f776319e30c1a914821126304bb891