[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 beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhspradlin%2Flines" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mhspradlin/lines on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-1/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" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d730fc4c364e6ac5a595e617161465b1f52fe730f9f95674d1e47a06de03b656 [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" "d730fc4c364e6ac5a595e617161465b1f52fe730f9f95674d1e47a06de03b656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d730fc4c364e6ac5a595e617161465b1f52fe730f9f95674d1e47a06de03b656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d730fc4c364e6ac5a595e617161465b1f52fe730f9f95674d1e47a06de03b656", kill_on_drop: false }` [INFO] [stdout] d730fc4c364e6ac5a595e617161465b1f52fe730f9f95674d1e47a06de03b656 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 710fe1711ec9548ce7a0f85afbb6c4e528ba755f8300a0f12802d4fa8286df4d [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" "710fe1711ec9548ce7a0f85afbb6c4e528ba755f8300a0f12802d4fa8286df4d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling cc v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.1 [INFO] [stderr] Compiling serde v1.0.29 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling regex-syntax v0.5.3 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.0 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling hostname v0.1.4 [INFO] [stderr] Compiling cadence v0.13.2 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling syn v0.12.14 [INFO] [stderr] Compiling ordered-float v0.5.0 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling statsd v0.10.0 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling rayon v0.9.0 [INFO] [stderr] Compiling rayon v1.0.0 [INFO] [stderr] Compiling flate2 v1.0.1 [INFO] [stderr] Compiling serde_derive_internals v0.20.0 [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_json v1.0.10 [INFO] [stderr] Compiling serde-value v0.5.1 [INFO] [stderr] Compiling serde_yaml v0.7.3 [INFO] [stderr] Compiling serde-humantime v0.1.1 [INFO] [stderr] Compiling env_logger v0.5.6 [INFO] [stderr] Compiling log4rs v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.5 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling quicli v0.2.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 38s [INFO] running `Command { std: "docker" "inspect" "710fe1711ec9548ce7a0f85afbb6c4e528ba755f8300a0f12802d4fa8286df4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "710fe1711ec9548ce7a0f85afbb6c4e528ba755f8300a0f12802d4fa8286df4d", kill_on_drop: false }` [INFO] [stdout] 710fe1711ec9548ce7a0f85afbb6c4e528ba755f8300a0f12802d4fa8286df4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3f7c74b4ee299cf15a7800ece528a7ceb7b621fe314d3e6a7a75a151327e283 [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" "f3f7c74b4ee299cf15a7800ece528a7ceb7b621fe314d3e6a7a75a151327e283", 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.05s [INFO] running `Command { std: "docker" "inspect" "f3f7c74b4ee299cf15a7800ece528a7ceb7b621fe314d3e6a7a75a151327e283", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3f7c74b4ee299cf15a7800ece528a7ceb7b621fe314d3e6a7a75a151327e283", kill_on_drop: false }` [INFO] [stdout] f3f7c74b4ee299cf15a7800ece528a7ceb7b621fe314d3e6a7a75a151327e283 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e05b738de978b657c9e65f49513ac427771b133cec6f507ad147ff54f6030d18 [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" "e05b738de978b657c9e65f49513ac427771b133cec6f507ad147ff54f6030d18", 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: 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/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] Finished test [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/lines-d581604b10deaa37 [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] [stderr] Running /opt/rustwide/target/debug/deps/lines_agent-f0187707bb82160d [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test substitute_bindings_in_string_test ... ok [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] [stderr] Doc-tests lines [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" "e05b738de978b657c9e65f49513ac427771b133cec6f507ad147ff54f6030d18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e05b738de978b657c9e65f49513ac427771b133cec6f507ad147ff54f6030d18", kill_on_drop: false }` [INFO] [stdout] e05b738de978b657c9e65f49513ac427771b133cec6f507ad147ff54f6030d18