[INFO] fetching crate x-influx 0.9.2... [INFO] checking x-influx-0.9.2 against try#fafe42c59556a4233f03dd0d900b575a9afeece8 for pr-143764 [INFO] extracting crate x-influx 0.9.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate x-influx 0.9.2 [INFO] finished tweaking crates.io crate x-influx 0.9.2 [INFO] tweaked toml for crates.io crate x-influx 0.9.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate x-influx 0.9.2 on toolchain fafe42c59556a4233f03dd0d900b575a9afeece8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 72 packages to latest compatible versions [INFO] [stderr] Adding docopt v0.8.3 (available: v1.1.1) [INFO] [stderr] Adding influent v0.4.1 (available: v0.5.3) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9a5dc53c580b09a24cda78bd4fe92e68ada57ff64a012235b9bc4b3e42edbb9 [INFO] running `Command { std: "docker" "start" "-a" "e9a5dc53c580b09a24cda78bd4fe92e68ada57ff64a012235b9bc4b3e42edbb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9a5dc53c580b09a24cda78bd4fe92e68ada57ff64a012235b9bc4b3e42edbb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9a5dc53c580b09a24cda78bd4fe92e68ada57ff64a012235b9bc4b3e42edbb9", kill_on_drop: false }` [INFO] [stdout] e9a5dc53c580b09a24cda78bd4fe92e68ada57ff64a012235b9bc4b3e42edbb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+fafe42c59556a4233f03dd0d900b575a9afeece8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 307f578bcf4f3cd7138eb83326c510f40aa5ffcfa5fa64f3ad628cb2ef615454 [INFO] running `Command { std: "docker" "start" "-a" "307f578bcf4f3cd7138eb83326c510f40aa5ffcfa5fa64f3ad628cb2ef615454", 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.174 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking traitobject v0.1.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking influent v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking docopt v0.8.3 [INFO] [stderr] Checking x-influx v0.9.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/interactive.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | try!(io::stdout().flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/interactive.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | try!(io::stdin().read_line(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/interactive.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | let measure = try!(self.read_string(&format!("Measurement [{}]: ", layout.measure))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/interactive.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | let time = try!(self.read_string(&format!("Time [{}][{}]: ", layout.time, layout.tformat))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/interactive.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | try!(self.read_string(&format!("Tags [{}]: ", layout.tags.join(",")))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/csv.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | let header = try!(self.skip(lines).and_then(|e| Ok(self.split(&e)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/csv.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | let measure = try!(self.find_pos(&layout.measure, header.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/csv.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | let time = try!(self.find_pos(&layout.time, header.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/csv.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | let reader = try!(self.open(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/csv.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | let reader = try!(self.open(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/csv.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | let data = try!(line.and_then(|l| Ok(self.split(&l)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | Join(Box), [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] 74 | Join(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | impl From> for ConvertError { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 | impl From> for ConvertError { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | fn from(err: Box) -> ConvertError { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 | fn from(err: Box) -> ConvertError { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:99:50 [INFO] [stdout] | [INFO] [stdout] 99 | ConvertError::Influx(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | ConvertError::Send(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/client.rs:166:37 [INFO] [stdout] | [INFO] [stdout] 166 | let time = DateTime::::from_utc(NaiveDateTime::from_timestamp(msg.time, 0), Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/client.rs:166:61 [INFO] [stdout] | [INFO] [stdout] 166 | let time = DateTime::::from_utc(NaiveDateTime::from_timestamp(msg.time, 0), Utc); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/interactive.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | try!(io::stdout().flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/interactive.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | try!(io::stdin().read_line(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/interactive.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | let measure = try!(self.read_string(&format!("Measurement [{}]: ", layout.measure))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/interactive.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | let time = try!(self.read_string(&format!("Time [{}][{}]: ", layout.time, layout.tformat))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/interactive.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | try!(self.read_string(&format!("Tags [{}]: ", layout.tags.join(",")))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/csv.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | let header = try!(self.skip(lines).and_then(|e| Ok(self.split(&e)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/csv.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | let measure = try!(self.find_pos(&layout.measure, header.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/csv.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | let time = try!(self.find_pos(&layout.time, header.as_slice())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/csv.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | let reader = try!(self.open(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/csv.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | let reader = try!(self.open(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mapper/csv.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | let data = try!(line.and_then(|l| Ok(self.split(&l)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | Join(Box), [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] 74 | Join(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/mapper/interactive.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | let time = match Utc.datetime_from_str(&time, &layout.tformat) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/mapper/csv.rs:114:43 [INFO] [stdout] | [INFO] [stdout] 114 | let timestamp = match Utc.datetime_from_str(&data[time], &layout.tformat) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:111:15 [INFO] [stdout] | [INFO] [stdout] 111 | impl From> for ConvertError { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 | impl From> for ConvertError { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:112:22 [INFO] [stdout] | [INFO] [stdout] 112 | fn from(err: Box) -> ConvertError { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 | fn from(err: Box) -> ConvertError { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:99:50 [INFO] [stdout] | [INFO] [stdout] 99 | ConvertError::Influx(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:100:48 [INFO] [stdout] | [INFO] [stdout] 100 | ConvertError::Send(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | let mapper: Box = match _args.cmd_i { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 137 | let mapper: Box = match _args.cmd_i { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/mapper/interactive.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | let time = match Utc.datetime_from_str(&time, &layout.tformat) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/mapper/csv.rs:114:43 [INFO] [stdout] | [INFO] [stdout] 114 | let timestamp = match Utc.datetime_from_str(&data[time], &layout.tformat) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mapper/csv.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let mut lines = reader.lines().skip(self.first_row + 1); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | let mapper: Box = match _args.cmd_i { [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 137 | let mapper: Box = match _args.cmd_i { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mapper/csv.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | let mut lines = reader.lines().skip(self.first_row + 1); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `batch` is never read [INFO] [stdout] --> src/mapper/csv.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Csv { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 23 | files: Vec, [INFO] [stdout] 24 | batch: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Csv` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/error.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(LOGGER.0, Level::Info); [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/error.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(LOGGER.0, Level::Debug); [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `batch` is never read [INFO] [stdout] --> src/mapper/csv.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Csv { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 23 | files: Vec, [INFO] [stdout] 24 | batch: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Csv` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.61s [INFO] running `Command { std: "docker" "inspect" "307f578bcf4f3cd7138eb83326c510f40aa5ffcfa5fa64f3ad628cb2ef615454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "307f578bcf4f3cd7138eb83326c510f40aa5ffcfa5fa64f3ad628cb2ef615454", kill_on_drop: false }` [INFO] [stdout] 307f578bcf4f3cd7138eb83326c510f40aa5ffcfa5fa64f3ad628cb2ef615454