[INFO] updating cached repository https://github.com/arathunku/rjrn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e51230fe46485cf98303b6c4533863fcaebd92c1 [INFO] testing arathunku/rjrn against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farathunku%2Frjrn" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arathunku/rjrn on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-2/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b16d87a444cdb69c2379497b5ff4a44733c66d89fc47b89a93c8a0259a3fc07 [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" "9b16d87a444cdb69c2379497b5ff4a44733c66d89fc47b89a93c8a0259a3fc07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b16d87a444cdb69c2379497b5ff4a44733c66d89fc47b89a93c8a0259a3fc07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b16d87a444cdb69c2379497b5ff4a44733c66d89fc47b89a93c8a0259a3fc07", kill_on_drop: false }` [INFO] [stdout] 9b16d87a444cdb69c2379497b5ff4a44733c66d89fc47b89a93c8a0259a3fc07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20b21b70a63e26321e545fd634c7fd9eafbf7bdeeb5b5fc6cb61811fc4c84fd7 [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" "20b21b70a63e26321e545fd634c7fd9eafbf7bdeeb5b5fc6cb61811fc4c84fd7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling strsim v0.5.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling uuid v0.1.18 [INFO] [stderr] Compiling docopt v0.6.86 [INFO] [stderr] Compiling 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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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: the trait `std::marker::Sized` is not implemented for `Self` [INFO] [stdout] = note: to learn more, visit [INFO] [stdout] help: consider further restricting `Self` [INFO] [stdout] | [INFO] [stdout] 7 | fn bootstrap_cli() -> Result where Self: std::marker::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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "20b21b70a63e26321e545fd634c7fd9eafbf7bdeeb5b5fc6cb61811fc4c84fd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20b21b70a63e26321e545fd634c7fd9eafbf7bdeeb5b5fc6cb61811fc4c84fd7", kill_on_drop: false }` [INFO] [stdout] 20b21b70a63e26321e545fd634c7fd9eafbf7bdeeb5b5fc6cb61811fc4c84fd7