[INFO] cloning repository https://github.com/mhspradlin/lines [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mhspradlin/lines" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhspradlin%2Flines", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhspradlin%2Flines'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a066bf7fea26fb0e3a4c52213b08f6d4f7d3695a [INFO] testing mhspradlin/lines against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhspradlin%2Flines" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mhspradlin/lines on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-29/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quick-error v1.2.1 [INFO] [stderr] Downloaded syn v0.12.14 [INFO] [stderr] Downloaded structopt-derive v0.2.6 [INFO] [stderr] Downloaded serde_derive_internals v0.20.0 [INFO] [stderr] Downloaded rayon v1.0.0 [INFO] [stderr] Downloaded rayon v0.9.0 [INFO] [stderr] Downloaded hostname v0.1.4 [INFO] [stderr] Downloaded rustc-demangle v0.1.7 [INFO] [stderr] Downloaded serde_json v1.0.10 [INFO] [stderr] Downloaded crossbeam v0.2.12 [INFO] [stderr] Downloaded backtrace v0.3.5 [INFO] [stderr] Downloaded chrono v0.4.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.16 [INFO] [stderr] Downloaded env_logger v0.5.6 [INFO] [stderr] Downloaded num-traits v0.2.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.3.0 [INFO] [stderr] Downloaded serde-humantime v0.1.1 [INFO] [stderr] Downloaded serde-value v0.5.1 [INFO] [stderr] Downloaded failure v0.1.1 [INFO] [stderr] Downloaded log v0.4.1 [INFO] [stderr] Downloaded structopt v0.2.6 [INFO] [stderr] Downloaded cc v1.0.6 [INFO] [stderr] Downloaded serde_yaml v0.7.3 [INFO] [stderr] Downloaded serde v1.0.29 [INFO] [stderr] Downloaded failure_derive v0.1.1 [INFO] [stderr] Downloaded either v1.4.0 [INFO] [stderr] Downloaded synstructure v0.6.1 [INFO] [stderr] Downloaded serde_derive v1.0.29 [INFO] [stderr] Downloaded proc-macro2 v0.2.3 [INFO] [stderr] Downloaded quote v0.4.2 [INFO] [stderr] Downloaded statsd v0.10.0 [INFO] [stderr] Downloaded quicli v0.2.0 [INFO] [stderr] Downloaded cadence v0.13.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 680eaefd265ec63373045aaf07890b90726e7e7389ee37f34cf13f5b9ca427a8 [INFO] running `Command { std: "docker" "start" "-a" "680eaefd265ec63373045aaf07890b90726e7e7389ee37f34cf13f5b9ca427a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "680eaefd265ec63373045aaf07890b90726e7e7389ee37f34cf13f5b9ca427a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "680eaefd265ec63373045aaf07890b90726e7e7389ee37f34cf13f5b9ca427a8", kill_on_drop: false }` [INFO] [stdout] 680eaefd265ec63373045aaf07890b90726e7e7389ee37f34cf13f5b9ca427a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f5d0a4e94e2fce4792248ccfef6e3c2ffc16e4bd44173961025b269b6802039 [INFO] running `Command { std: "docker" "start" "-a" "6f5d0a4e94e2fce4792248ccfef6e3c2ffc16e4bd44173961025b269b6802039", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling cc v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.29 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling traitobject v0.1.0 [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 dtoa v0.4.2 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling hostname v0.1.4 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling regex-syntax v0.5.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling cadence v0.13.2 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling ordered-float v0.5.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling serde-value v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.10 [INFO] [stderr] Compiling serde-humantime v0.1.1 [INFO] [stderr] Compiling syn v0.12.14 [INFO] [stderr] Compiling crossbeam-epoch v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling serde_yaml v0.7.3 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling flate2 v1.0.1 [INFO] [stderr] Compiling statsd v0.10.0 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling serde_derive_internals v0.20.0 [INFO] [stderr] Compiling env_logger v0.5.6 [INFO] [stderr] Compiling rayon v0.9.0 [INFO] [stderr] Compiling rayon v1.0.0 [INFO] [stderr] Compiling failure_derive 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 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 constant `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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/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 the macro `__lazy_static_create` (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: use of deprecated constant `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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 125 - let mut sensors: Vec> = Vec::new(); [INFO] [stdout] 125 + let mut sensors: Vec> = Vec::new(); [INFO] [stdout] | [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" "6f5d0a4e94e2fce4792248ccfef6e3c2ffc16e4bd44173961025b269b6802039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5d0a4e94e2fce4792248ccfef6e3c2ffc16e4bd44173961025b269b6802039", kill_on_drop: false }` [INFO] [stdout] 6f5d0a4e94e2fce4792248ccfef6e3c2ffc16e4bd44173961025b269b6802039 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffca15e488359f1f9e14be9fbc7d7d395ee5fb56607ec08615b4b0160b26eb4b [INFO] running `Command { std: "docker" "start" "-a" "ffca15e488359f1f9e14be9fbc7d7d395ee5fb56607ec08615b4b0160b26eb4b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: use of deprecated constant `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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lines v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `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 the macro `__lazy_static_create` (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 constant `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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/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 the macro `__lazy_static_create` (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: use of deprecated constant `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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 125 - let mut sensors: Vec> = Vec::new(); [INFO] [stdout] 125 + let mut sensors: Vec> = Vec::new(); [INFO] [stdout] | [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 8.57s [INFO] running `Command { std: "docker" "inspect" "ffca15e488359f1f9e14be9fbc7d7d395ee5fb56607ec08615b4b0160b26eb4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffca15e488359f1f9e14be9fbc7d7d395ee5fb56607ec08615b4b0160b26eb4b", kill_on_drop: false }` [INFO] [stdout] ffca15e488359f1f9e14be9fbc7d7d395ee5fb56607ec08615b4b0160b26eb4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 472e883a0d9b32971bf3e7900ac7b907aefe2f4cf0b83887f0341f5c5198ad75 [INFO] running `Command { std: "docker" "start" "-a" "472e883a0d9b32971bf3e7900ac7b907aefe2f4cf0b83887f0341f5c5198ad75", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated constant `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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `lines` (lib) generated 7 warnings (4 duplicates) [INFO] [stderr] warning: `lines` (lib test) generated 7 warnings (7 duplicates) [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: use of deprecated constant `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 the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 125 - let mut sensors: Vec> = Vec::new(); [INFO] [stderr] 125 + let mut sensors: Vec> = Vec::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `lines` (bin "lines-agent" test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.50s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lines-bb27e964ed96b88f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lines_agent-3a267b2bd18228ae) [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; finished in 0.00s [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "472e883a0d9b32971bf3e7900ac7b907aefe2f4cf0b83887f0341f5c5198ad75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "472e883a0d9b32971bf3e7900ac7b907aefe2f4cf0b83887f0341f5c5198ad75", kill_on_drop: false }` [INFO] [stdout] 472e883a0d9b32971bf3e7900ac7b907aefe2f4cf0b83887f0341f5c5198ad75