[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] testing sandhose/rust-todo against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandhose%2Frust-todo" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sandhose/rust-todo on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-6/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v2.18.0 [INFO] [stderr] Downloaded strsim v0.5.1 [INFO] [stderr] Downloaded unicode-segmentation v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95a1d60f27b236414cbb82595d23691b55ec8e457fa384f4b9dd432764c0e2ce [INFO] running `Command { std: "docker" "start" "-a" "95a1d60f27b236414cbb82595d23691b55ec8e457fa384f4b9dd432764c0e2ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95a1d60f27b236414cbb82595d23691b55ec8e457fa384f4b9dd432764c0e2ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95a1d60f27b236414cbb82595d23691b55ec8e457fa384f4b9dd432764c0e2ce", kill_on_drop: false }` [INFO] [stdout] 95a1d60f27b236414cbb82595d23691b55ec8e457fa384f4b9dd432764c0e2ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99ce4eac49b4b7c40ff3a381f6f68bd84b98a6d634bd05bc4af34c0fed346ee6 [INFO] running `Command { std: "docker" "start" "-a" "99ce4eac49b4b7c40ff3a381f6f68bd84b98a6d634bd05bc4af34c0fed346ee6", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling libc v0.2.17 [INFO] [stderr] Compiling strsim v0.5.1 [INFO] [stderr] Compiling unicode-segmentation v0.1.2 [INFO] [stderr] Compiling unicode-width v0.1.3 [INFO] [stderr] Compiling vec_map v0.6.0 [INFO] [stderr] Compiling rustc-serialize v0.3.21 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling xdg v2.0.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling term_size v0.2.1 [INFO] [stderr] Compiling clap v2.18.0 [INFO] [stderr] Compiling term v0.2.14 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/todo/todo.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, RustcEncodable, RustcDecodable, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/todo/todo.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, RustcEncodable, RustcDecodable, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/todo/list.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, RustcEncodable, RustcDecodable, Clone, PartialEq, Eq, Hash, PartialOrd)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/todo/list.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, RustcEncodable, RustcDecodable, Clone, PartialEq, Eq, Hash, PartialOrd)] [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] [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.65s [INFO] running `Command { std: "docker" "inspect" "99ce4eac49b4b7c40ff3a381f6f68bd84b98a6d634bd05bc4af34c0fed346ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99ce4eac49b4b7c40ff3a381f6f68bd84b98a6d634bd05bc4af34c0fed346ee6", kill_on_drop: false }` [INFO] [stdout] 99ce4eac49b4b7c40ff3a381f6f68bd84b98a6d634bd05bc4af34c0fed346ee6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02f44ec8426cee558b5717f69420001b242b0ff2e64d665b6368f97c2065ca7c [INFO] running `Command { std: "docker" "start" "-a" "02f44ec8426cee558b5717f69420001b242b0ff2e64d665b6368f97c2065ca7c", kill_on_drop: false }` [INFO] [stderr] Compiling todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/todo/todo.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, RustcEncodable, RustcDecodable, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/todo/todo.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, RustcEncodable, RustcDecodable, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/todo/list.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, RustcEncodable, RustcDecodable, Clone, PartialEq, Eq, Hash, PartialOrd)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/todo/list.rs:16:33 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, RustcEncodable, RustcDecodable, Clone, PartialEq, Eq, Hash, PartialOrd)] [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] [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "02f44ec8426cee558b5717f69420001b242b0ff2e64d665b6368f97c2065ca7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02f44ec8426cee558b5717f69420001b242b0ff2e64d665b6368f97c2065ca7c", kill_on_drop: false }` [INFO] [stdout] 02f44ec8426cee558b5717f69420001b242b0ff2e64d665b6368f97c2065ca7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e10c16730ab895895e9bfe9bea67046939246af55c0bed56ea591465694c9dde [INFO] running `Command { std: "docker" "start" "-a" "e10c16730ab895895e9bfe9bea67046939246af55c0bed56ea591465694c9dde", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/todo/todo.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, RustcEncodable, RustcDecodable, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/todo/todo.rs:4:33 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug, RustcEncodable, RustcDecodable, Clone, PartialEq, Eq, Hash, PartialOrd, Ord)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/todo/list.rs:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Debug, RustcEncodable, RustcDecodable, Clone, PartialEq, Eq, Hash, PartialOrd)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stderr] --> src/todo/list.rs:16:33 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Debug, RustcEncodable, RustcDecodable, Clone, PartialEq, Eq, Hash, PartialOrd)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/todo/list.rs:83:24 [INFO] [stderr] | [INFO] [stderr] 83 | let mut file = try!(File::open(path).map_err(Error::IOError)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/todo/list.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | try!(file.read_to_string(&mut r).map_err(Error::IOError)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/todo/list.rs:110:30 [INFO] [stderr] | [INFO] [stderr] 110 | let mut file: File = try!(File::create(path).map_err(Error::IOError)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/todo/list.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | try!(self.encode(&mut encoder).map_err(Error::EncodeError)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/todo/list.rs:117:20 [INFO] [stderr] | [INFO] [stderr] 117 | let path = try!(Self::get_default_path()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/todo/list.rs:161:32 [INFO] [stderr] | [INFO] [stderr] 161 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/todo/list.rs:150:57 [INFO] [stderr] | [INFO] [stderr] 150 | Error::BaseDirectoriesError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/todo/list.rs:151:48 [INFO] [stderr] | [INFO] [stderr] 151 | Error::DecodeError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/todo/list.rs:152:48 [INFO] [stderr] | [INFO] [stderr] 152 | Error::EncodeError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/todo/list.rs:153:44 [INFO] [stderr] | [INFO] [stderr] 153 | Error::IOError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/todo/list.rs:155:47 [INFO] [stderr] | [INFO] [stderr] 155 | Some(&(_, _, ref err)) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/todo/list.rs:167:90 [INFO] [stderr] | [INFO] [stderr] 167 | Error::ParserError(ref errs) => errs.first().and_then(|&(_, _, ref err)| err.cause()), [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find_todo` [INFO] [stderr] --> src/todo/list.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn find_todo(&self, todo: &Todo) -> Option { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `load` [INFO] [stderr] --> src/todo/list.rs:104:12 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn load() -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `save` [INFO] [stderr] --> src/todo/list.rs:116:12 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn save(&self) -> Result<(), Error> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: 19 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/todo-0486f0f2e17cda00) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e10c16730ab895895e9bfe9bea67046939246af55c0bed56ea591465694c9dde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e10c16730ab895895e9bfe9bea67046939246af55c0bed56ea591465694c9dde", kill_on_drop: false }` [INFO] [stdout] e10c16730ab895895e9bfe9bea67046939246af55c0bed56ea591465694c9dde