[INFO] updating cached repository https://github.com/mhspradlin/lines [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a066bf7fea26fb0e3a4c52213b08f6d4f7d3695a [INFO] testing mhspradlin/lines against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhspradlin%2Flines" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mhspradlin/lines on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mhspradlin/lines [INFO] finished tweaking git repo https://github.com/mhspradlin/lines [INFO] tweaked toml for git repo https://github.com/mhspradlin/lines written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/mhspradlin/lines already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 951ee57ef1ca05292a7f6dee0221b0097a507a25a0c77f329aa8061f90a575ab [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "951ee57ef1ca05292a7f6dee0221b0097a507a25a0c77f329aa8061f90a575ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "951ee57ef1ca05292a7f6dee0221b0097a507a25a0c77f329aa8061f90a575ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "951ee57ef1ca05292a7f6dee0221b0097a507a25a0c77f329aa8061f90a575ab", kill_on_drop: false }` [INFO] [stdout] 951ee57ef1ca05292a7f6dee0221b0097a507a25a0c77f329aa8061f90a575ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1fc87a8b29029b17ea9d42f8f93f3239311207acb7207c653417680a7527ceaa [INFO] running `Command { std: "docker" "start" "-a" "1fc87a8b29029b17ea9d42f8f93f3239311207acb7207c653417680a7527ceaa", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.29 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling hostname v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.5.3 [INFO] [stderr] Compiling cadence v0.13.2 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling crossbeam-epoch v0.3.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling statsd v0.10.0 [INFO] [stderr] Compiling ordered-float v0.5.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling syn v0.12.14 [INFO] [stderr] Compiling rayon v0.9.0 [INFO] [stderr] Compiling rayon v1.0.0 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling serde_derive_internals v0.20.0 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling structopt-derive v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.29 [INFO] [stderr] Compiling structopt v0.2.6 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling serde-value v0.5.1 [INFO] [stderr] Compiling serde_yaml v0.7.3 [INFO] [stderr] Compiling serde_json v1.0.10 [INFO] [stderr] Compiling serde-humantime v0.1.1 [INFO] [stderr] Compiling env_logger v0.5.6 [INFO] [stderr] Compiling quicli v0.2.0 [INFO] [stderr] Compiling log4rs v0.8.0 [INFO] [stderr] Compiling lines v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/physical_memory.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stdout] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stdout] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stdout] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/physical_memory.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stdout] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stdout] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stdout] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/physical_memory.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stdout] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stdout] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stdout] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/physical_memory.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stdout] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stdout] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stdout] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/cpu_time.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / lazy_static! { [INFO] [stdout] 129 | | static ref IDLE_TIME: String = METRICS_PREFIX.to_string() + ".idle_time"; [INFO] [stdout] 130 | | static ref BUSY_TIME: String = METRICS_PREFIX.to_string() + ".busy_time"; [INFO] [stdout] 131 | | static ref CPU_TIME: Regex = [INFO] [stdout] ... | [INFO] [stdout] 134 | | r"(?P\d+)\s+(?P\d+)")).unwrap(); [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/cpu_time.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / lazy_static! { [INFO] [stdout] 129 | | static ref IDLE_TIME: String = METRICS_PREFIX.to_string() + ".idle_time"; [INFO] [stdout] 130 | | static ref BUSY_TIME: String = METRICS_PREFIX.to_string() + ".busy_time"; [INFO] [stdout] 131 | | static ref CPU_TIME: Regex = [INFO] [stdout] ... | [INFO] [stdout] 134 | | r"(?P\d+)\s+(?P\d+)")).unwrap(); [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/cpu_time.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / lazy_static! { [INFO] [stdout] 129 | | static ref IDLE_TIME: String = METRICS_PREFIX.to_string() + ".idle_time"; [INFO] [stdout] 130 | | static ref BUSY_TIME: String = METRICS_PREFIX.to_string() + ".busy_time"; [INFO] [stdout] 131 | | static ref CPU_TIME: Regex = [INFO] [stdout] ... | [INFO] [stdout] 134 | | r"(?P\d+)\s+(?P\d+)")).unwrap(); [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/lines-agent.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/lines-agent.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/lines-agent.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | let mut sensors: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Sensor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/bin/lines-agent.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | // Variable syntax for config files is `${variable_name}` [INFO] [stdout] 62 | | static ref VARIABLE_REGEX: Regex = Regex::new(r"\$\{(.*?)\}").unwrap(); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "1fc87a8b29029b17ea9d42f8f93f3239311207acb7207c653417680a7527ceaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fc87a8b29029b17ea9d42f8f93f3239311207acb7207c653417680a7527ceaa", kill_on_drop: false }` [INFO] [stdout] 1fc87a8b29029b17ea9d42f8f93f3239311207acb7207c653417680a7527ceaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cee471bd215d348ac589025be44ba9a9a82d5696ab133e40409b5a034d778397 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cee471bd215d348ac589025be44ba9a9a82d5696ab133e40409b5a034d778397", kill_on_drop: false }` [INFO] [stderr] Compiling lines v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/physical_memory.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stdout] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stdout] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stdout] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/physical_memory.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stdout] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stdout] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stdout] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/physical_memory.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stdout] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stdout] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stdout] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/physical_memory.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stdout] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stdout] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stdout] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/cpu_time.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / lazy_static! { [INFO] [stdout] 129 | | static ref IDLE_TIME: String = METRICS_PREFIX.to_string() + ".idle_time"; [INFO] [stdout] 130 | | static ref BUSY_TIME: String = METRICS_PREFIX.to_string() + ".busy_time"; [INFO] [stdout] 131 | | static ref CPU_TIME: Regex = [INFO] [stdout] ... | [INFO] [stdout] 134 | | r"(?P\d+)\s+(?P\d+)")).unwrap(); [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/cpu_time.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / lazy_static! { [INFO] [stdout] 129 | | static ref IDLE_TIME: String = METRICS_PREFIX.to_string() + ".idle_time"; [INFO] [stdout] 130 | | static ref BUSY_TIME: String = METRICS_PREFIX.to_string() + ".busy_time"; [INFO] [stdout] 131 | | static ref CPU_TIME: Regex = [INFO] [stdout] ... | [INFO] [stdout] 134 | | r"(?P\d+)\s+(?P\d+)")).unwrap(); [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/cpu_time.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / lazy_static! { [INFO] [stdout] 129 | | static ref IDLE_TIME: String = METRICS_PREFIX.to_string() + ".idle_time"; [INFO] [stdout] 130 | | static ref BUSY_TIME: String = METRICS_PREFIX.to_string() + ".busy_time"; [INFO] [stdout] 131 | | static ref CPU_TIME: Regex = [INFO] [stdout] ... | [INFO] [stdout] 134 | | r"(?P\d+)\s+(?P\d+)")).unwrap(); [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/physical_memory.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stdout] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stdout] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stdout] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/physical_memory.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stdout] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stdout] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stdout] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/physical_memory.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stdout] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stdout] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stdout] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/physical_memory.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / lazy_static! { [INFO] [stdout] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stdout] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stdout] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stdout] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/cpu_time.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / lazy_static! { [INFO] [stdout] 129 | | static ref IDLE_TIME: String = METRICS_PREFIX.to_string() + ".idle_time"; [INFO] [stdout] 130 | | static ref BUSY_TIME: String = METRICS_PREFIX.to_string() + ".busy_time"; [INFO] [stdout] 131 | | static ref CPU_TIME: Regex = [INFO] [stdout] ... | [INFO] [stdout] 134 | | r"(?P\d+)\s+(?P\d+)")).unwrap(); [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/cpu_time.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / lazy_static! { [INFO] [stdout] 129 | | static ref IDLE_TIME: String = METRICS_PREFIX.to_string() + ".idle_time"; [INFO] [stdout] 130 | | static ref BUSY_TIME: String = METRICS_PREFIX.to_string() + ".busy_time"; [INFO] [stdout] 131 | | static ref CPU_TIME: Regex = [INFO] [stdout] ... | [INFO] [stdout] 134 | | r"(?P\d+)\s+(?P\d+)")).unwrap(); [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/sensors/cpu_time.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / lazy_static! { [INFO] [stdout] 129 | | static ref IDLE_TIME: String = METRICS_PREFIX.to_string() + ".idle_time"; [INFO] [stdout] 130 | | static ref BUSY_TIME: String = METRICS_PREFIX.to_string() + ".busy_time"; [INFO] [stdout] 131 | | static ref CPU_TIME: Regex = [INFO] [stdout] ... | [INFO] [stdout] 134 | | r"(?P\d+)\s+(?P\d+)")).unwrap(); [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/lines-agent.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/lines-agent.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/lines-agent.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | let mut sensors: Vec> = Vec::new(); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Sensor` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/bin/lines-agent.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / lazy_static! { [INFO] [stdout] 61 | | // Variable syntax for config files is `${variable_name}` [INFO] [stdout] 62 | | static ref VARIABLE_REGEX: Regex = Regex::new(r"\$\{(.*?)\}").unwrap(); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.37s [INFO] running `Command { std: "docker" "inspect" "cee471bd215d348ac589025be44ba9a9a82d5696ab133e40409b5a034d778397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cee471bd215d348ac589025be44ba9a9a82d5696ab133e40409b5a034d778397", kill_on_drop: false }` [INFO] [stdout] cee471bd215d348ac589025be44ba9a9a82d5696ab133e40409b5a034d778397 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 07d2e8a11ac51905e88a76798c743c8e7c729f0daf3896d5da76c0f9bcb0f7ef [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "07d2e8a11ac51905e88a76798c743c8e7c729f0daf3896d5da76c0f9bcb0f7ef", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/sensors/physical_memory.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | / lazy_static! { [INFO] [stderr] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stderr] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stderr] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stderr] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stderr] 85 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/sensors/physical_memory.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | / lazy_static! { [INFO] [stderr] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stderr] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stderr] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stderr] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stderr] 85 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/sensors/physical_memory.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | / lazy_static! { [INFO] [stderr] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stderr] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stderr] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stderr] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stderr] 85 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/sensors/physical_memory.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | / lazy_static! { [INFO] [stderr] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stderr] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stderr] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stderr] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stderr] 85 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/sensors/cpu_time.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | / lazy_static! { [INFO] [stderr] 129 | | static ref IDLE_TIME: String = METRICS_PREFIX.to_string() + ".idle_time"; [INFO] [stderr] 130 | | static ref BUSY_TIME: String = METRICS_PREFIX.to_string() + ".busy_time"; [INFO] [stderr] 131 | | static ref CPU_TIME: Regex = [INFO] [stderr] ... | [INFO] [stderr] 134 | | r"(?P\d+)\s+(?P\d+)")).unwrap(); [INFO] [stderr] 135 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/sensors/cpu_time.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | / lazy_static! { [INFO] [stderr] 129 | | static ref IDLE_TIME: String = METRICS_PREFIX.to_string() + ".idle_time"; [INFO] [stderr] 130 | | static ref BUSY_TIME: String = METRICS_PREFIX.to_string() + ".busy_time"; [INFO] [stderr] 131 | | static ref CPU_TIME: Regex = [INFO] [stderr] ... | [INFO] [stderr] 134 | | r"(?P\d+)\s+(?P\d+)")).unwrap(); [INFO] [stderr] 135 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/sensors/cpu_time.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | / lazy_static! { [INFO] [stderr] 129 | | static ref IDLE_TIME: String = METRICS_PREFIX.to_string() + ".idle_time"; [INFO] [stderr] 130 | | static ref BUSY_TIME: String = METRICS_PREFIX.to_string() + ".busy_time"; [INFO] [stderr] 131 | | static ref CPU_TIME: Regex = [INFO] [stderr] ... | [INFO] [stderr] 134 | | r"(?P\d+)\s+(?P\d+)")).unwrap(); [INFO] [stderr] 135 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/bin/lines-agent.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/bin/lines-agent.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/bin/lines-agent.rs:125:30 [INFO] [stderr] | [INFO] [stderr] 125 | let mut sensors: Vec> = Vec::new(); [INFO] [stderr] | ^^^^^^ help: use `dyn`: `dyn Sensor` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/sensors/physical_memory.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | / lazy_static! { [INFO] [stderr] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stderr] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stderr] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stderr] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stderr] 85 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/bin/lines-agent.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | / lazy_static! { [INFO] [stderr] 61 | | // Variable syntax for config files is `${variable_name}` [INFO] [stderr] 62 | | static ref VARIABLE_REGEX: Regex = Regex::new(r"\$\{(.*?)\}").unwrap(); [INFO] [stderr] 63 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/sensors/physical_memory.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | / lazy_static! { [INFO] [stderr] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stderr] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stderr] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stderr] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stderr] 85 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/sensors/physical_memory.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | / lazy_static! { [INFO] [stderr] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stderr] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stderr] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stderr] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stderr] 85 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/sensors/physical_memory.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | / lazy_static! { [INFO] [stderr] 81 | | static ref TOTAL_BYTES: String = METRICS_PREFIX.to_string() + ".total_bytes"; [INFO] [stderr] 82 | | static ref FREE_BYTES: String = METRICS_PREFIX.to_string() + ".free_bytes"; [INFO] [stderr] 83 | | static ref AVAILABLE_BYTES: String = METRICS_PREFIX.to_string() + ".available_bytes"; [INFO] [stderr] 84 | | static ref AVAILABLE_MEMORY: Regex = Regex::new(r"^MemAvailable:\s+(?P\d+)\s*kB$").unwrap(); [INFO] [stderr] 85 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/sensors/cpu_time.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | / lazy_static! { [INFO] [stderr] 129 | | static ref IDLE_TIME: String = METRICS_PREFIX.to_string() + ".idle_time"; [INFO] [stderr] 130 | | static ref BUSY_TIME: String = METRICS_PREFIX.to_string() + ".busy_time"; [INFO] [stderr] 131 | | static ref CPU_TIME: Regex = [INFO] [stderr] ... | [INFO] [stderr] 134 | | r"(?P\d+)\s+(?P\d+)")).unwrap(); [INFO] [stderr] 135 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/sensors/cpu_time.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | / lazy_static! { [INFO] [stderr] 129 | | static ref IDLE_TIME: String = METRICS_PREFIX.to_string() + ".idle_time"; [INFO] [stderr] 130 | | static ref BUSY_TIME: String = METRICS_PREFIX.to_string() + ".busy_time"; [INFO] [stderr] 131 | | static ref CPU_TIME: Regex = [INFO] [stderr] ... | [INFO] [stderr] 134 | | r"(?P\d+)\s+(?P\d+)")).unwrap(); [INFO] [stderr] 135 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/sensors/cpu_time.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | / lazy_static! { [INFO] [stderr] 129 | | static ref IDLE_TIME: String = METRICS_PREFIX.to_string() + ".idle_time"; [INFO] [stderr] 130 | | static ref BUSY_TIME: String = METRICS_PREFIX.to_string() + ".busy_time"; [INFO] [stderr] 131 | | static ref CPU_TIME: Regex = [INFO] [stderr] ... | [INFO] [stderr] 134 | | r"(?P\d+)\s+(?P\d+)")).unwrap(); [INFO] [stderr] 135 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/lines-04079ee348eb99c3 [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/lines_agent-a8d0ca1a960dc752 [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test substitute_bindings_in_string_test ... ok [INFO] [stderr] Doc-tests lines [INFO] [stdout] test substitute_variables_substitutes_hostname_and_url ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "07d2e8a11ac51905e88a76798c743c8e7c729f0daf3896d5da76c0f9bcb0f7ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07d2e8a11ac51905e88a76798c743c8e7c729f0daf3896d5da76c0f9bcb0f7ef", kill_on_drop: false }` [INFO] [stdout] 07d2e8a11ac51905e88a76798c743c8e7c729f0daf3896d5da76c0f9bcb0f7ef