[INFO] cloning repository https://github.com/mythmon/powar [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mythmon/powar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmythmon%2Fpowar"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmythmon%2Fpowar'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3a650b3767a518659777fdb5f6c9ec8b9ff2ec5a [INFO] checking mythmon/powar against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmythmon%2Fpowar" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mythmon/powar on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/mythmon/powar [INFO] finished tweaking git repo https://github.com/mythmon/powar [INFO] tweaked toml for git repo https://github.com/mythmon/powar written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/mythmon/powar already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5e367ecd54c81b81404a887fb9ceb2b516ef407c1880c85e073230586dea6316 [INFO] running `"docker" "start" "-a" "5e367ecd54c81b81404a887fb9ceb2b516ef407c1880c85e073230586dea6316"` [INFO] [stderr] Checking powar v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:90:21 [INFO] [stderr] | [INFO] [stderr] 90 | let mut f = try!(File::open(type_path)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | try!(f.read_to_string(&mut prop)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 92 | Ok(try!(prop.trim_right().to_string().parse::())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:100:12 [INFO] [stderr] | [INFO] [stderr] 100 | Ok(try!(self.read_prop::("type")) == "Battery") [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:38:32 [INFO] [stderr] | [INFO] [stderr] 38 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:90:21 [INFO] [stderr] | [INFO] [stderr] 90 | let mut f = try!(File::open(type_path)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | try!(f.read_to_string(&mut prop)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:92:12 [INFO] [stderr] | [INFO] [stderr] 92 | Ok(try!(prop.trim_right().to_string().parse::())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:100:12 [INFO] [stderr] | [INFO] [stderr] 100 | Ok(try!(self.read_prop::("type")) == "Battery") [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:38:32 [INFO] [stderr] | [INFO] [stderr] 38 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:45:38 [INFO] [stderr] | [INFO] [stderr] 45 | write!(formatter, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right': superseded by `trim_end` [INFO] [stderr] --> src/main.rs:92:22 [INFO] [stderr] | [INFO] [stderr] 92 | Ok(try!(prop.trim_right().to_string().parse::())) [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:45:38 [INFO] [stderr] | [INFO] [stderr] 45 | write!(formatter, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> src/main.rs:121:27 [INFO] [stderr] | [INFO] [stderr] 121 | Duration::from_millis(runtime_ms as u64) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right': superseded by `trim_end` [INFO] [stderr] --> src/main.rs:92:22 [INFO] [stderr] | [INFO] [stderr] 92 | Ok(try!(prop.trim_right().to_string().parse::())) [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 7 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error[E0606]: casting `f64` as `u64` is invalid [INFO] [stderr] --> src/main.rs:121:27 [INFO] [stderr] | [INFO] [stderr] 121 | Duration::from_millis(runtime_ms as u64) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 7 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `powar`. [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: could not compile `powar`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "5e367ecd54c81b81404a887fb9ceb2b516ef407c1880c85e073230586dea6316"` [INFO] running `"docker" "rm" "-f" "5e367ecd54c81b81404a887fb9ceb2b516ef407c1880c85e073230586dea6316"` [INFO] [stdout] 5e367ecd54c81b81404a887fb9ceb2b516ef407c1880c85e073230586dea6316