[INFO] fetching crate ykcryptsetup 0.1.0... [INFO] checking ykcryptsetup-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate ykcryptsetup 0.1.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate ykcryptsetup 0.1.0 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 crates.io crate ykcryptsetup 0.1.0 [INFO] finished tweaking crates.io crate ykcryptsetup 0.1.0 [INFO] tweaked toml for crates.io crate ykcryptsetup 0.1.0 written to /workspace/builds/worker-3/source/Cargo.toml [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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yubikey v0.3.1 [INFO] [stderr] Downloaded cryptsetup v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stdout] f7faa80512dffabe9f33e9ba91317ee80b44b9bff7adc747e70caaac64890fa1 [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" "f7faa80512dffabe9f33e9ba91317ee80b44b9bff7adc747e70caaac64890fa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7faa80512dffabe9f33e9ba91317ee80b44b9bff7adc747e70caaac64890fa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7faa80512dffabe9f33e9ba91317ee80b44b9bff7adc747e70caaac64890fa1", kill_on_drop: false }` [INFO] [stdout] f7faa80512dffabe9f33e9ba91317ee80b44b9bff7adc747e70caaac64890fa1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b2d255be26531a48e89059a65d2dd466623793dc75099d4275e8289188cc3588 [INFO] running `Command { std: "docker" "start" "-a" "b2d255be26531a48e89059a65d2dd466623793dc75099d4275e8289188cc3588", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling libusb-sys v0.2.3 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking libusb v0.2.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rust-crypto v0.2.36 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking cryptsetup v0.2.0 [INFO] [stderr] Checking yubikey v0.3.1 [INFO] [stderr] Checking ykcryptsetup v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | Ok(try!(std::str::from_utf8(&self.0[..i])).trim()) [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/main.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | i += try!(stdin.read(&mut password.0[i..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | let mut dev = try!(cryptsetup::CryptDevice::init(device_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | try!(dev.load()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 168 | let mut ctx = try!(yubikey::Context::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | let mut yubikeys = try!(yubikey::get_yubikeys(&mut ctx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | let password = try!(read_password()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:190:24 [INFO] [stdout] | [INFO] [stdout] 190 | let password = try!(password.trim()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:196:29 [INFO] [stdout] | [INFO] [stdout] 196 | let mut f = try!(File::open(salt_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | try!(f.read_exact(&mut challenge)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:225:35 [INFO] [stdout] | [INFO] [stdout] 225 | let mut rng = try!(rand::os::OsRng::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:238:37 [INFO] [stdout] | [INFO] [stdout] 238 | let mut f = try!(File::create(&tmp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | try!(f.write_all(&next_challenge)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:242:21 [INFO] [stdout] | [INFO] [stdout] 242 | try!(dev.keyslot_change_by_passphrase(Some(key_slot), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | try!(std::fs::rename(&tmp, salt_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:351:27 [INFO] [stdout] | [INFO] [stdout] 351 | let mut rng = try!(rand::os::OsRng::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:356:27 [INFO] [stdout] | [INFO] [stdout] 356 | let mut ctx = try!(yubikey::Context::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:357:32 [INFO] [stdout] | [INFO] [stdout] 357 | let mut yubikeys = try!(yubikey::get_yubikeys(&mut ctx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:363:25 [INFO] [stdout] | [INFO] [stdout] 363 | let mut h = try!(yubikeys[0].open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | try!(h.write_config(command, &mut config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:384:27 [INFO] [stdout] | [INFO] [stdout] 384 | let mut rng = try!(rand::os::OsRng::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:395:28 [INFO] [stdout] | [INFO] [stdout] 395 | let password = try!(read_password()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:396:28 [INFO] [stdout] | [INFO] [stdout] 396 | let password = try!(password.trim()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:398:27 [INFO] [stdout] | [INFO] [stdout] 398 | let mut ctx = try!(yubikey::Context::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:399:32 [INFO] [stdout] | [INFO] [stdout] 399 | let mut yubikeys = try!(yubikey::get_yubikeys(&mut ctx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:401:25 [INFO] [stdout] | [INFO] [stdout] 401 | let mut h = try!(yubikeys[0].open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:405:27 [INFO] [stdout] | [INFO] [stdout] 405 | let mut dev = try!(cryptsetup::CryptDevice::init(device_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | try!(dev.format(Parameters::Luks1 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | try!(dev.keyslot_add_by_volume_key(None, None, &scrypt_key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:421:29 [INFO] [stdout] | [INFO] [stdout] 421 | let mut f = try!(File::create(salt_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:422:17 [INFO] [stdout] | [INFO] [stdout] 422 | try!(f.write_all(&challenge)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:426:37 [INFO] [stdout] | [INFO] [stdout] 426 | ("luksOpen", Some(args)) => try!(luks_open(&args)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:442:29 [INFO] [stdout] | [INFO] [stdout] 442 | let mut f = try!(File::open(salt_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | try!(f.read_exact(&mut challenge)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:453:28 [INFO] [stdout] | [INFO] [stdout] 453 | let password = try!(read_password()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:454:28 [INFO] [stdout] | [INFO] [stdout] 454 | let password = try!(password.trim()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:456:27 [INFO] [stdout] | [INFO] [stdout] 456 | let mut ctx = try!(yubikey::Context::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:458:36 [INFO] [stdout] | [INFO] [stdout] 458 | let mut yubikeys = try!(yubikey::get_yubikeys(&mut ctx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:460:29 [INFO] [stdout] | [INFO] [stdout] 460 | let mut h = try!(yubikeys[0].open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:467:27 [INFO] [stdout] | [INFO] [stdout] 467 | let mut dev = try!(cryptsetup::CryptDevice::init(device_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | try!(dev.load()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | let next_password = try!(read_password()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:473:33 [INFO] [stdout] | [INFO] [stdout] 473 | let next_password = try!(next_password.trim()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:476:27 [INFO] [stdout] | [INFO] [stdout] 476 | let mut rng = try!(rand::os::OsRng::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:484:36 [INFO] [stdout] | [INFO] [stdout] 484 | let mut yubikeys = try!(yubikey::get_yubikeys(&mut ctx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:486:29 [INFO] [stdout] | [INFO] [stdout] 486 | let mut h = try!(yubikeys[0].open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:495:29 [INFO] [stdout] | [INFO] [stdout] 495 | let mut f = try!(File::create(&tmp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:496:17 [INFO] [stdout] | [INFO] [stdout] 496 | try!(f.write_all(&next_challenge)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:499:13 [INFO] [stdout] | [INFO] [stdout] 499 | try!(dev.keyslot_add_by_passphrase(None, &scrypt_key, &next_scrypt_key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:502:13 [INFO] [stdout] | [INFO] [stdout] 502 | try!(std::fs::rename(&tmp, new_salt_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 130 | Ok(try!(std::str::from_utf8(&self.0[..i])).trim()) [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/main.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | i += try!(stdin.read(&mut password.0[i..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | let mut dev = try!(cryptsetup::CryptDevice::init(device_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | try!(dev.load()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 168 | let mut ctx = try!(yubikey::Context::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:169:24 [INFO] [stdout] | [INFO] [stdout] 169 | let mut yubikeys = try!(yubikey::get_yubikeys(&mut ctx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | let password = try!(read_password()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:190:24 [INFO] [stdout] | [INFO] [stdout] 190 | let password = try!(password.trim()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:196:29 [INFO] [stdout] | [INFO] [stdout] 196 | let mut f = try!(File::open(salt_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | try!(f.read_exact(&mut challenge)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:225:35 [INFO] [stdout] | [INFO] [stdout] 225 | let mut rng = try!(rand::os::OsRng::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:238:37 [INFO] [stdout] | [INFO] [stdout] 238 | let mut f = try!(File::create(&tmp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:239:25 [INFO] [stdout] | [INFO] [stdout] 239 | try!(f.write_all(&next_challenge)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:242:21 [INFO] [stdout] | [INFO] [stdout] 242 | try!(dev.keyslot_change_by_passphrase(Some(key_slot), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | try!(std::fs::rename(&tmp, salt_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:351:27 [INFO] [stdout] | [INFO] [stdout] 351 | let mut rng = try!(rand::os::OsRng::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:356:27 [INFO] [stdout] | [INFO] [stdout] 356 | let mut ctx = try!(yubikey::Context::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:357:32 [INFO] [stdout] | [INFO] [stdout] 357 | let mut yubikeys = try!(yubikey::get_yubikeys(&mut ctx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:363:25 [INFO] [stdout] | [INFO] [stdout] 363 | let mut h = try!(yubikeys[0].open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | try!(h.write_config(command, &mut config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:384:27 [INFO] [stdout] | [INFO] [stdout] 384 | let mut rng = try!(rand::os::OsRng::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:395:28 [INFO] [stdout] | [INFO] [stdout] 395 | let password = try!(read_password()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:396:28 [INFO] [stdout] | [INFO] [stdout] 396 | let password = try!(password.trim()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:398:27 [INFO] [stdout] | [INFO] [stdout] 398 | let mut ctx = try!(yubikey::Context::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:399:32 [INFO] [stdout] | [INFO] [stdout] 399 | let mut yubikeys = try!(yubikey::get_yubikeys(&mut ctx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:401:25 [INFO] [stdout] | [INFO] [stdout] 401 | let mut h = try!(yubikeys[0].open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:405:27 [INFO] [stdout] | [INFO] [stdout] 405 | let mut dev = try!(cryptsetup::CryptDevice::init(device_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:406:13 [INFO] [stdout] | [INFO] [stdout] 406 | try!(dev.format(Parameters::Luks1 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | try!(dev.keyslot_add_by_volume_key(None, None, &scrypt_key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:421:29 [INFO] [stdout] | [INFO] [stdout] 421 | let mut f = try!(File::create(salt_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:422:17 [INFO] [stdout] | [INFO] [stdout] 422 | try!(f.write_all(&challenge)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:426:37 [INFO] [stdout] | [INFO] [stdout] 426 | ("luksOpen", Some(args)) => try!(luks_open(&args)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:442:29 [INFO] [stdout] | [INFO] [stdout] 442 | let mut f = try!(File::open(salt_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:443:17 [INFO] [stdout] | [INFO] [stdout] 443 | try!(f.read_exact(&mut challenge)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:453:28 [INFO] [stdout] | [INFO] [stdout] 453 | let password = try!(read_password()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:454:28 [INFO] [stdout] | [INFO] [stdout] 454 | let password = try!(password.trim()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:456:27 [INFO] [stdout] | [INFO] [stdout] 456 | let mut ctx = try!(yubikey::Context::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:458:36 [INFO] [stdout] | [INFO] [stdout] 458 | let mut yubikeys = try!(yubikey::get_yubikeys(&mut ctx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:460:29 [INFO] [stdout] | [INFO] [stdout] 460 | let mut h = try!(yubikeys[0].open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:467:27 [INFO] [stdout] | [INFO] [stdout] 467 | let mut dev = try!(cryptsetup::CryptDevice::init(device_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | try!(dev.load()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:472:33 [INFO] [stdout] | [INFO] [stdout] 472 | let next_password = try!(read_password()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:473:33 [INFO] [stdout] | [INFO] [stdout] 473 | let next_password = try!(next_password.trim()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:476:27 [INFO] [stdout] | [INFO] [stdout] 476 | let mut rng = try!(rand::os::OsRng::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:484:36 [INFO] [stdout] | [INFO] [stdout] 484 | let mut yubikeys = try!(yubikey::get_yubikeys(&mut ctx)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:486:29 [INFO] [stdout] | [INFO] [stdout] 486 | let mut h = try!(yubikeys[0].open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:495:29 [INFO] [stdout] | [INFO] [stdout] 495 | let mut f = try!(File::create(&tmp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:496:17 [INFO] [stdout] | [INFO] [stdout] 496 | try!(f.write_all(&next_challenge)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:499:13 [INFO] [stdout] | [INFO] [stdout] 499 | try!(dev.keyslot_add_by_passphrase(None, &scrypt_key, &next_scrypt_key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:502:13 [INFO] [stdout] | [INFO] [stdout] 502 | try!(std::fs::rename(&tmp, new_salt_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.77s [INFO] running `Command { std: "docker" "inspect" "b2d255be26531a48e89059a65d2dd466623793dc75099d4275e8289188cc3588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2d255be26531a48e89059a65d2dd466623793dc75099d4275e8289188cc3588", kill_on_drop: false }` [INFO] [stdout] b2d255be26531a48e89059a65d2dd466623793dc75099d4275e8289188cc3588