[INFO] fetching crate kic 0.1.1... [INFO] checking kic-0.1.1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate kic 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate kic 0.1.1 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 26 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.5.3 (latest: v1.1.3) [INFO] [stderr] Adding chrono v0.2.25 (latest: v0.4.38) [INFO] [stderr] Adding memchr v0.1.11 (latest: v2.7.4) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.3) [INFO] [stderr] Adding regex v0.1.80 (latest: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.3.9 (latest: v0.8.4) [INFO] [stderr] Adding thread-id v2.0.0 (latest: v4.2.2) [INFO] [stderr] Adding thread_local v0.2.7 (latest: v1.1.8) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.36) [INFO] [stderr] Adding toml v0.1.30 (latest: v0.8.19) [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.2+wasi-0.2.1) [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.1.30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c122cb0ca30531eda066a696a20cda75edde42717ef105956c7ae54c2288d19 [INFO] running `Command { std: "docker" "start" "-a" "8c122cb0ca30531eda066a696a20cda75edde42717ef105956c7ae54c2288d19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c122cb0ca30531eda066a696a20cda75edde42717ef105956c7ae54c2288d19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c122cb0ca30531eda066a696a20cda75edde42717ef105956c7ae54c2288d19", kill_on_drop: false }` [INFO] [stdout] 8c122cb0ca30531eda066a696a20cda75edde42717ef105956c7ae54c2288d19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d98bebae2472b1bb8543152205e18689a4a70ae65f7386899ac59ab86a6c213f [INFO] running `Command { std: "docker" "start" "-a" "d98bebae2472b1bb8543152205e18689a4a70ae65f7386899ac59ab86a6c213f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking time v0.1.45 [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] 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 num-iter v0.1.45 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking chrono v0.2.25 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking toml v0.1.30 [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: 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: 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: 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: 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: 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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: 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: 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: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 88 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.65s [INFO] running `Command { std: "docker" "inspect" "d98bebae2472b1bb8543152205e18689a4a70ae65f7386899ac59ab86a6c213f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d98bebae2472b1bb8543152205e18689a4a70ae65f7386899ac59ab86a6c213f", kill_on_drop: false }` [INFO] [stdout] d98bebae2472b1bb8543152205e18689a4a70ae65f7386899ac59ab86a6c213f