[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 beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandhose%2Frust-todo" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sandhose/rust-todo on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-7/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bf844ffe852db8dd79299ae2e75ca54a96ce87a561749705c67c06486f00cf7 [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" "9bf844ffe852db8dd79299ae2e75ca54a96ce87a561749705c67c06486f00cf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bf844ffe852db8dd79299ae2e75ca54a96ce87a561749705c67c06486f00cf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bf844ffe852db8dd79299ae2e75ca54a96ce87a561749705c67c06486f00cf7", kill_on_drop: false }` [INFO] [stdout] 9bf844ffe852db8dd79299ae2e75ca54a96ce87a561749705c67c06486f00cf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb9b3a9e55592128a9c125caccb78d70080a2453beda81dc9455dc38c3acf85f [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" "bb9b3a9e55592128a9c125caccb78d70080a2453beda81dc9455dc38c3acf85f", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.17 [INFO] [stderr] Checking unicode-width v0.1.3 [INFO] [stderr] Checking strsim v0.5.1 [INFO] [stderr] Checking rustc-serialize v0.3.21 [INFO] [stderr] Checking unicode-segmentation v0.1.2 [INFO] [stderr] Checking vec_map v0.6.0 [INFO] [stderr] Checking xdg v2.0.0 [INFO] [stderr] Checking term v0.2.14 [INFO] [stderr] Checking term_size v0.2.1 [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: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: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: 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: 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: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: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: 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: 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.59s [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bb9b3a9e55592128a9c125caccb78d70080a2453beda81dc9455dc38c3acf85f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb9b3a9e55592128a9c125caccb78d70080a2453beda81dc9455dc38c3acf85f", kill_on_drop: false }` [INFO] [stdout] bb9b3a9e55592128a9c125caccb78d70080a2453beda81dc9455dc38c3acf85f