[INFO] fetching crate file_logger 0.1.0... [INFO] testing file_logger-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate file_logger 0.1.0 into /workspace/builds/worker-27/source [INFO] validating manifest of crates.io crate file_logger 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking 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-27/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.1.30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0203b66671eb9796936cd917f1c1a8c5c29e5cc9e32962a7db8b4843c2fe9ecb [INFO] running `Command { std: "docker" "start" "-a" "0203b66671eb9796936cd917f1c1a8c5c29e5cc9e32962a7db8b4843c2fe9ecb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0203b66671eb9796936cd917f1c1a8c5c29e5cc9e32962a7db8b4843c2fe9ecb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0203b66671eb9796936cd917f1c1a8c5c29e5cc9e32962a7db8b4843c2fe9ecb", kill_on_drop: false }` [INFO] [stdout] 0203b66671eb9796936cd917f1c1a8c5c29e5cc9e32962a7db8b4843c2fe9ecb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6e74b1bddba26f622dd500e4eefe43f55c6b106a96db7c1d2d26702daa3bce9 [INFO] running `Command { std: "docker" "start" "-a" "e6e74b1bddba26f622dd500e4eefe43f55c6b106a96db7c1d2d26702daa3bce9", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling toml v0.1.30 [INFO] [stderr] Compiling 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] [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] [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] [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: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: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: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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - fn cause(&self) -> Option<&error::Error> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 58 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 58 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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 associated function `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: aborting due to 6 previous errors; 20 warnings emitted [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` due to 7 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e6e74b1bddba26f622dd500e4eefe43f55c6b106a96db7c1d2d26702daa3bce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6e74b1bddba26f622dd500e4eefe43f55c6b106a96db7c1d2d26702daa3bce9", kill_on_drop: false }` [INFO] [stdout] e6e74b1bddba26f622dd500e4eefe43f55c6b106a96db7c1d2d26702daa3bce9