[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.86.0 for beta-1.87-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhspradlin%2Flines" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mhspradlin/lines on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [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 serde_yaml v0.7.3 [INFO] [stderr] Downloaded winutil v0.1.1 [INFO] [stderr] Downloaded wincolor v0.1.6 [INFO] [stderr] Downloaded nodrop v0.1.12 [INFO] [stderr] Downloaded cfg-if v0.1.2 [INFO] [stderr] Downloaded unreachable v1.0.0 [INFO] [stderr] Downloaded failure_derive v0.1.1 [INFO] [stderr] Downloaded dtoa v0.4.2 [INFO] [stderr] Downloaded arrayvec v0.4.7 [INFO] [stderr] Downloaded crossbeam v0.2.12 [INFO] [stderr] Downloaded chrono v0.4.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.16 [INFO] [stderr] Downloaded rayon-core v1.4.0 [INFO] [stderr] Downloaded cadence v0.13.2 [INFO] [stderr] Downloaded cc v1.0.6 [INFO] [stderr] Downloaded hostname v0.1.4 [INFO] [stderr] Downloaded syn v0.12.14 [INFO] [stderr] Downloaded num-iter v0.1.35 [INFO] [stderr] Downloaded regex-syntax v0.5.3 [INFO] [stderr] Downloaded rustc-demangle v0.1.7 [INFO] [stderr] Downloaded rayon v0.9.0 [INFO] [stderr] Downloaded serde_derive v1.0.29 [INFO] [stderr] Downloaded rayon v1.0.0 [INFO] [stderr] Downloaded libc v0.2.39 [INFO] [stderr] Downloaded structopt-derive v0.2.6 [INFO] [stderr] Downloaded crossbeam-epoch v0.3.0 [INFO] [stderr] Downloaded serde-humantime v0.1.1 [INFO] [stderr] Downloaded quote v0.4.2 [INFO] [stderr] Downloaded num-traits v0.2.1 [INFO] [stderr] Downloaded serde v1.0.29 [INFO] [stderr] Downloaded regex v0.2.10 [INFO] [stderr] Downloaded statsd v0.10.0 [INFO] [stderr] Downloaded backtrace v0.3.5 [INFO] [stderr] Downloaded atty v0.2.8 [INFO] [stderr] Downloaded serde_derive_internals v0.20.0 [INFO] [stderr] Downloaded proc-macro2 v0.2.3 [INFO] [stderr] Downloaded serde_json v1.0.10 [INFO] [stderr] Downloaded env_logger v0.5.6 [INFO] [stderr] Downloaded structopt v0.2.6 [INFO] [stderr] Downloaded quicli v0.2.0 [INFO] [stderr] Downloaded winapi v0.3.4 [INFO] [stderr] Downloaded clap v2.31.2 [INFO] [stderr] Downloaded syn v0.11.11 [INFO] [stderr] Downloaded rand v0.4.2 [INFO] [stderr] Downloaded num-integer v0.1.36 [INFO] [stderr] Downloaded num v0.1.42 [INFO] [stderr] Downloaded time v0.1.39 [INFO] [stderr] Downloaded flate2 v1.0.1 [INFO] [stderr] Downloaded serde-value v0.5.1 [INFO] [stderr] Downloaded itoa v0.3.4 [INFO] [stderr] Downloaded termcolor v0.3.6 [INFO] [stderr] Downloaded failure v0.1.1 [INFO] [stderr] Downloaded quote v0.3.15 [INFO] [stderr] Downloaded synom v0.11.3 [INFO] [stderr] Downloaded unicode-xid v0.0.4 [INFO] [stderr] Downloaded synstructure v0.6.1 [INFO] [stderr] Downloaded glob v0.2.11 [INFO] [stderr] Downloaded log v0.4.1 [INFO] [stderr] Downloaded redox_syscall v0.1.37 [INFO] [stderr] Downloaded textwrap v0.9.0 [INFO] [stderr] Downloaded either v1.4.0 [INFO] [stderr] Downloaded crossbeam-utils v0.2.2 [INFO] [stderr] Downloaded crossbeam-deque v0.2.0 [INFO] [stderr] Downloaded aho-corasick v0.6.4 [INFO] [stderr] Downloaded memchr v2.0.1 [INFO] [stderr] Downloaded thread_local v0.3.5 [INFO] [stderr] Downloaded utf8-ranges v1.0.0 [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded lazy_static v1.0.0 [INFO] [stderr] Downloaded bitflags v1.0.1 [INFO] [stderr] Downloaded rand v0.3.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a45bca0c5a428e7330b3355600fffba03a721be8e28123cda072ceaded4e583c [INFO] running `Command { std: "docker" "start" "-a" "a45bca0c5a428e7330b3355600fffba03a721be8e28123cda072ceaded4e583c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a45bca0c5a428e7330b3355600fffba03a721be8e28123cda072ceaded4e583c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45bca0c5a428e7330b3355600fffba03a721be8e28123cda072ceaded4e583c", kill_on_drop: false }` [INFO] [stdout] a45bca0c5a428e7330b3355600fffba03a721be8e28123cda072ceaded4e583c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31cdd891e576bfb0a2b6f0ebd33c261a0b67477010a5c2ad497c142d65d0d8a0 [INFO] running `Command { std: "docker" "start" "-a" "31cdd891e576bfb0a2b6f0ebd33c261a0b67477010a5c2ad497c142d65d0d8a0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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 arrayvec v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [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 synom v0.11.3 [INFO] [stderr] Compiling crossbeam-epoch v0.3.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling quick-error v1.2.1 [INFO] [stderr] Compiling rand v0.4.2 [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 num-integer v0.1.36 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling atty v0.2.8 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling regex v0.2.10 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling regex-syntax v0.5.3 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling serde_derive_internals v0.20.0 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling clap v2.31.2 [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 ordered-float v0.5.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling time v0.1.39 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling serde_json v1.0.10 [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling env_logger v0.5.6 [INFO] [stderr] Compiling flate2 v1.0.1 [INFO] [stderr] Compiling serde-value v0.5.1 [INFO] [stderr] Compiling serde_yaml v0.7.3 [INFO] [stderr] Compiling structopt v0.2.6 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling rayon v0.9.0 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling antidote v1.0.0 [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 glob v0.2.11 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling log4rs v0.8.0 [INFO] [stderr] Compiling cadence v0.13.2 [INFO] [stderr] Compiling statsd v0.10.0 [INFO] [stderr] Compiling serde-humantime v0.1.1 [INFO] [stderr] Compiling rayon v1.0.0 [INFO] [stderr] Compiling hostname v0.1.4 [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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 125 | let mut sensors: Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/lines-agent.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, PartialEq, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.88s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.12.14, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "31cdd891e576bfb0a2b6f0ebd33c261a0b67477010a5c2ad497c142d65d0d8a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31cdd891e576bfb0a2b6f0ebd33c261a0b67477010a5c2ad497c142d65d0d8a0", kill_on_drop: false }` [INFO] [stdout] 31cdd891e576bfb0a2b6f0ebd33c261a0b67477010a5c2ad497c142d65d0d8a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c7b0b7bf7ff0c4515e4b96a31ee18504baf6634cf54c48f649c9a0501adb396 [INFO] running `Command { std: "docker" "start" "-a" "6c7b0b7bf7ff0c4515e4b96a31ee18504baf6634cf54c48f649c9a0501adb396", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 125 | let mut sensors: Vec> = Vec::new(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bin/lines-agent.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Debug, PartialEq, Deserialize)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Config` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.89s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.12.14, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6c7b0b7bf7ff0c4515e4b96a31ee18504baf6634cf54c48f649c9a0501adb396", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c7b0b7bf7ff0c4515e4b96a31ee18504baf6634cf54c48f649c9a0501adb396", kill_on_drop: false }` [INFO] [stdout] 6c7b0b7bf7ff0c4515e4b96a31ee18504baf6634cf54c48f649c9a0501adb396 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a1338434d6bbaeab6e0053b876e150af4dab8608b570699e60e91b0adbd6f198 [INFO] running `Command { std: "docker" "start" "-a" "a1338434d6bbaeab6e0053b876e150af4dab8608b570699e60e91b0adbd6f198", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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 `Once::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` which comes from the expansion of the macro `lazy_static` (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: 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 `Once::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` which comes from the expansion of the macro `lazy_static` (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] = 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 125 | let mut sensors: Vec> = Vec::new(); [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/bin/lines-agent.rs:46:28 [INFO] [stderr] | [INFO] [stderr] 46 | #[derive(Debug, PartialEq, Deserialize)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Config` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `lines` (bin "lines-agent" test) generated 5 warnings (run `cargo fix --bin "lines-agent" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `lines` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.12.14, traitobject v0.1.0, typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lines-913a68c369c80c8e) [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 src/bin/lines-agent.rs (/opt/rustwide/target/debug/deps/lines_agent-39ebdedae91d58cd) [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.01s [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" "a1338434d6bbaeab6e0053b876e150af4dab8608b570699e60e91b0adbd6f198", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1338434d6bbaeab6e0053b876e150af4dab8608b570699e60e91b0adbd6f198", kill_on_drop: false }` [INFO] [stdout] a1338434d6bbaeab6e0053b876e150af4dab8608b570699e60e91b0adbd6f198