[INFO] fetching crate file_logger 0.1.0... [INFO] checking file_logger-0.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate file_logger 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate file_logger 0.1.0 [INFO] finished tweaking crates.io crate file_logger 0.1.0 [INFO] tweaked toml for crates.io crate file_logger 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate file_logger 0.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 27 packages to latest compatible versions [INFO] [stderr] Adding log v0.3.9 (available: v0.4.27) [INFO] [stderr] Adding nom v1.2.4 (available: v8.0.0) [INFO] [stderr] Adding regex v0.1.80 (available: v1.11.2) [INFO] [stderr] Adding toml v0.1.30 (available: v0.9.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 963cee9c10897452dcb487733ffc7688570929c39be04c02dae2544946c0bf39 [INFO] running `Command { std: "docker" "start" "-a" "963cee9c10897452dcb487733ffc7688570929c39be04c02dae2544946c0bf39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "963cee9c10897452dcb487733ffc7688570929c39be04c02dae2544946c0bf39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "963cee9c10897452dcb487733ffc7688570929c39be04c02dae2544946c0bf39", kill_on_drop: false }` [INFO] [stdout] 963cee9c10897452dcb487733ffc7688570929c39be04c02dae2544946c0bf39 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f323ec570efe5e6c7b8c792d678021e58585ceccc322c60c28157999a88d0316 [INFO] running `Command { std: "docker" "start" "-a" "f323ec570efe5e6c7b8c792d678021e58585ceccc322c60c28157999a88d0316", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking toml v0.1.30 [INFO] [stderr] Checking file_logger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `self::time::Tm` [INFO] [stdout] --> src/format.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use self::time::Tm; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Tm` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/logger.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | let now = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `strftime` in crate `time` [INFO] [stdout] --> src/format.rs:32:83 [INFO] [stdout] | [INFO] [stdout] 32 | &FormatSpecifier::Timestamp(ref s) => try!(write!(f, "{}", try!(time::strftime(s, datetime)))), [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseError` in crate `time` [INFO] [stdout] --> src/error.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | Parse(time::ParseError), [INFO] [stdout] | ^^^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use std::string::ParseError; [INFO] [stdout] | [INFO] [stdout] help: if you import `ParseError`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 32 - Parse(time::ParseError), [INFO] [stdout] 32 + Parse(ParseError), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseError` in crate `time` [INFO] [stdout] --> src/error.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use std::string::ParseError; [INFO] [stdout] | [INFO] [stdout] help: if you import `ParseError`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 75 - impl From for Error { [INFO] [stdout] 75 + impl From for Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseError` in crate `time` [INFO] [stdout] --> src/error.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | fn from(e: time::ParseError) -> Self { [INFO] [stdout] | ^^^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use std::string::ParseError; [INFO] [stdout] | [INFO] [stdout] help: if you import `ParseError`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 76 - fn from(e: time::ParseError) -> Self { [INFO] [stdout] 76 + fn from(e: ParseError) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/logger.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | let file = try!(File::create(p)); [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/logger.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | let file = try!(file); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/logger.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | Some(true) => try!(Self::append_file(s)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/logger.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | None => try!(Self::new_file(s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/logger.rs:155:25 [INFO] [stdout] | [INFO] [stdout] 155 | let r = try!(Regex::new(s).map_err(|_| Error::Config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/logger.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | Some(s) => f.format(try!(s.parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | &FormatSpecifier::Str(ref s) => try!(write!(f, "{}", s)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | &FormatSpecifier::Level => try!(write!(f, "{}", record.level())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:32:72 [INFO] [stdout] | [INFO] [stdout] 32 | &FormatSpecifier::Timestamp(ref s) => try!(write!(f, "{}", try!(time::strftime(s, datetime)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | &FormatSpecifier::Timestamp(ref s) => try!(write!(f, "{}", try!(time::strftime(s, datetime)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | &FormatSpecifier::ModulePath => try!(write!(f, "{}", location.module_path())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | &FormatSpecifier::File => try!(write!(f, "{}", location.file())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | &FormatSpecifier::Line => try!(write!(f, "{}", location.line())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | &FormatSpecifier::Message => try!(write!(f, "{}", record.args())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | try!(write!(w, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | try!(f.format(w, record, datetime)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | fn cause(&self) -> Option<&error::Error> { [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] 24 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&error::Error> { [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] 58 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::time::Tm` [INFO] [stdout] --> src/format.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use self::time::Tm; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Tm` in the root [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:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | Error::Io(ref e) => e.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:53:39 [INFO] [stdout] | [INFO] [stdout] 53 | Error::Format(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `now` in crate `time` [INFO] [stdout] --> src/logger.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | let now = time::now(); [INFO] [stdout] | ^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `strftime` in crate `time` [INFO] [stdout] --> src/format.rs:32:83 [INFO] [stdout] | [INFO] [stdout] 32 | &FormatSpecifier::Timestamp(ref s) => try!(write!(f, "{}", try!(time::strftime(s, datetime)))), [INFO] [stdout] | ^^^^^^^^ not found in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseError` in crate `time` [INFO] [stdout] --> src/error.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | Parse(time::ParseError), [INFO] [stdout] | ^^^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use std::string::ParseError; [INFO] [stdout] | [INFO] [stdout] help: if you import `ParseError`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 32 - Parse(time::ParseError), [INFO] [stdout] 32 + Parse(ParseError), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseError` in crate `time` [INFO] [stdout] --> src/error.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use std::string::ParseError; [INFO] [stdout] | [INFO] [stdout] help: if you import `ParseError`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 75 - impl From for Error { [INFO] [stdout] 75 + impl From for Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParseError` in crate `time` [INFO] [stdout] --> src/error.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | fn from(e: time::ParseError) -> Self { [INFO] [stdout] | ^^^^^^^^^^ not found in `time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use std::string::ParseError; [INFO] [stdout] | [INFO] [stdout] help: if you import `ParseError`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 76 - fn from(e: time::ParseError) -> Self { [INFO] [stdout] 76 + fn from(e: ParseError) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/logger.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | let file = try!(File::create(p)); [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/logger.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | let file = try!(file); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/logger.rs:147:31 [INFO] [stdout] | [INFO] [stdout] 147 | Some(true) => try!(Self::append_file(s)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/logger.rs:149:25 [INFO] [stdout] | [INFO] [stdout] 149 | None => try!(Self::new_file(s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/logger.rs:155:25 [INFO] [stdout] | [INFO] [stdout] 155 | let r = try!(Regex::new(s).map_err(|_| Error::Config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/logger.rs:176:33 [INFO] [stdout] | [INFO] [stdout] 176 | Some(s) => f.format(try!(s.parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | &FormatSpecifier::Str(ref s) => try!(write!(f, "{}", s)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | &FormatSpecifier::Level => try!(write!(f, "{}", record.level())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:32:72 [INFO] [stdout] | [INFO] [stdout] 32 | &FormatSpecifier::Timestamp(ref s) => try!(write!(f, "{}", try!(time::strftime(s, datetime)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | &FormatSpecifier::Timestamp(ref s) => try!(write!(f, "{}", try!(time::strftime(s, datetime)))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | &FormatSpecifier::ModulePath => try!(write!(f, "{}", location.module_path())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | &FormatSpecifier::File => try!(write!(f, "{}", location.file())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:35:39 [INFO] [stdout] | [INFO] [stdout] 35 | &FormatSpecifier::Line => try!(write!(f, "{}", location.line())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | &FormatSpecifier::Message => try!(write!(f, "{}", record.args())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | try!(write!(w, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/format.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | try!(f.format(w, record, datetime)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `file_logger` (lib test) due to 6 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | fn cause(&self) -> Option<&error::Error> { [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] 24 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&error::Error> { [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] 58 | fn cause(&self) -> Option<&dyn error::Error> { [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:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | Error::Io(ref e) => e.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:53:39 [INFO] [stdout] | [INFO] [stdout] 53 | Error::Format(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `file_logger` (lib) due to 6 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f323ec570efe5e6c7b8c792d678021e58585ceccc322c60c28157999a88d0316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f323ec570efe5e6c7b8c792d678021e58585ceccc322c60c28157999a88d0316", kill_on_drop: false }` [INFO] [stdout] f323ec570efe5e6c7b8c792d678021e58585ceccc322c60c28157999a88d0316