[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 1.60.0 for beta-1.61-1 [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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-segmentation v0.1.2 [INFO] [stderr] Downloaded xdg v2.0.0 [INFO] [stderr] Downloaded clap v2.18.0 [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d677b62bbbc1a957a51fd4248e27008f89a530ec2889412a18a049d77d74d215 [INFO] running `Command { std: "docker" "start" "-a" "d677b62bbbc1a957a51fd4248e27008f89a530ec2889412a18a049d77d74d215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d677b62bbbc1a957a51fd4248e27008f89a530ec2889412a18a049d77d74d215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d677b62bbbc1a957a51fd4248e27008f89a530ec2889412a18a049d77d74d215", kill_on_drop: false }` [INFO] [stdout] d677b62bbbc1a957a51fd4248e27008f89a530ec2889412a18a049d77d74d215 [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6306231d061e2cea166183b381748ed8e6e6a6f7c4dfb1a9ede9607544e382d [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" "a6306231d061e2cea166183b381748ed8e6e6a6f7c4dfb1a9ede9607544e382d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.17 [INFO] [stderr] Compiling rustc-serialize v0.3.21 [INFO] [stderr] Compiling xdg v2.0.0 [INFO] [stderr] Compiling term v0.2.14 [INFO] [stderr] Compiling term_size v0.2.1 [INFO] [stderr] Compiling clap v2.18.0 [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: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: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: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: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: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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 161 + fn cause(&self) -> Option<&dyn error::Error> { [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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.28s [INFO] running `Command { std: "docker" "inspect" "a6306231d061e2cea166183b381748ed8e6e6a6f7c4dfb1a9ede9607544e382d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6306231d061e2cea166183b381748ed8e6e6a6f7c4dfb1a9ede9607544e382d", kill_on_drop: false }` [INFO] [stdout] a6306231d061e2cea166183b381748ed8e6e6a6f7c4dfb1a9ede9607544e382d [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4afd72f9e9d2cc0ed6da6b94d7e012a78997250a523f4ea3c714b39cd4f3b112 [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" "4afd72f9e9d2cc0ed6da6b94d7e012a78997250a523f4ea3c714b39cd4f3b112", 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: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: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: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: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: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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 161 + fn cause(&self) -> Option<&dyn error::Error> { [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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.63s [INFO] running `Command { std: "docker" "inspect" "4afd72f9e9d2cc0ed6da6b94d7e012a78997250a523f4ea3c714b39cd4f3b112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4afd72f9e9d2cc0ed6da6b94d7e012a78997250a523f4ea3c714b39cd4f3b112", kill_on_drop: false }` [INFO] [stdout] 4afd72f9e9d2cc0ed6da6b94d7e012a78997250a523f4ea3c714b39cd4f3b112 [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 286e65b5488f1fd19a461f2697a4a50d813fa2d252396214b3ff062c87d870b2 [INFO] running `Command { std: "docker" "start" "-a" "286e65b5488f1fd19a461f2697a4a50d813fa2d252396214b3ff062c87d870b2", 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: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: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: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: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: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] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 161 - fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] 161 + fn cause(&self) -> Option<&dyn error::Error> { [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: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: `todo` (bin "todo" test) generated 19 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/todo-444b9c03efe83fa0) [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" "286e65b5488f1fd19a461f2697a4a50d813fa2d252396214b3ff062c87d870b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "286e65b5488f1fd19a461f2697a4a50d813fa2d252396214b3ff062c87d870b2", kill_on_drop: false }` [INFO] [stdout] 286e65b5488f1fd19a461f2697a4a50d813fa2d252396214b3ff062c87d870b2