[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharpocrates%2Fnotes" "/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/harpocrates/notes on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-6/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-6/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded open v1.6.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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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] 62aebb6a7e59cb09eb0c9bacd784ea1072a1dbcde509841640e837a5b98e1014 [INFO] running `Command { std: "docker" "start" "-a" "62aebb6a7e59cb09eb0c9bacd784ea1072a1dbcde509841640e837a5b98e1014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62aebb6a7e59cb09eb0c9bacd784ea1072a1dbcde509841640e837a5b98e1014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62aebb6a7e59cb09eb0c9bacd784ea1072a1dbcde509841640e837a5b98e1014", kill_on_drop: false }` [INFO] [stdout] 62aebb6a7e59cb09eb0c9bacd784ea1072a1dbcde509841640e837a5b98e1014 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c21394abd3dfbe89bbbceef80496837e7c04f32f054a90a6d11776bd15151571 [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" "c21394abd3dfbe89bbbceef80496837e7c04f32f054a90a6d11776bd15151571", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking walkdir v0.1.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking inotify v0.2.3 [INFO] [stderr] Checking filetime v0.1.15 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking miow v0.1.5 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking mio v0.5.1 [INFO] [stderr] Checking notify v2.6.3 [INFO] [stderr] Checking bincode v1.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking which v4.0.2 [INFO] [stderr] Checking open v1.6.0 [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] 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: 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: 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: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] 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: 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: 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: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] 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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c21394abd3dfbe89bbbceef80496837e7c04f32f054a90a6d11776bd15151571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c21394abd3dfbe89bbbceef80496837e7c04f32f054a90a6d11776bd15151571", kill_on_drop: false }` [INFO] [stdout] c21394abd3dfbe89bbbceef80496837e7c04f32f054a90a6d11776bd15151571