[INFO] cloning repository https://github.com/arathunku/rjrn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arathunku/rjrn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farathunku%2Frjrn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farathunku%2Frjrn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e51230fe46485cf98303b6c4533863fcaebd92c1 [INFO] checking arathunku/rjrn against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farathunku%2Frjrn" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arathunku/rjrn on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arathunku/rjrn [INFO] finished tweaking git repo https://github.com/arathunku/rjrn [INFO] tweaked toml for git repo https://github.com/arathunku/rjrn written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/arathunku/rjrn already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 386b9d7728c11b1a20799e616aa835dfb6b92b343d4e312245629a228e83cbe1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "386b9d7728c11b1a20799e616aa835dfb6b92b343d4e312245629a228e83cbe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "386b9d7728c11b1a20799e616aa835dfb6b92b343d4e312245629a228e83cbe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "386b9d7728c11b1a20799e616aa835dfb6b92b343d4e312245629a228e83cbe1", kill_on_drop: false }` [INFO] [stdout] 386b9d7728c11b1a20799e616aa835dfb6b92b343d4e312245629a228e83cbe1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f999f517e675dc3c17cc4fb31c6d38f11e0ec6b2e5b4b50be1047bffd6e94ed [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7f999f517e675dc3c17cc4fb31c6d38f11e0ec6b2e5b4b50be1047bffd6e94ed", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking strsim v0.5.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking log v0.4.11 [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 rand v0.3.23 [INFO] [stderr] Checking uuid v0.1.18 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking docopt v0.6.86 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking rjrn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `log::LogRecord`, `log::LogMetadata`, `log::LogLevelFilter` [INFO] [stdout] --> src/simple_logger.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{self, LogRecord, LogMetadata, LogLevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `LogLevelFilter` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `LogMetadata` in the root [INFO] [stdout] | no `LogRecord` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use log::{self, Record, LogMetadata, LogLevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use log::{self, LogRecord, Metadata, LogLevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use log::{self, LogRecord, LogMetadata, LevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:130:35 [INFO] [stdout] | [INFO] [stdout] 130 | let mut journal = try!(FileJournal::bootstrap_cli()); [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/file_journal.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | let mut entries = try!(self.entries()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_journal.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | &try!(self.entries()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_journal.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | match try!(self.entries()).iter().last() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entry.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `log::LogRecord`, `log::LogMetadata`, `log::LogLevelFilter` [INFO] [stdout] --> src/simple_logger.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{self, LogRecord, LogMetadata, LogLevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `LogLevelFilter` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `LogMetadata` in the root [INFO] [stdout] | no `LogRecord` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use log::{self, Record, LogMetadata, LogLevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use log::{self, LogRecord, Metadata, LogLevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 1 | use log::{self, LogRecord, LogMetadata, LevelFilter, SetLoggerError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/config.rs:130:35 [INFO] [stdout] | [INFO] [stdout] 130 | let mut journal = try!(FileJournal::bootstrap_cli()); [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/file_journal.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | let mut entries = try!(self.entries()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_journal.rs:126:14 [INFO] [stdout] | [INFO] [stdout] 126 | &try!(self.entries()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/file_journal.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | match try!(self.entries()).iter().last() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/entry.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/config.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | match env::home_dir() { [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/config.rs:76:32 [INFO] [stdout] | [INFO] [stdout] 76 | ... Error::description(&why)) [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/config.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | ... Error::description(&why))), [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/config.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | Error::description(&why))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/file_journal.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | match env::home_dir() { [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/file_journal.rs:101:65 [INFO] [stdout] | [INFO] [stdout] 101 | Err(why) => Err(format!("Couldn't read entries {}", Error::description(&why))), [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/file_journal.rs:182:37 [INFO] [stdout] | [INFO] [stdout] 182 | ... Error::description(&why))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/config.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | match env::home_dir() { [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/config.rs:76:32 [INFO] [stdout] | [INFO] [stdout] 76 | ... Error::description(&why)) [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/config.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | ... Error::description(&why))), [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/config.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | Error::description(&why))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/file_journal.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | match env::home_dir() { [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/file_journal.rs:101:65 [INFO] [stdout] | [INFO] [stdout] 101 | Err(why) => Err(format!("Couldn't read entries {}", Error::description(&why))), [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/file_journal.rs:182:37 [INFO] [stdout] | [INFO] [stdout] 182 | ... Error::description(&why))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/journal.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | fn bootstrap_cli() -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 7 | fn bootstrap_cli() -> Result where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rjrn` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `Self` cannot be known at compilation time [INFO] [stdout] --> src/journal.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | fn bootstrap_cli() -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 7 | fn bootstrap_cli() -> Result where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7f999f517e675dc3c17cc4fb31c6d38f11e0ec6b2e5b4b50be1047bffd6e94ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f999f517e675dc3c17cc4fb31c6d38f11e0ec6b2e5b4b50be1047bffd6e94ed", kill_on_drop: false }` [INFO] [stdout] 7f999f517e675dc3c17cc4fb31c6d38f11e0ec6b2e5b4b50be1047bffd6e94ed