[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 beta-2022-04-10 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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61b367f2681ff09b3004bb0059e6694353c9e096a6fed78e9e6ee527fb37b960 [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" "61b367f2681ff09b3004bb0059e6694353c9e096a6fed78e9e6ee527fb37b960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61b367f2681ff09b3004bb0059e6694353c9e096a6fed78e9e6ee527fb37b960", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61b367f2681ff09b3004bb0059e6694353c9e096a6fed78e9e6ee527fb37b960", kill_on_drop: false }` [INFO] [stdout] 61b367f2681ff09b3004bb0059e6694353c9e096a6fed78e9e6ee527fb37b960 [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] cde135350d5e9e0131b10a2725202ba0a8204ae73673adb183473d2c14e0d2be [INFO] running `Command { std: "docker" "start" "-a" "cde135350d5e9e0131b10a2725202ba0a8204ae73673adb183473d2c14e0d2be", 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 21.02s [INFO] running `Command { std: "docker" "inspect" "cde135350d5e9e0131b10a2725202ba0a8204ae73673adb183473d2c14e0d2be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cde135350d5e9e0131b10a2725202ba0a8204ae73673adb183473d2c14e0d2be", kill_on_drop: false }` [INFO] [stdout] cde135350d5e9e0131b10a2725202ba0a8204ae73673adb183473d2c14e0d2be [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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", 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] 360df634bf90466babb5c831b65792e903b24c3ae467250509b64cc2351da6ef [INFO] running `Command { std: "docker" "start" "-a" "360df634bf90466babb5c831b65792e903b24c3ae467250509b64cc2351da6ef", 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.11s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/todo-62bf3ecc93c031f6) [INFO] running `Command { std: "docker" "inspect" "360df634bf90466babb5c831b65792e903b24c3ae467250509b64cc2351da6ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "360df634bf90466babb5c831b65792e903b24c3ae467250509b64cc2351da6ef", kill_on_drop: false }` [INFO] [stdout] 360df634bf90466babb5c831b65792e903b24c3ae467250509b64cc2351da6ef [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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8ef8c6bf2eac8477979103d20925a212e8feca995f7f559bf108d82f150d5d49 [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" "8ef8c6bf2eac8477979103d20925a212e8feca995f7f559bf108d82f150d5d49", 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 src/main.rs (/opt/rustwide/target/debug/deps/todo-62bf3ecc93c031f6) [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" "8ef8c6bf2eac8477979103d20925a212e8feca995f7f559bf108d82f150d5d49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ef8c6bf2eac8477979103d20925a212e8feca995f7f559bf108d82f150d5d49", kill_on_drop: false }` [INFO] [stdout] 8ef8c6bf2eac8477979103d20925a212e8feca995f7f559bf108d82f150d5d49