[INFO] cloning repository https://github.com/sandhose/rust-todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sandhose/rust-todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandhose%2Frust-todo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandhose%2Frust-todo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c058b04a64b0b8433d51d8a6c70e71a046369fb9 [INFO] checking sandhose/rust-todo against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandhose%2Frust-todo" "/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/sandhose/rust-todo on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sandhose/rust-todo [INFO] finished tweaking git repo https://github.com/sandhose/rust-todo [INFO] tweaked toml for git repo https://github.com/sandhose/rust-todo written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/sandhose/rust-todo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-segmentation v0.1.2 [INFO] [stderr] Downloaded unicode-width v0.1.3 [INFO] [stderr] Downloaded strsim v0.5.1 [INFO] [stderr] Downloaded term_size v0.2.1 [INFO] [stderr] Downloaded clap v2.18.0 [INFO] [stderr] Downloaded xdg v2.0.0 [INFO] [stderr] Downloaded vec_map v0.6.0 [INFO] [stderr] Downloaded term v0.2.14 [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a13b7099624e5960e7641c57b23648620b78f0d69daab9e1968b8f124d4e75c4 [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" "a13b7099624e5960e7641c57b23648620b78f0d69daab9e1968b8f124d4e75c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a13b7099624e5960e7641c57b23648620b78f0d69daab9e1968b8f124d4e75c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a13b7099624e5960e7641c57b23648620b78f0d69daab9e1968b8f124d4e75c4", kill_on_drop: false }` [INFO] [stdout] a13b7099624e5960e7641c57b23648620b78f0d69daab9e1968b8f124d4e75c4 [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7213c64b5769abcde54cd090d009dbebdf6d2dcce8aa62eb56ba04d96fd762f [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" "f7213c64b5769abcde54cd090d009dbebdf6d2dcce8aa62eb56ba04d96fd762f", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking libc v0.2.17 [INFO] [stderr] Checking rustc-serialize v0.3.21 [INFO] [stderr] Checking xdg v2.0.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking term_size v0.2.1 [INFO] [stderr] Checking term v0.2.14 [INFO] [stderr] Checking clap v2.18.0 [INFO] [stderr] Checking toml v0.2.1 [INFO] [stderr] Checking todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/todo/list.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut file = try!(File::open(path).map_err(Error::IOError)); [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/todo/list.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | try!(file.read_to_string(&mut r).map_err(Error::IOError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/todo/list.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | let mut file: File = try!(File::create(path).map_err(Error::IOError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/todo/list.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | try!(self.encode(&mut encoder).map_err(Error::EncodeError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/todo/list.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | let path = try!(Self::get_default_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/todo/list.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 161 | 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 macro `try`: use the `?` operator instead [INFO] [stdout] --> src/todo/list.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let mut file = try!(File::open(path).map_err(Error::IOError)); [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/todo/list.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | try!(file.read_to_string(&mut r).map_err(Error::IOError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/todo/list.rs:110:30 [INFO] [stdout] | [INFO] [stdout] 110 | let mut file: File = try!(File::create(path).map_err(Error::IOError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/todo/list.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | try!(self.encode(&mut encoder).map_err(Error::EncodeError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/todo/list.rs:117:20 [INFO] [stdout] | [INFO] [stdout] 117 | let path = try!(Self::get_default_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/todo/list.rs:161:32 [INFO] [stdout] | [INFO] [stdout] 161 | 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 associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/todo/list.rs:150:57 [INFO] [stdout] | [INFO] [stdout] 150 | Error::BaseDirectoriesError(ref err) => err.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/todo/list.rs:150:57 [INFO] [stdout] | [INFO] [stdout] 150 | Error::BaseDirectoriesError(ref err) => err.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/todo/list.rs:151:48 [INFO] [stdout] | [INFO] [stdout] 151 | Error::DecodeError(ref err) => err.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/todo/list.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 152 | Error::EncodeError(ref err) => err.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/todo/list.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | Error::IOError(ref err) => err.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/todo/list.rs:155:47 [INFO] [stdout] | [INFO] [stdout] 155 | Some(&(_, _, ref err)) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/todo/list.rs:167:90 [INFO] [stdout] | [INFO] [stdout] 167 | Error::ParserError(ref errs) => errs.first().and_then(|&(_, _, ref err)| err.cause()), [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/todo/list.rs:151:48 [INFO] [stdout] | [INFO] [stdout] 151 | Error::DecodeError(ref err) => err.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/todo/list.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 152 | Error::EncodeError(ref err) => err.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/todo/list.rs:153:44 [INFO] [stdout] | [INFO] [stdout] 153 | Error::IOError(ref err) => err.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/todo/list.rs:155:47 [INFO] [stdout] | [INFO] [stdout] 155 | Some(&(_, _, ref err)) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/todo/list.rs:167:90 [INFO] [stdout] | [INFO] [stdout] 167 | Error::ParserError(ref errs) => errs.first().and_then(|&(_, _, ref err)| err.cause()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_todo` [INFO] [stdout] --> src/todo/list.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn find_todo(&self, todo: &Todo) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/todo/list.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/todo/list.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn save(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_todo` [INFO] [stdout] --> src/todo/list.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn find_todo(&self, todo: &Todo) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `load` [INFO] [stdout] --> src/todo/list.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `save` [INFO] [stdout] --> src/todo/list.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn save(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.77s [INFO] running `Command { std: "docker" "inspect" "f7213c64b5769abcde54cd090d009dbebdf6d2dcce8aa62eb56ba04d96fd762f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7213c64b5769abcde54cd090d009dbebdf6d2dcce8aa62eb56ba04d96fd762f", kill_on_drop: false }` [INFO] [stdout] f7213c64b5769abcde54cd090d009dbebdf6d2dcce8aa62eb56ba04d96fd762f