[INFO] cloning repository https://github.com/harpocrates/notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harpocrates/notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharpocrates%2Fnotes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharpocrates%2Fnotes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2ffd5908b2c7e79ea2a96ac32936618e507c0be [INFO] checking harpocrates/notes against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharpocrates%2Fnotes" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/harpocrates/notes 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/harpocrates/notes [INFO] finished tweaking git repo https://github.com/harpocrates/notes [INFO] tweaked toml for git repo https://github.com/harpocrates/notes written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/harpocrates/notes 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] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 910ab9acae3348988a84c926a145d68d3e20e91763f2597197c2bb8eb6c74981 [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" "910ab9acae3348988a84c926a145d68d3e20e91763f2597197c2bb8eb6c74981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "910ab9acae3348988a84c926a145d68d3e20e91763f2597197c2bb8eb6c74981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "910ab9acae3348988a84c926a145d68d3e20e91763f2597197c2bb8eb6c74981", kill_on_drop: false }` [INFO] [stdout] 910ab9acae3348988a84c926a145d68d3e20e91763f2597197c2bb8eb6c74981 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 662e5f22031aff49cfcf53deb93f13e546dead54a95430f9f6660e473ad118c3 [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" "662e5f22031aff49cfcf53deb93f13e546dead54a95430f9f6660e473ad118c3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking open v1.4.0 [INFO] [stderr] Checking inotify v0.2.3 [INFO] [stderr] Checking filetime v0.1.15 [INFO] [stderr] Checking walkdir v0.1.8 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking notify v2.6.3 [INFO] [stderr] Checking notes v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `bincode::rustc_serialize` [INFO] [stdout] --> src/cli.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use bincode::rustc_serialize::{encode_into, decode_from}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `rustc_serialize` in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bincode::SizeLimit` [INFO] [stdout] --> src/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bincode::SizeLimit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `SizeLimit` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bincode::rustc_serialize` [INFO] [stdout] --> src/cli.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use bincode::rustc_serialize::{encode_into, decode_from}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `rustc_serialize` in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `bincode::SizeLimit` [INFO] [stdout] --> src/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bincode::SizeLimit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `SizeLimit` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | let mut file = try!(File::open(location).map_err(|_| Error::OpenCache)); [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/cli.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let mut file = try!(File::create(location).map_err(|_| Error::CreateCache)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let mut home = try!(env::home_dir().ok_or(Error::HomeDir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | let mut home = try!(env::home_dir().ok_or(Error::HomeDir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | let cache = try!(load_from_default_cache()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | let old_cache = try!(load_from_default_cache()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:140:3 [INFO] [stdout] | [INFO] [stdout] 140 | try!(write_to_default_cache(&new_cache)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | let body = try!(note::sanitize_path(matches.value_of("body").unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | try!(write_to_default_cache(&cache)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | let mut cache = try!(load_from_default_cache()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 185 | let old_note = try!(usize::from_str_radix(matches.value_of("id").unwrap(),16) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:192:24 [INFO] [stdout] | [INFO] [stdout] 192 | Some(body) => Some(try!(note::sanitize_path(body))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 209 | try!(write_to_default_cache(&cache)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:222:15 [INFO] [stdout] | [INFO] [stdout] 222 | let cache = try!(load_from_default_cache()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | let mut file = try!(File::create(patharg).map_err(|_| Error::CreateExport)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:235:34 [INFO] [stdout] | [INFO] [stdout] 235 | let to_save: Vec = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:239:18 [INFO] [stdout] | [INFO] [stdout] 239 | let path = try!(canonicalize(patharg).map_err(|_| Error::Canonicalize(String::from(patharg)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | let encoded = try!(json::encode(&to_save).map_err(|_| Error::JsonEncode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:266:3 [INFO] [stdout] | [INFO] [stdout] 266 | try!(file.write(encoded.as_bytes()).map_err(|_| Error::WriteExport)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:300:18 [INFO] [stdout] | [INFO] [stdout] 300 | let mut file = try!(File::open(patharg).map_err(|_| Error::ReadExport)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:302:3 [INFO] [stdout] | [INFO] [stdout] 302 | try!(file.read_to_string(&mut data).map_err(|_| Error::ReadExport)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:304:36 [INFO] [stdout] | [INFO] [stdout] 304 | let to_import: Vec = try!(json::decode(&data).map_err(|_| Error::JsonDecode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | let path = try!(canonicalize(path1).map_err(|_| Error::Canonicalize(String::from(patharg)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:316:20 [INFO] [stdout] | [INFO] [stdout] 316 | String::from(try!(path.to_str().ok_or(Error::Canonicalize(String::from(patharg))))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:327:3 [INFO] [stdout] | [INFO] [stdout] 327 | try!(write_to_default_cache(&cache)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/cli.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{Read, Write}; [INFO] [stdout] | ----- the item `Write` is already imported here [INFO] [stdout] ... [INFO] [stdout] 106 | use std::io::{stdin,stdout,Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/cli.rs:275:32 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{Read, Write}; [INFO] [stdout] | ----- the item `Write` is already imported here [INFO] [stdout] ... [INFO] [stdout] 275 | use std::io::{stdin,stdout,Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | let mut file = try!(File::open(location).map_err(|_| Error::OpenCache)); [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/cli.rs:25:18 [INFO] [stdout] | [INFO] [stdout] 25 | let mut file = try!(File::create(location).map_err(|_| Error::CreateCache)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let mut home = try!(env::home_dir().ok_or(Error::HomeDir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | let mut home = try!(env::home_dir().ok_or(Error::HomeDir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:48:15 [INFO] [stdout] | [INFO] [stdout] 48 | let cache = try!(load_from_default_cache()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | let old_cache = try!(load_from_default_cache()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:140:3 [INFO] [stdout] | [INFO] [stdout] 140 | try!(write_to_default_cache(&new_cache)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:151:14 [INFO] [stdout] | [INFO] [stdout] 151 | let body = try!(note::sanitize_path(matches.value_of("body").unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:171:3 [INFO] [stdout] | [INFO] [stdout] 171 | try!(write_to_default_cache(&cache)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | let mut cache = try!(load_from_default_cache()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 185 | let old_note = try!(usize::from_str_radix(matches.value_of("id").unwrap(),16) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:192:24 [INFO] [stdout] | [INFO] [stdout] 192 | Some(body) => Some(try!(note::sanitize_path(body))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 209 | try!(write_to_default_cache(&cache)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:222:15 [INFO] [stdout] | [INFO] [stdout] 222 | let cache = try!(load_from_default_cache()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | let mut file = try!(File::create(patharg).map_err(|_| Error::CreateExport)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:235:34 [INFO] [stdout] | [INFO] [stdout] 235 | let to_save: Vec = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:239:18 [INFO] [stdout] | [INFO] [stdout] 239 | let path = try!(canonicalize(patharg).map_err(|_| Error::Canonicalize(String::from(patharg)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | let encoded = try!(json::encode(&to_save).map_err(|_| Error::JsonEncode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:266:3 [INFO] [stdout] | [INFO] [stdout] 266 | try!(file.write(encoded.as_bytes()).map_err(|_| Error::WriteExport)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:300:18 [INFO] [stdout] | [INFO] [stdout] 300 | let mut file = try!(File::open(patharg).map_err(|_| Error::ReadExport)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:302:3 [INFO] [stdout] | [INFO] [stdout] 302 | try!(file.read_to_string(&mut data).map_err(|_| Error::ReadExport)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:304:36 [INFO] [stdout] | [INFO] [stdout] 304 | let to_import: Vec = try!(json::decode(&data).map_err(|_| Error::JsonDecode)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:314:18 [INFO] [stdout] | [INFO] [stdout] 314 | let path = try!(canonicalize(path1).map_err(|_| Error::Canonicalize(String::from(patharg)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:316:20 [INFO] [stdout] | [INFO] [stdout] 316 | String::from(try!(path.to_str().ok_or(Error::Canonicalize(String::from(patharg))))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:327:3 [INFO] [stdout] | [INFO] [stdout] 327 | try!(write_to_default_cache(&cache)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/cli.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{Read, Write}; [INFO] [stdout] | ----- the item `Write` is already imported here [INFO] [stdout] ... [INFO] [stdout] 106 | use std::io::{stdin,stdout,Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Write` is imported redundantly [INFO] [stdout] --> src/cli.rs:275:32 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::{Read, Write}; [INFO] [stdout] | ----- the item `Write` is already imported here [INFO] [stdout] ... [INFO] [stdout] 275 | use std::io::{stdin,stdout,Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/cli.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | let mut home = try!(env::home_dir().ok_or(Error::HomeDir)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/cli.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | let mut home = try!(env::home_dir().ok_or(Error::HomeDir)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/cli.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | let mut home = try!(env::home_dir().ok_or(Error::HomeDir)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/cli.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | let mut home = try!(env::home_dir().ok_or(Error::HomeDir)); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `notes` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "662e5f22031aff49cfcf53deb93f13e546dead54a95430f9f6660e473ad118c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "662e5f22031aff49cfcf53deb93f13e546dead54a95430f9f6660e473ad118c3", kill_on_drop: false }` [INFO] [stdout] 662e5f22031aff49cfcf53deb93f13e546dead54a95430f9f6660e473ad118c3