[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.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMange%2Fbarcommands" "/workspace/builds/worker-34/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-34/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mange/barcommands on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.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-34/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.59.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9c150c66da67ed58ea545454eb0e9d28e70a63ed91e4c7ac4f33b9fa9fa54687 [INFO] running `Command { std: "docker" "start" "-a" "9c150c66da67ed58ea545454eb0e9d28e70a63ed91e4c7ac4f33b9fa9fa54687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9c150c66da67ed58ea545454eb0e9d28e70a63ed91e4c7ac4f33b9fa9fa54687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c150c66da67ed58ea545454eb0e9d28e70a63ed91e4c7ac4f33b9fa9fa54687", kill_on_drop: false }` [INFO] [stdout] 9c150c66da67ed58ea545454eb0e9d28e70a63ed91e4c7ac4f33b9fa9fa54687 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 837b9a3f06fad4a033c0ce81d5070bb0d18aedb947df049e79ffac62ab19d071 [INFO] running `Command { std: "docker" "start" "-a" "837b9a3f06fad4a033c0ce81d5070bb0d18aedb947df049e79ffac62ab19d071", 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 regex-syntax v0.4.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling lazy_static v0.2.4 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling memchr v1.0.1 [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-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: `...` 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: 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: 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-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-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-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-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-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: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 11.39s [INFO] running `Command { std: "docker" "inspect" "837b9a3f06fad4a033c0ce81d5070bb0d18aedb947df049e79ffac62ab19d071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "837b9a3f06fad4a033c0ce81d5070bb0d18aedb947df049e79ffac62ab19d071", kill_on_drop: false }` [INFO] [stdout] 837b9a3f06fad4a033c0ce81d5070bb0d18aedb947df049e79ffac62ab19d071 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4fca1739c39d8e264262e23d3b03b5a9f9ad63cd450ad627cdf9adc7d851b084 [INFO] running `Command { std: "docker" "start" "-a" "4fca1739c39d8e264262e23d3b03b5a9f9ad63cd450ad627cdf9adc7d851b084", kill_on_drop: false }` [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: `...` 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-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-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: 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: 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: 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 0.76s [INFO] running `Command { std: "docker" "inspect" "4fca1739c39d8e264262e23d3b03b5a9f9ad63cd450ad627cdf9adc7d851b084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fca1739c39d8e264262e23d3b03b5a9f9ad63cd450ad627cdf9adc7d851b084", kill_on_drop: false }` [INFO] [stdout] 4fca1739c39d8e264262e23d3b03b5a9f9ad63cd450ad627cdf9adc7d851b084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-34/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d47ba4f706be943b6beac66f660fe7e9f7c64fbca6f94743df790a9203db0f33 [INFO] running `Command { std: "docker" "start" "-a" "d47ba4f706be943b6beac66f660fe7e9f7c64fbca6f94743df790a9203db0f33", kill_on_drop: false }` [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: `...` 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: `barcommands` (bin "bar-volume" test) generated 9 warnings (3 duplicates) [INFO] [stderr] warning: `barcommands` (bin "bar-memory" test) generated 6 warnings [INFO] [stderr] warning: `barcommands` (bin "bar-cpu" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bar_cpu-bfec42bd2f409c91) [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-fed70f1fb966fb08) [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-16c9e9fa84993e84) [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" "d47ba4f706be943b6beac66f660fe7e9f7c64fbca6f94743df790a9203db0f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d47ba4f706be943b6beac66f660fe7e9f7c64fbca6f94743df790a9203db0f33", kill_on_drop: false }` [INFO] [stdout] d47ba4f706be943b6beac66f660fe7e9f7c64fbca6f94743df790a9203db0f33