[INFO] fetching crate kic 0.1.1... [INFO] checking kic-0.1.1 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate kic 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate kic 0.1.1 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kic 0.1.1 [INFO] finished tweaking crates.io crate kic 0.1.1 [INFO] tweaked toml for crates.io crate kic 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages [INFO] [stderr] Adding aho-corasick v0.5.3 (latest: v1.1.3) [INFO] [stderr] Adding chrono v0.2.25 (latest: v0.4.37) [INFO] [stderr] Adding memchr v0.1.11 (latest: v2.7.2) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.1) [INFO] [stderr] Adding regex v0.1.80 (latest: v1.10.4) [INFO] [stderr] Adding regex-syntax v0.3.9 (latest: v0.8.3) [INFO] [stderr] Adding thread-id v2.0.0 (latest: v4.2.1) [INFO] [stderr] Adding thread_local v0.2.7 (latest: v1.1.8) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.34) [INFO] [stderr] Adding toml v0.1.30 (latest: v0.8.12) [INFO] [stderr] Adding utf8-ranges v0.1.3 (latest: v1.0.5) [INFO] [stderr] Adding walkdir v0.1.8 (latest: v2.5.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded walkdir v0.1.8 [INFO] [stderr] Downloaded chrono v0.2.25 [INFO] [stderr] Downloaded toml v0.1.30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c1b66743cc0f86509e99e7ff50f2354c747b4f860fde068f0d2a21390672169 [INFO] running `Command { std: "docker" "start" "-a" "4c1b66743cc0f86509e99e7ff50f2354c747b4f860fde068f0d2a21390672169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c1b66743cc0f86509e99e7ff50f2354c747b4f860fde068f0d2a21390672169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c1b66743cc0f86509e99e7ff50f2354c747b4f860fde068f0d2a21390672169", kill_on_drop: false }` [INFO] [stdout] 4c1b66743cc0f86509e99e7ff50f2354c747b4f860fde068f0d2a21390672169 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 932d427f22cee9227205cd8be3096cd7ab70f2a17a7c13141779c9b31ffdd951 [INFO] running `Command { std: "docker" "start" "-a" "932d427f22cee9227205cd8be3096cd7ab70f2a17a7c13141779c9b31ffdd951", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking walkdir v0.1.8 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking toml v0.1.30 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking kic v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: argument must be of the form: `expected = "error message"` [INFO] [stdout] --> src/lib/fs.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | #[should_panic(expect = "entered unreachable code")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: errors in this attribute were erroneously allowed and will become a hard error in a future release [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: argument must be of the form: `expected = "error message"` [INFO] [stdout] --> src/lib/setting/config.rs:603:5 [INFO] [stdout] | [INFO] [stdout] 603 | #[should_panic(expect = "entered unreachable code")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: errors in this attribute were erroneously allowed and will become a hard error in a future release [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: argument must be of the form: `expected = "error message"` [INFO] [stdout] --> src/lib/setting/config.rs:608:5 [INFO] [stdout] | [INFO] [stdout] 608 | #[should_panic(expect = "entered unreachable code")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: errors in this attribute were erroneously allowed and will become a hard error in a future release [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: argument must be of the form: `expected = "error message"` [INFO] [stdout] --> src/lib/setting/config.rs:613:5 [INFO] [stdout] | [INFO] [stdout] 613 | #[should_panic(expect = "entered unreachable code")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: errors in this attribute were erroneously allowed and will become a hard error in a future release [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: argument must be of the form: `expected = "error message"` [INFO] [stdout] --> src/lib/setting/config.rs:629:5 [INFO] [stdout] | [INFO] [stdout] 629 | #[should_panic(expect = "entered unreachable code")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: errors in this attribute were erroneously allowed and will become a hard error in a future release [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: argument must be of the form: `expected = "error message"` [INFO] [stdout] --> src/lib/setting/cron.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | #[should_panic(expect = "entered unreachable code")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: errors in this attribute were erroneously allowed and will become a hard error in a future release [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/init.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | try!(setting::create_working_dir()); [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/command/init.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | try!(Storage::create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/init.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | try!(Config::default().create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/init.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | try!(Ignore::default().create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/config.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | try!(config.create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/config.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let key = try!(setting::ConfigKey::from(key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/config.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let config = try!(setting::Config::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/config.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | let config = try!(config.set(key, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/ignore.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let ignore = try!(setting::Ignore::read()).add(paths); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/ignore.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let ignore = try!(setting::Ignore::read()).remove(paths); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | try!(storage.create_box()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(storage.squeeze_dusts(&target_files)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | let config = try!(Config::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | let moratorium = try!(config.get(ConfigKey::SweepMoratorium)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let ignore = try!(Ignore::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/burn.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | try!(storage.create_box()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/init.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | try!(setting::create_working_dir()); [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/command/burn.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | try!(storage.delete_expired_boxes(moratorium)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/burn.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let config = try!(Config::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/init.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | try!(Storage::create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/burn.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | let raw_moratorium = try!(config.get(ConfigKey::BurnMoratorium)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/start.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let cron = try!(Cron::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/init.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | try!(Config::default().create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/start.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | let config = try!(Config::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/init.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | try!(Ignore::default().create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/start.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | let day_and_month = match try!(config.get(ConfigKey::SweepPeriod)).as_ref() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/start.rs:26:57 [INFO] [stdout] | [INFO] [stdout] 26 | let (hour, minute) = Config::to_hour_and_minute(try!(config.get(ConfigKey::SweepTime))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/config.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | try!(config.create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/end.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let mut cron = try!(Cron::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/config.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let key = try!(setting::ConfigKey::from(key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/end.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let current_dir = try!(Cron::current_dir_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/config.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let config = try!(setting::Config::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/destroy.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | try!(setting::delete_working_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/patrol.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let cron = try!(Cron::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/config.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | let config = try!(config.set(key, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/patrol.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let cron = try!(cron.discard()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/ignore.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let ignore = try!(setting::Ignore::read()).add(paths); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let current_dir = try!(env::current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | try!(self.check_current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/ignore.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let ignore = try!(setting::Ignore::read()).remove(paths); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | try!(self.check_settings()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | try!(storage.create_box()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let input = try!(read_line_from_stdin()).to_lowercase(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(storage.squeeze_dusts(&target_files)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | "y" | "yes" => try!(danger_exec()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | let command = try!(args.next().ok_or(Usage::new(UsageKind::Nothing))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | let config = try!(Config::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | (try!(args.next().ok_or(Usage::new(UsageKind::Help))), true) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | let moratorium = try!(config.get(ConfigKey::SweepMoratorium)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let ignore = try!(Ignore::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/burn.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | try!(storage.create_box()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/burn.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | try!(storage.delete_expired_boxes(moratorium)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/lib/fs.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [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/command/burn.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let config = try!(Config::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/fs.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | let dirs = try!(fs::read_dir(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/burn.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | let raw_moratorium = try!(config.get(ConfigKey::BurnMoratorium)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/start.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let cron = try!(Cron::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BTreeSet` is imported redundantly [INFO] [stdout] --> src/lib/fs.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 205 | use super::*; [INFO] [stdout] | -------- the item `BTreeSet` is already imported here [INFO] [stdout] 206 | [INFO] [stdout] 207 | use std::collections::BTreeSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/start.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | let config = try!(Config::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs` is imported redundantly [INFO] [stdout] --> src/lib/fs.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 205 | use super::*; [INFO] [stdout] | -------- the item `fs` is already imported here [INFO] [stdout] ... [INFO] [stdout] 208 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/start.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | let day_and_month = match try!(config.get(ConfigKey::SweepPeriod)).as_ref() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/lib/fs.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 205 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] ... [INFO] [stdout] 210 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/lib/fs.rs:210:27 [INFO] [stdout] | [INFO] [stdout] 205 | use super::*; [INFO] [stdout] | -------- the item `PathBuf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 210 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/start.rs:26:57 [INFO] [stdout] | [INFO] [stdout] 26 | let (hour, minute) = Config::to_hour_and_minute(try!(config.get(ConfigKey::SweepTime))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/end.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let mut cron = try!(Cron::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/end.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let current_dir = try!(Cron::current_dir_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/destroy.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | try!(setting::delete_working_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | try!(f.read_to_string(&mut contents)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/patrol.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let cron = try!(Cron::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | let mut f = try!(File::open(Self::path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/patrol.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let cron = try!(cron.discard()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | let value = try!(result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let current_dir = try!(env::current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | let value = try!(Self::validate(key, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | try!(self.check_current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | let mut editable = try!(EditableToml::from(self.toml)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | try!(self.check_settings()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let input = try!(read_line_from_stdin()).to_lowercase(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | "y" | "yes" => try!(danger_exec()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Duration` is imported redundantly [INFO] [stdout] --> src/lib/setting/config.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 386 | use super::*; [INFO] [stdout] | -------- the item `Duration` is already imported here [INFO] [stdout] ... [INFO] [stdout] 391 | use self::chrono::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | let command = try!(args.next().ok_or(Usage::new(UsageKind::Nothing))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Regex` is imported redundantly [INFO] [stdout] --> src/lib/setting/config.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 386 | use super::*; [INFO] [stdout] | -------- the item `Regex` is already imported here [INFO] [stdout] ... [INFO] [stdout] 392 | use self::regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | (try!(args.next().ok_or(Usage::new(UsageKind::Help))), true) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CliError` is imported redundantly [INFO] [stdout] --> src/lib/setting/config.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 386 | use super::*; [INFO] [stdout] | -------- the item `CliError` is already imported here [INFO] [stdout] ... [INFO] [stdout] 394 | use error::{CliError, ConfigError, ConfigErrorKind}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ConfigError` is imported redundantly [INFO] [stdout] --> src/lib/setting/config.rs:394:27 [INFO] [stdout] | [INFO] [stdout] 386 | use super::*; [INFO] [stdout] | -------- the item `ConfigError` is already imported here [INFO] [stdout] ... [INFO] [stdout] 394 | use error::{CliError, ConfigError, ConfigErrorKind}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ConfigErrorKind` is imported redundantly [INFO] [stdout] --> src/lib/setting/config.rs:394:40 [INFO] [stdout] | [INFO] [stdout] 386 | use super::*; [INFO] [stdout] | -------- the item `ConfigErrorKind` is already imported here [INFO] [stdout] ... [INFO] [stdout] 394 | use error::{CliError, ConfigError, ConfigErrorKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/lib/fs.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [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/lib/fs.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | let dirs = try!(fs::read_dir(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | let exe = try!(env::current_exe()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | let exe = try!(exe.to_str().ok_or(CronError::new(CronErrorKind::BinExistsInInvalidDir))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | try!(f.read_to_string(&mut contents)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | let output = try!(result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | let mut f = try!(File::open(Self::path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(str::from_utf8(&output.stdout).map_err(|_| CronError::new(CronErrorKind::InvalidCharacterCode))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | let value = try!(result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | let current_dir = try!(Self::current_dir_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | let re = try!(Regex::new(re.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | let mut child = try!(result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:183:41 [INFO] [stdout] | [INFO] [stdout] 183 | &mut Some(ref mut stdin) => try!(stdin.write_all(contents.as_bytes())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | let output = try!(child.wait_with_output()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/ignore.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | try!(f.read_to_string(&mut contents)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/ignore.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let mut f = try!(File::open(Self::path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(fs::create_dir_all(self.path_to_dust_box())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | try!(fs::create_dir_all(&to)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | IoErrorKind::PermissionDenied => try!(self.print_and_log(" Interrupted for permission")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:129:31 [INFO] [stdout] | [INFO] [stdout] 129 | Ok(_) => try!(fs::create_dir_all(path_buf![&path_to_dust_box, path_to_dir])), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | let value = try!(Self::validate(key, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | let mut editable = try!(EditableToml::from(self.toml)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | let exe = try!(env::current_exe()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | let exe = try!(exe.to_str().ok_or(CronError::new(CronErrorKind::BinExistsInInvalidDir))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | let output = try!(result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(str::from_utf8(&output.stdout).map_err(|_| CronError::new(CronErrorKind::InvalidCharacterCode))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | let current_dir = try!(Self::current_dir_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:131:58 [INFO] [stdout] | [INFO] [stdout] 131 | IoErrorKind::PermissionDenied => try!(self.print_and_log(" Interrupted for permission")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | let re = try!(Regex::new(re.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | let mut child = try!(result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 149 | let target_boxes = try!(la(&path_to_storage)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:183:41 [INFO] [stdout] | [INFO] [stdout] 183 | &mut Some(ref mut stdin) => try!(stdin.write_all(contents.as_bytes())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | let output = try!(child.wait_with_output()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | try!(fs::remove_dir_all(target_box)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | let mut file = try!(file); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(fs::create_dir(path_to_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/mod.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut f = try!(File::create(path_to_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/ignore.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | try!(f.read_to_string(&mut contents)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/ignore.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let mut f = try!(File::open(Self::path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(fs::create_dir_all(self.path_to_dust_box())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | try!(fs::create_dir_all(&to)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | IoErrorKind::PermissionDenied => try!(self.print_and_log(" Interrupted for permission")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:129:31 [INFO] [stdout] | [INFO] [stdout] 129 | Ok(_) => try!(fs::create_dir_all(path_buf![&path_to_dust_box, path_to_dir])), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:131:58 [INFO] [stdout] | [INFO] [stdout] 131 | IoErrorKind::PermissionDenied => try!(self.print_and_log(" Interrupted for permission")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 149 | let target_boxes = try!(la(&path_to_storage)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | try!(fs::remove_dir_all(target_box)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | let mut file = try!(file); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(fs::create_dir(path_to_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/mod.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut f = try!(File::create(path_to_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:58:48 [INFO] [stdout] | [INFO] [stdout] 58 | CliError::Config(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:59:48 [INFO] [stdout] | [INFO] [stdout] 59 | CliError::Cron(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | CliError::Essential(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | CliError::Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:62:48 [INFO] [stdout] | [INFO] [stdout] 62 | CliError::ParseInt(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | CliError::ParseToml(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:64:48 [INFO] [stdout] | [INFO] [stdout] 64 | CliError::Regex(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:65:48 [INFO] [stdout] | [INFO] [stdout] 65 | CliError::RunningPlace(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | CliError::Usage(ref u) => u.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib/fs.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | .trim_right_matches(MAIN_SEPARATOR) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 76 | .trim_end_matches(MAIN_SEPARATOR) [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:58:48 [INFO] [stdout] | [INFO] [stdout] 58 | CliError::Config(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:59:48 [INFO] [stdout] | [INFO] [stdout] 59 | CliError::Cron(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | CliError::Essential(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | CliError::Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:62:48 [INFO] [stdout] | [INFO] [stdout] 62 | CliError::ParseInt(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | CliError::ParseToml(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:64:48 [INFO] [stdout] | [INFO] [stdout] 64 | CliError::Regex(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:65:48 [INFO] [stdout] | [INFO] [stdout] 65 | CliError::RunningPlace(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | CliError::Usage(ref u) => u.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib/setting/config.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | None => return unreachable!("Evil thing will occur in toml-rs!!"), [INFO] [stdout] | ^^^^^^^-------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib/fs.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | .trim_right_matches(MAIN_SEPARATOR) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 76 | .trim_end_matches(MAIN_SEPARATOR) [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/lib/setting/cron.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 148 | let re_core = format!("({})", re_core.trim_left_matches('|')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 148 | let re_core = format!("({})", re_core.trim_start_matches('|')); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib/setting/config.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | None => return unreachable!("Evil thing will occur in toml-rs!!"), [INFO] [stdout] | ^^^^^^^-------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/lib/setting/cron.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 148 | let re_core = format!("({})", re_core.trim_left_matches('|')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 148 | let re_core = format!("({})", re_core.trim_start_matches('|')); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 83 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 98 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.18s [INFO] running `Command { std: "docker" "inspect" "932d427f22cee9227205cd8be3096cd7ab70f2a17a7c13141779c9b31ffdd951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "932d427f22cee9227205cd8be3096cd7ab70f2a17a7c13141779c9b31ffdd951", kill_on_drop: false }` [INFO] [stdout] 932d427f22cee9227205cd8be3096cd7ab70f2a17a7c13141779c9b31ffdd951 [INFO] checking kic-0.1.1 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate kic 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate kic 0.1.1 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kic 0.1.1 [INFO] finished tweaking crates.io crate kic 0.1.1 [INFO] tweaked toml for crates.io crate kic 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89d97b61e9807087f3d604c16a0e6a684c3c50899808926f28e66c1ed972c577 [INFO] running `Command { std: "docker" "start" "-a" "89d97b61e9807087f3d604c16a0e6a684c3c50899808926f28e66c1ed972c577", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89d97b61e9807087f3d604c16a0e6a684c3c50899808926f28e66c1ed972c577", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89d97b61e9807087f3d604c16a0e6a684c3c50899808926f28e66c1ed972c577", kill_on_drop: false }` [INFO] [stdout] 89d97b61e9807087f3d604c16a0e6a684c3c50899808926f28e66c1ed972c577 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 086733be3b1a0138d48a44d4b50860eef50fefc5602f4aab8b38421ddb7f78b5 [INFO] running `Command { std: "docker" "start" "-a" "086733be3b1a0138d48a44d4b50860eef50fefc5602f4aab8b38421ddb7f78b5", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking walkdir v0.1.8 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking toml v0.1.30 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking kic v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: argument must be of the form: `expected = "error message"` [INFO] [stdout] --> src/lib/fs.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | #[should_panic(expect = "entered unreachable code")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: errors in this attribute were erroneously allowed and will become a hard error in a future release [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: argument must be of the form: `expected = "error message"` [INFO] [stdout] --> src/lib/setting/config.rs:603:5 [INFO] [stdout] | [INFO] [stdout] 603 | #[should_panic(expect = "entered unreachable code")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: errors in this attribute were erroneously allowed and will become a hard error in a future release [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: argument must be of the form: `expected = "error message"` [INFO] [stdout] --> src/lib/setting/config.rs:608:5 [INFO] [stdout] | [INFO] [stdout] 608 | #[should_panic(expect = "entered unreachable code")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: errors in this attribute were erroneously allowed and will become a hard error in a future release [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: argument must be of the form: `expected = "error message"` [INFO] [stdout] --> src/lib/setting/config.rs:613:5 [INFO] [stdout] | [INFO] [stdout] 613 | #[should_panic(expect = "entered unreachable code")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: errors in this attribute were erroneously allowed and will become a hard error in a future release [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: argument must be of the form: `expected = "error message"` [INFO] [stdout] --> src/lib/setting/config.rs:629:5 [INFO] [stdout] | [INFO] [stdout] 629 | #[should_panic(expect = "entered unreachable code")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: errors in this attribute were erroneously allowed and will become a hard error in a future release [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: argument must be of the form: `expected = "error message"` [INFO] [stdout] --> src/lib/setting/cron.rs:311:1 [INFO] [stdout] | [INFO] [stdout] 311 | #[should_panic(expect = "entered unreachable code")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: errors in this attribute were erroneously allowed and will become a hard error in a future release [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/init.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | try!(setting::create_working_dir()); [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/command/init.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | try!(Storage::create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/init.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | try!(Config::default().create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/init.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | try!(Ignore::default().create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/config.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | try!(config.create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/config.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let key = try!(setting::ConfigKey::from(key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/config.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let config = try!(setting::Config::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/config.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | let config = try!(config.set(key, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/ignore.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let ignore = try!(setting::Ignore::read()).add(paths); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/ignore.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let ignore = try!(setting::Ignore::read()).remove(paths); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | try!(storage.create_box()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(storage.squeeze_dusts(&target_files)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | let config = try!(Config::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | let moratorium = try!(config.get(ConfigKey::SweepMoratorium)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let ignore = try!(Ignore::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/burn.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | try!(storage.create_box()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/burn.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | try!(storage.delete_expired_boxes(moratorium)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/burn.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let config = try!(Config::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/burn.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | let raw_moratorium = try!(config.get(ConfigKey::BurnMoratorium)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/start.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let cron = try!(Cron::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/start.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | let config = try!(Config::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/start.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | let day_and_month = match try!(config.get(ConfigKey::SweepPeriod)).as_ref() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/start.rs:26:57 [INFO] [stdout] | [INFO] [stdout] 26 | let (hour, minute) = Config::to_hour_and_minute(try!(config.get(ConfigKey::SweepTime))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/end.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let mut cron = try!(Cron::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/end.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let current_dir = try!(Cron::current_dir_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/destroy.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | try!(setting::delete_working_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/patrol.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let cron = try!(Cron::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/patrol.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let cron = try!(cron.discard()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let current_dir = try!(env::current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | try!(self.check_current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | try!(self.check_settings()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let input = try!(read_line_from_stdin()).to_lowercase(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | "y" | "yes" => try!(danger_exec()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | let command = try!(args.next().ok_or(Usage::new(UsageKind::Nothing))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | (try!(args.next().ok_or(Usage::new(UsageKind::Help))), true) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/lib/fs.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [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/lib/fs.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | let dirs = try!(fs::read_dir(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | try!(f.read_to_string(&mut contents)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | let mut f = try!(File::open(Self::path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | let value = try!(result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | let value = try!(Self::validate(key, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | let mut editable = try!(EditableToml::from(self.toml)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | let exe = try!(env::current_exe()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | let exe = try!(exe.to_str().ok_or(CronError::new(CronErrorKind::BinExistsInInvalidDir))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | let output = try!(result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(str::from_utf8(&output.stdout).map_err(|_| CronError::new(CronErrorKind::InvalidCharacterCode))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | let current_dir = try!(Self::current_dir_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | let re = try!(Regex::new(re.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | let mut child = try!(result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:183:41 [INFO] [stdout] | [INFO] [stdout] 183 | &mut Some(ref mut stdin) => try!(stdin.write_all(contents.as_bytes())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | let output = try!(child.wait_with_output()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/ignore.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | try!(f.read_to_string(&mut contents)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/ignore.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let mut f = try!(File::open(Self::path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(fs::create_dir_all(self.path_to_dust_box())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | try!(fs::create_dir_all(&to)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | IoErrorKind::PermissionDenied => try!(self.print_and_log(" Interrupted for permission")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:129:31 [INFO] [stdout] | [INFO] [stdout] 129 | Ok(_) => try!(fs::create_dir_all(path_buf![&path_to_dust_box, path_to_dir])), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:131:58 [INFO] [stdout] | [INFO] [stdout] 131 | IoErrorKind::PermissionDenied => try!(self.print_and_log(" Interrupted for permission")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 149 | let target_boxes = try!(la(&path_to_storage)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | try!(fs::remove_dir_all(target_box)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | let mut file = try!(file); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(fs::create_dir(path_to_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/mod.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut f = try!(File::create(path_to_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/init.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | try!(setting::create_working_dir()); [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/command/init.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | try!(Storage::create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/init.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | try!(Config::default().create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/init.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | try!(Ignore::default().create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/config.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | try!(config.create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/config.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let key = try!(setting::ConfigKey::from(key)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/config.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let config = try!(setting::Config::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/config.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | let config = try!(config.set(key, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/ignore.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | let ignore = try!(setting::Ignore::read()).add(paths); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/ignore.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | let ignore = try!(setting::Ignore::read()).remove(paths); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | try!(storage.create_box()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(storage.squeeze_dusts(&target_files)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:39:26 [INFO] [stdout] | [INFO] [stdout] 39 | let config = try!(Config::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | let moratorium = try!(config.get(ConfigKey::SweepMoratorium)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/sweep.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let ignore = try!(Ignore::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/burn.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | try!(storage.create_box()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/burn.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | try!(storage.delete_expired_boxes(moratorium)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/burn.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let config = try!(Config::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/burn.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | let raw_moratorium = try!(config.get(ConfigKey::BurnMoratorium)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/start.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let cron = try!(Cron::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/start.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | let config = try!(Config::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/start.rs:21:35 [INFO] [stdout] | [INFO] [stdout] 21 | let day_and_month = match try!(config.get(ConfigKey::SweepPeriod)).as_ref() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/start.rs:26:57 [INFO] [stdout] | [INFO] [stdout] 26 | let (hour, minute) = Config::to_hour_and_minute(try!(config.get(ConfigKey::SweepTime))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/end.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | let mut cron = try!(Cron::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/end.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let current_dir = try!(Cron::current_dir_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/destroy.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | try!(setting::delete_working_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/patrol.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | let cron = try!(Cron::read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/patrol.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let cron = try!(cron.discard()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let current_dir = try!(env::current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | try!(self.check_current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | try!(self.check_settings()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | let input = try!(read_line_from_stdin()).to_lowercase(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | "y" | "yes" => try!(danger_exec()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | let command = try!(args.next().ok_or(Usage::new(UsageKind::Nothing))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/command/mod.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | (try!(args.next().ok_or(Usage::new(UsageKind::Help))), true) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> src/lib/fs.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [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/lib/fs.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | let dirs = try!(fs::read_dir(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BTreeSet` is imported redundantly [INFO] [stdout] --> src/lib/fs.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 205 | use super::*; [INFO] [stdout] | -------- the item `BTreeSet` is already imported here [INFO] [stdout] 206 | [INFO] [stdout] 207 | use std::collections::BTreeSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs` is imported redundantly [INFO] [stdout] --> src/lib/fs.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 205 | use super::*; [INFO] [stdout] | -------- the item `fs` is already imported here [INFO] [stdout] ... [INFO] [stdout] 208 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/lib/fs.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 205 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] ... [INFO] [stdout] 210 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PathBuf` is imported redundantly [INFO] [stdout] --> src/lib/fs.rs:210:27 [INFO] [stdout] | [INFO] [stdout] 205 | use super::*; [INFO] [stdout] | -------- the item `PathBuf` is already imported here [INFO] [stdout] ... [INFO] [stdout] 210 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | try!(f.read_to_string(&mut contents)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | let mut f = try!(File::open(Self::path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | let value = try!(result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | let value = try!(Self::validate(key, value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/config.rs:224:28 [INFO] [stdout] | [INFO] [stdout] 224 | let mut editable = try!(EditableToml::from(self.toml)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Duration` is imported redundantly [INFO] [stdout] --> src/lib/setting/config.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 386 | use super::*; [INFO] [stdout] | -------- the item `Duration` is already imported here [INFO] [stdout] ... [INFO] [stdout] 391 | use self::chrono::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Regex` is imported redundantly [INFO] [stdout] --> src/lib/setting/config.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 386 | use super::*; [INFO] [stdout] | -------- the item `Regex` is already imported here [INFO] [stdout] ... [INFO] [stdout] 392 | use self::regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CliError` is imported redundantly [INFO] [stdout] --> src/lib/setting/config.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 386 | use super::*; [INFO] [stdout] | -------- the item `CliError` is already imported here [INFO] [stdout] ... [INFO] [stdout] 394 | use error::{CliError, ConfigError, ConfigErrorKind}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ConfigError` is imported redundantly [INFO] [stdout] --> src/lib/setting/config.rs:394:27 [INFO] [stdout] | [INFO] [stdout] 386 | use super::*; [INFO] [stdout] | -------- the item `ConfigError` is already imported here [INFO] [stdout] ... [INFO] [stdout] 394 | use error::{CliError, ConfigError, ConfigErrorKind}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ConfigErrorKind` is imported redundantly [INFO] [stdout] --> src/lib/setting/config.rs:394:40 [INFO] [stdout] | [INFO] [stdout] 386 | use super::*; [INFO] [stdout] | -------- the item `ConfigErrorKind` is already imported here [INFO] [stdout] ... [INFO] [stdout] 394 | use error::{CliError, ConfigError, ConfigErrorKind}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | let exe = try!(env::current_exe()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | let exe = try!(exe.to_str().ok_or(CronError::new(CronErrorKind::BinExistsInInvalidDir))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 65 | let output = try!(result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | try!(str::from_utf8(&output.stdout).map_err(|_| CronError::new(CronErrorKind::InvalidCharacterCode))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | let current_dir = try!(Self::current_dir_string()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | let re = try!(Regex::new(re.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | let mut child = try!(result); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:183:41 [INFO] [stdout] | [INFO] [stdout] 183 | &mut Some(ref mut stdin) => try!(stdin.write_all(contents.as_bytes())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/cron.rs:187:22 [INFO] [stdout] | [INFO] [stdout] 187 | let output = try!(child.wait_with_output()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/ignore.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | try!(f.read_to_string(&mut contents)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/ignore.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | let mut f = try!(File::open(Self::path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | try!(fs::create_dir_all(self.path_to_dust_box())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | try!(fs::create_dir_all(&to)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:99:58 [INFO] [stdout] | [INFO] [stdout] 99 | IoErrorKind::PermissionDenied => try!(self.print_and_log(" Interrupted for permission")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:129:31 [INFO] [stdout] | [INFO] [stdout] 129 | Ok(_) => try!(fs::create_dir_all(path_buf![&path_to_dust_box, path_to_dir])), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:131:58 [INFO] [stdout] | [INFO] [stdout] 131 | IoErrorKind::PermissionDenied => try!(self.print_and_log(" Interrupted for permission")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:149:28 [INFO] [stdout] | [INFO] [stdout] 149 | let target_boxes = try!(la(&path_to_storage)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | try!(self.print_and_log(message)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | try!(fs::remove_dir_all(target_box)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/storage.rs:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | let mut file = try!(file); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | try!(fs::create_dir(path_to_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib/setting/mod.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut f = try!(File::create(path_to_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:42:32 [INFO] [stdout] | [INFO] [stdout] 42 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:58:48 [INFO] [stdout] | [INFO] [stdout] 58 | CliError::Config(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:59:48 [INFO] [stdout] | [INFO] [stdout] 59 | CliError::Cron(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | CliError::Essential(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | CliError::Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:62:48 [INFO] [stdout] | [INFO] [stdout] 62 | CliError::ParseInt(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | CliError::ParseToml(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:64:48 [INFO] [stdout] | [INFO] [stdout] 64 | CliError::Regex(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:65:48 [INFO] [stdout] | [INFO] [stdout] 65 | CliError::RunningPlace(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | CliError::Usage(ref u) => u.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib/fs.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | .trim_right_matches(MAIN_SEPARATOR) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 76 | .trim_end_matches(MAIN_SEPARATOR) [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:58:48 [INFO] [stdout] | [INFO] [stdout] 58 | CliError::Config(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:59:48 [INFO] [stdout] | [INFO] [stdout] 59 | CliError::Cron(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:60:48 [INFO] [stdout] | [INFO] [stdout] 60 | CliError::Essential(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:61:48 [INFO] [stdout] | [INFO] [stdout] 61 | CliError::Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:62:48 [INFO] [stdout] | [INFO] [stdout] 62 | CliError::ParseInt(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | CliError::ParseToml(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:64:48 [INFO] [stdout] | [INFO] [stdout] 64 | CliError::Regex(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:65:48 [INFO] [stdout] | [INFO] [stdout] 65 | CliError::RunningPlace(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | CliError::Usage(ref u) => u.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib/setting/config.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | None => return unreachable!("Evil thing will occur in toml-rs!!"), [INFO] [stdout] | ^^^^^^^-------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/lib/fs.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | .trim_right_matches(MAIN_SEPARATOR) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 76 | .trim_end_matches(MAIN_SEPARATOR) [INFO] [stdout] | ~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/lib/setting/cron.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 148 | let re_core = format!("({})", re_core.trim_left_matches('|')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 148 | let re_core = format!("({})", re_core.trim_start_matches('|')); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/lib/setting/config.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | None => return unreachable!("Evil thing will occur in toml-rs!!"), [INFO] [stdout] | ^^^^^^^-------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/lib/setting/cron.rs:148:51 [INFO] [stdout] | [INFO] [stdout] 148 | let re_core = format!("({})", re_core.trim_left_matches('|')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 148 | let re_core = format!("({})", re_core.trim_start_matches('|')); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 83 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 98 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.04s [INFO] running `Command { std: "docker" "inspect" "086733be3b1a0138d48a44d4b50860eef50fefc5602f4aab8b38421ddb7f78b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "086733be3b1a0138d48a44d4b50860eef50fefc5602f4aab8b38421ddb7f78b5", kill_on_drop: false }` [INFO] [stdout] 086733be3b1a0138d48a44d4b50860eef50fefc5602f4aab8b38421ddb7f78b5