[INFO] updating cached repository https://github.com/harpocrates/notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c2ffd5908b2c7e79ea2a96ac32936618e507c0be [INFO] testing harpocrates/notes against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharpocrates%2Fnotes" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/harpocrates/notes on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-7/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-7/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" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ba18696216d0a10f28edb22839107668a91e9a1b46fb4aa931d201f7b0d5766 [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" "7ba18696216d0a10f28edb22839107668a91e9a1b46fb4aa931d201f7b0d5766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ba18696216d0a10f28edb22839107668a91e9a1b46fb4aa931d201f7b0d5766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ba18696216d0a10f28edb22839107668a91e9a1b46fb4aa931d201f7b0d5766", kill_on_drop: false }` [INFO] [stdout] 7ba18696216d0a10f28edb22839107668a91e9a1b46fb4aa931d201f7b0d5766 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fbae8070dabaad9934086dc2986e88c6bf7f7ccc2494239282b8f44efa263da [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" "6fbae8070dabaad9934086dc2986e88c6bf7f7ccc2494239282b8f44efa263da", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling open v1.4.0 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling walkdir v0.1.8 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling inotify v0.2.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling filetime v0.1.15 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling clap v2.33.2 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling miow v0.1.5 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling notify v2.6.3 [INFO] [stderr] Compiling 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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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] running `Command { std: "docker" "inspect" "6fbae8070dabaad9934086dc2986e88c6bf7f7ccc2494239282b8f44efa263da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fbae8070dabaad9934086dc2986e88c6bf7f7ccc2494239282b8f44efa263da", kill_on_drop: false }` [INFO] [stdout] 6fbae8070dabaad9934086dc2986e88c6bf7f7ccc2494239282b8f44efa263da