[INFO] fetching crate cargo-scripter 0.2.12... [INFO] checking cargo-scripter-0.2.12 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate cargo-scripter 0.2.12 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate cargo-scripter 0.2.12 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cargo-scripter 0.2.12 [INFO] finished tweaking crates.io crate cargo-scripter 0.2.12 [INFO] tweaked toml for crates.io crate cargo-scripter 0.2.12 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 85 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.5.3 (available: v1.1.3) [INFO] [stderr] Adding aho-corasick v0.6.10 (available: v1.1.3) [INFO] [stderr] Adding bitflags v0.5.0 (available: v2.6.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding env_logger v0.4.3 (available: v0.11.5) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding itertools v0.4.19 (available: v0.13.0) [INFO] [stderr] Adding itertools v0.5.10 (available: v0.13.0) [INFO] [stderr] Adding lazy_static v0.1.16 (available: v1.5.0) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.22) [INFO] [stderr] Adding memchr v0.1.11 (available: v2.7.4) [INFO] [stderr] Adding open v1.7.1 (available: v5.3.0) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding regex v0.1.80 (available: v1.10.6) [INFO] [stderr] Adding regex v0.2.11 (available: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.3.9 (available: v0.8.4) [INFO] [stderr] Adding regex-syntax v0.5.6 (available: v0.8.4) [INFO] [stderr] Adding remove_dir_all v0.5.3 (available: v0.8.4) [INFO] [stderr] Adding rustc_version v0.1.7 (available: v0.4.1) [INFO] [stderr] Adding semver v0.1.20 (available: v1.0.23) [INFO] [stderr] Adding semver v0.5.1 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.6.2 (available: v0.10.2) [INFO] [stderr] Adding strsim v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding thread-id v2.0.0 (available: v4.2.2) [INFO] [stderr] Adding thread_local v0.2.7 (available: v1.1.8) [INFO] [stderr] Adding thread_local v0.3.6 (available: v1.1.8) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [INFO] [stderr] Adding toml v0.2.1 (available: v0.8.19) [INFO] [stderr] Adding ucd-util v0.1.10 (available: v0.2.1) [INFO] [stderr] Adding unicode-segmentation v0.1.2 (available: v0.1.3) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding utf8-ranges v0.1.3 (available: v1.0.5) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding winreg v0.4.0 (available: v0.52.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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 shell32-sys v0.1.2 [INFO] [stderr] Downloaded winreg v0.4.0 [INFO] [stderr] Downloaded ktmw32-sys v0.1.1 [INFO] [stderr] Downloaded toml v0.2.1 [INFO] [stderr] Downloaded ole32-sys v0.2.0 [INFO] [stderr] Downloaded semver-parser v0.6.2 [INFO] [stderr] Downloaded open v1.7.1 [INFO] [stderr] Downloaded bitflags v0.5.0 [INFO] [stderr] Downloaded env_logger v0.4.3 [INFO] [stderr] Downloaded chan v0.1.23 [INFO] [stderr] Downloaded semver v0.1.20 [INFO] [stderr] Downloaded rustc_version v0.1.7 [INFO] [stderr] Downloaded unicode-segmentation v0.1.2 [INFO] [stderr] Downloaded itertools v0.5.10 [INFO] [stderr] Downloaded itertools v0.4.19 [INFO] [stderr] Downloaded hoedown v6.0.0 [INFO] [stderr] Downloaded scan-rules v0.2.0 [INFO] [stderr] Downloaded uuid-sys v0.1.3 [INFO] [stderr] Downloaded semver v0.5.1 [INFO] [stderr] Downloaded strcursor v0.2.5 [INFO] [stderr] Downloaded rustc-serialize v0.3.25 [INFO] [stderr] Downloaded shaman v0.1.0 [INFO] [stderr] Downloaded advapi32-sys v0.2.0 [INFO] [stderr] Downloaded lazy_static v0.1.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09bdc25fc7200c21d009db103ff6bfacc6bfc9d2ed4144b1532252716b74a09e [INFO] running `Command { std: "docker" "start" "-a" "09bdc25fc7200c21d009db103ff6bfacc6bfc9d2ed4144b1532252716b74a09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09bdc25fc7200c21d009db103ff6bfacc6bfc9d2ed4144b1532252716b74a09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09bdc25fc7200c21d009db103ff6bfacc6bfc9d2ed4144b1532252716b74a09e", kill_on_drop: false }` [INFO] [stdout] 09bdc25fc7200c21d009db103ff6bfacc6bfc9d2ed4144b1532252716b74a09e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3314f61be957a4940c84f15319667c754c372847c4f1a73b94aba2d1919f4637 [INFO] running `Command { std: "docker" "start" "-a" "3314f61be957a4940c84f15319667c754c372847c4f1a73b94aba2d1919f4637", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking bitflags v0.5.0 [INFO] [stderr] Checking itertools v0.5.10 [INFO] [stderr] Checking open v1.7.1 [INFO] [stderr] Checking chan v0.1.23 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking unicode-segmentation v0.1.2 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Compiling cargo-scripter v0.2.12 (/opt/rustwide/workdir) [INFO] [stderr] Compiling strcursor v0.2.5 [INFO] [stderr] Compiling scan-rules v0.2.0 [INFO] [stderr] Compiling hoedown v6.0.0 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking shaman v0.1.0 [INFO] [stderr] Checking toml v0.2.1 [INFO] [stderr] Checking semver-parser v0.6.2 [INFO] [stderr] Checking semver v0.5.1 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stdout] warning: unexpected `cfg` condition name: `has_qmark` [INFO] [stdout] --> tests/tests/expr.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | let code = if cfg!(has_qmark) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(has_qmark)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(has_qmark)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> tests/util/mod.rs:69:1 [INFO] [stdout] | [INFO] [stdout] 69 | / lazy_static! { [INFO] [stdout] 70 | | #[doc(hidden)] [INFO] [stdout] 71 | | pub static ref CARGO_MUTEX: Mutex<()> = Mutex::new(()); [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/main.rs:937:39 [INFO] [stdout] | [INFO] [stdout] 937 | #[derive(Clone, Debug, Eq, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:937:39 [INFO] [stdout] | [INFO] [stdout] 937 | #[derive(Clone, Debug, Eq, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/main.rs:937:55 [INFO] [stdout] | [INFO] [stdout] 937 | #[derive(Clone, Debug, Eq, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:937:55 [INFO] [stdout] | [INFO] [stdout] 937 | #[derive(Clone, Debug, Eq, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | (manifest, source, try!(templates::get_template("file")), false) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | "#, try!(templates::get_template("expr")), true) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | template_buf = try!(templates::get_template(template.unwrap_or("expr"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | (Manifest::Toml(""), content, try!(templates::get_template(templ)), true) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | let source = try!(templates::expand(&template, &subs)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | let part_mani = try!(part_mani.into_toml()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | let def_mani = try!(default_manifest(input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | let dep_mani = try!(deps_manifest(deps)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | let mani = try!(merge_manifest(def_mani, part_mani)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | let mani = try!(merge_manifest(mani, dep_mani)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | let mani = try!(fix_manifest_paths(mani, &input.base_path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:349:27 [INFO] [stdout] | [INFO] [stdout] 349 | Toml(s) => Ok(try!(toml::Parser::new(s).parse() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:351:36 [INFO] [stdout] | [INFO] [stdout] 351 | TomlOwned(ref s) => Ok(try!(toml::Parser::new(s).parse() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 374 | Ok(try!(toml::Parser::new(&r).parse() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:830:13 [INFO] [stdout] | [INFO] [stdout] 830 | try!(n_leading_spaces(line, leading_space.unwrap_or(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:873:13 [INFO] [stdout] | [INFO] [stdout] 873 | try!(n_leading_spaces(content, leading_space.unwrap_or(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:984:9 [INFO] [stdout] | [INFO] [stdout] 984 | try!(templates::expand(consts::DEFAULT_MANIFEST, &subs)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:1030:38 [INFO] [stdout] | [INFO] [stdout] 1030 | let into_t = try!(as_table_mut(e.into_mut()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:1070:9 [INFO] [stdout] | [INFO] [stdout] 1070 | try!(iterate_toml_mut_path(&mut mani, path, &mut |v| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:1109:21 [INFO] [stdout] | [INFO] [stdout] 1109 | try!(iterate_toml_mut_path(v, tail, on_each)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:1119:25 [INFO] [stdout] | [INFO] [stdout] 1119 | try!(iterate_toml_mut_path(v, tail, on_each)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/platform.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | ... try!(fs::rename(&old_script_cache, &new_script_cache)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/platform.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | ... try!(fs::rename(&old_binary_cache, &new_binary_cache)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/platform.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | if try!(fs::read_dir(&old_base)).next().is_none() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/platform.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | try!(fs::remove_dir(&old_base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/platform.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | try!(r.read_to_end(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | Args::Dump { name } => try!(dump(&name)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | Args::List => try!(list()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | Args::Show { path } => try!(show(path)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | let cache_path = try!(platform::get_config_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | try!(file.read_to_string(&mut text)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | let base = try!(get_template_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | 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/templates.rs:182:16 [INFO] [stdout] | [INFO] [stdout] 182 | let text = try!(get_template(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | let t_path = try!(get_template_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | for entry in try!(fs::read_dir(&t_path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/main.rs:937:39 [INFO] [stdout] | [INFO] [stdout] 937 | #[derive(Clone, Debug, Eq, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | if !try!(entry.file_type()).is_file() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:217:18 [INFO] [stdout] | [INFO] [stdout] 217 | let t_path = try!(get_template_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | try!(fs::create_dir_all(&t_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | try!(open::that(&t_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChildToken` [INFO] [stdout] --> src/util.rs:75:39 [INFO] [stdout] | [INFO] [stdout] 75 | pub use self::suppress_child_output::{ChildToken, suppress_child_output}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | let mut child = try!(cmd.spawn()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:611:5 [INFO] [stdout] | [INFO] [stdout] 611 | try!(gen_pkg_and_compile(&input, &action)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 453 | let scp = try!(get_script_cache_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:454:19 [INFO] [stdout] | [INFO] [stdout] 454 | let bcp = try!(get_binary_cache_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:466:9 [INFO] [stdout] | [INFO] [stdout] 466 | try!(clean_cache(0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:491:13 [INFO] [stdout] | [INFO] [stdout] 491 | try!(file.read_to_string(&mut body)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:484:36 [INFO] [stdout] | [INFO] [stdout] 484 | let (path, mut file) = try!(find_script(script).ok_or("could not find script")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:495:27 [INFO] [stdout] | [INFO] [stdout] 495 | script_path = try!(std::env::current_dir()).join(path); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:508:25 [INFO] [stdout] | [INFO] [stdout] 508 | (None, _, _) => try!(Err((Blame::Human, consts::NO_ARGS_MESSAGE))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:509:14 [INFO] [stdout] | [INFO] [stdout] 509 | _ => try!(Err((Blame::Human, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:539:17 [INFO] [stdout] | [INFO] [stdout] 539 | try!(Err((Blame::Human, "cannot have empty dependency package name"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:543:17 [INFO] [stdout] | [INFO] [stdout] 543 | try!(Err((Blame::Human, "cannot have empty dependency version"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:554:25 [INFO] [stdout] | [INFO] [stdout] 554 | try!(Err((Blame::Human, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:596:18 [INFO] [stdout] | [INFO] [stdout] 596 | let action = try!(decide_action_for( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:619:17 [INFO] [stdout] | [INFO] [stdout] 619 | try!(clean_cache(consts::MAX_CACHE_AGE_MS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:637:28 [INFO] [stdout] | [INFO] [stdout] 637 | let exe_path = try!(get_exe_path(action.build_kind, &action.pkg_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:639:19 [INFO] [stdout] | [INFO] [stdout] 639 | match try!({ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:652:27 [INFO] [stdout] | [INFO] [stdout] 652 | let mut cmd = try!(action.cargo(cmd_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:654:19 [INFO] [stdout] | [INFO] [stdout] 654 | match try!(cmd.status().map(|st| st.code().unwrap_or(1))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:675:25 [INFO] [stdout] | [INFO] [stdout] 675 | let cache_dir = try!(get_binary_cache_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:686:21 [INFO] [stdout] | [INFO] [stdout] 686 | let cache_dir = try!(get_script_cache_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:687:18 [INFO] [stdout] | [INFO] [stdout] 687 | for child in try!(fs::read_dir(cache_dir)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:688:21 [INFO] [stdout] | [INFO] [stdout] 688 | let child = try!(child); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:715:13 [INFO] [stdout] | [INFO] [stdout] 715 | (meta_mtime <= cutoff) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 715 - (meta_mtime <= cutoff) [INFO] [stdout] 715 + meta_mtime <= cutoff [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:750:5 [INFO] [stdout] | [INFO] [stdout] 750 | try!(fs::create_dir_all(pkg_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:756:17 [INFO] [stdout] | [INFO] [stdout] 756 | try!(fs::remove_dir_all(pkg_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:770:15 [INFO] [stdout] | [INFO] [stdout] 770 | match try!(overwrite_file(&mani_path, mani_str, mani_hash)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:790:15 [INFO] [stdout] | [INFO] [stdout] 790 | match try!(overwrite_file(&script_path, script_str, script_hash)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:812:23 [INFO] [stdout] | [INFO] [stdout] 812 | let mut cmd = try!(cargo("build", &*mani_path.to_string_lossy(), action.use_bincache, &meta)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:844:17 [INFO] [stdout] | [INFO] [stdout] 844 | let _ = try!(compile_err); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:847:17 [INFO] [stdout] | [INFO] [stdout] 847 | let _ = try!(cargo_target(input, pkg_path, &*mani_path.to_string_lossy(), action.use_bincache, &meta)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:855:13 [INFO] [stdout] | [INFO] [stdout] 855 | try!(write!(&mut f, "{}", meta_hash)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:853:38 [INFO] [stdout] | [INFO] [stdout] 853 | let exe_meta_hash_path = try!(get_meta_hash_path(action.use_bincache, pkg_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:854:25 [INFO] [stdout] | [INFO] [stdout] 854 | let mut f = try!(fs::File::create(&exe_meta_hash_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:862:9 [INFO] [stdout] | [INFO] [stdout] 862 | try!(write_pkg_metadata(pkg_path, &meta)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1011:34 [INFO] [stdout] | [INFO] [stdout] 1011 | let (mani_str, script_str) = try!(manifest::split_input(input, &deps, &prelude)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1127:13 [INFO] [stdout] | [INFO] [stdout] 1127 | try!(f.read_to_string(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1125:25 [INFO] [stdout] | [INFO] [stdout] 1125 | let mut f = try!(fs::File::open(&exe_meta_hash_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1161:17 [INFO] [stdout] | [INFO] [stdout] 1161 | let mut f = try!(File::open(&cache_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1162:20 [INFO] [stdout] | [INFO] [stdout] 1162 | let exe_path = try!(platform::read_path(&mut f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1185:25 [INFO] [stdout] | [INFO] [stdout] 1185 | let mut meta_file = try!(fs::File::open(&meta_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1192:33 [INFO] [stdout] | [INFO] [stdout] 1192 | let meta: PackageMetadata = try!(rustc_serialize::json::decode(&meta_str) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1216:5 [INFO] [stdout] | [INFO] [stdout] 1216 | try!(write!(&mut meta_file, "{}", meta_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1217:5 [INFO] [stdout] | [INFO] [stdout] 1217 | try!(meta_file.flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1213:25 [INFO] [stdout] | [INFO] [stdout] 1213 | let mut meta_file = try!(fs::File::create(&meta_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1214:20 [INFO] [stdout] | [INFO] [stdout] 1214 | let meta_str = try!(rustc_serialize::json::encode(meta) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1225:22 [INFO] [stdout] | [INFO] [stdout] 1225 | let cache_path = try!(platform::get_cache_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1233:22 [INFO] [stdout] | [INFO] [stdout] 1233 | let cache_path = try!(platform::get_cache_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:1331:24 [INFO] [stdout] | [INFO] [stdout] 1331 | (0, '0'...'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:1335:24 [INFO] [stdout] | [INFO] [stdout] 1335 | (_, '0'...'9') [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:1336:26 [INFO] [stdout] | [INFO] [stdout] 1336 | | (_, 'a'...'z') [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:1337:26 [INFO] [stdout] | [INFO] [stdout] 1337 | | (_, 'A'...'Z') [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1465:5 [INFO] [stdout] | [INFO] [stdout] 1465 | try!(write!(&mut file, "{}", content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1466:5 [INFO] [stdout] | [INFO] [stdout] 1466 | try!(file.flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1464:20 [INFO] [stdout] | [INFO] [stdout] 1464 | let mut file = try!(fs::File::create(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1483:37 [INFO] [stdout] | [INFO] [stdout] 1483 | cmd.env("CARGO_TARGET_DIR", try!(get_binary_cache_path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1511:21 [INFO] [stdout] | [INFO] [stdout] 1511 | let cargo_ver = try!(cargo_version() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1524:9 [INFO] [stdout] | [INFO] [stdout] 1524 | try!(cargo_target_by_guess(input, use_bincache, pkg_path.as_ref(), meta)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1526:9 [INFO] [stdout] | [INFO] [stdout] 1526 | try!(cargo_target_by_message(input, manifest, use_bincache, meta)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1540:9 [INFO] [stdout] | [INFO] [stdout] 1540 | try!(platform::write_path(&mut f, &exe_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1539:21 [INFO] [stdout] | [INFO] [stdout] 1539 | let mut f = try!(File::create(&cache_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1559:9 [INFO] [stdout] | [INFO] [stdout] 1559 | try!(get_binary_cache_path()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1588:5 [INFO] [stdout] | [INFO] [stdout] 1588 | try!(child.stdout.take().unwrap().read_to_end(&mut stdout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1579:19 [INFO] [stdout] | [INFO] [stdout] 1579 | let mut cmd = try!(cargo("build", manifest, use_bincache, meta)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1586:21 [INFO] [stdout] | [INFO] [stdout] 1586 | let mut child = try!(cmd.spawn()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1589:11 [INFO] [stdout] | [INFO] [stdout] 1589 | match try!(child.wait()).code() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1604:21 [INFO] [stdout] | [INFO] [stdout] 1604 | let bytes = try!(stdout.read_line(&mut line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1610:19 [INFO] [stdout] | [INFO] [stdout] 1610 | let msg = try!(json::Json::from_str(line.trim()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1649:17 [INFO] [stdout] | [INFO] [stdout] 1649 | let child = try!(cmd.output()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1663:8 [INFO] [stdout] | [INFO] [stdout] 1663 | Ok(try!(Version::parse(ver.as_str()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:937:39 [INFO] [stdout] | [INFO] [stdout] 937 | #[derive(Clone, Debug, Eq, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `issue_50` [INFO] [stdout] --> src/main.rs:1673:24 [INFO] [stdout] | [INFO] [stdout] 1673 | let suffers = cfg!(issue_50); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(issue_50)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(issue_50)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/main.rs:937:55 [INFO] [stdout] | [INFO] [stdout] 937 | #[derive(Clone, Debug, Eq, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/main.rs:937:55 [INFO] [stdout] | [INFO] [stdout] 937 | #[derive(Clone, Debug, Eq, PartialEq, RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | (manifest, source, try!(templates::get_template("file")), false) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | "#, try!(templates::get_template("expr")), true) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:68:28 [INFO] [stdout] | [INFO] [stdout] 68 | template_buf = try!(templates::get_template(template.unwrap_or("expr"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | (Manifest::Toml(""), content, try!(templates::get_template(templ)), true) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:95:18 [INFO] [stdout] | [INFO] [stdout] 95 | let source = try!(templates::expand(&template, &subs)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | let part_mani = try!(part_mani.into_toml()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | let def_mani = try!(default_manifest(input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | let dep_mani = try!(deps_manifest(deps)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | let mani = try!(merge_manifest(def_mani, part_mani)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:108:16 [INFO] [stdout] | [INFO] [stdout] 108 | let mani = try!(merge_manifest(mani, dep_mani)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | let mani = try!(fix_manifest_paths(mani, &input.base_path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:349:27 [INFO] [stdout] | [INFO] [stdout] 349 | Toml(s) => Ok(try!(toml::Parser::new(s).parse() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:351:36 [INFO] [stdout] | [INFO] [stdout] 351 | TomlOwned(ref s) => Ok(try!(toml::Parser::new(s).parse() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:374:12 [INFO] [stdout] | [INFO] [stdout] 374 | Ok(try!(toml::Parser::new(&r).parse() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:830:13 [INFO] [stdout] | [INFO] [stdout] 830 | try!(n_leading_spaces(line, leading_space.unwrap_or(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:873:13 [INFO] [stdout] | [INFO] [stdout] 873 | try!(n_leading_spaces(content, leading_space.unwrap_or(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:984:9 [INFO] [stdout] | [INFO] [stdout] 984 | try!(templates::expand(consts::DEFAULT_MANIFEST, &subs)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:1030:38 [INFO] [stdout] | [INFO] [stdout] 1030 | let into_t = try!(as_table_mut(e.into_mut()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:1070:9 [INFO] [stdout] | [INFO] [stdout] 1070 | try!(iterate_toml_mut_path(&mut mani, path, &mut |v| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:1109:21 [INFO] [stdout] | [INFO] [stdout] 1109 | try!(iterate_toml_mut_path(v, tail, on_each)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/manifest.rs:1119:25 [INFO] [stdout] | [INFO] [stdout] 1119 | try!(iterate_toml_mut_path(v, tail, on_each)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/platform.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | ... try!(fs::rename(&old_script_cache, &new_script_cache)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/platform.rs:174:29 [INFO] [stdout] | [INFO] [stdout] 174 | ... try!(fs::rename(&old_binary_cache, &new_binary_cache)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/platform.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | if try!(fs::read_dir(&old_base)).next().is_none() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/platform.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | try!(fs::remove_dir(&old_base)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/platform.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | try!(r.read_to_end(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | Args::Dump { name } => try!(dump(&name)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | Args::List => try!(list()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | Args::Show { path } => try!(show(path)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | let cache_path = try!(platform::get_config_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | try!(file.read_to_string(&mut text)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | let base = try!(get_template_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:164:20 [INFO] [stdout] | [INFO] [stdout] 164 | 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/templates.rs:182:16 [INFO] [stdout] | [INFO] [stdout] 182 | let text = try!(get_template(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | let t_path = try!(get_template_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:200:18 [INFO] [stdout] | [INFO] [stdout] 200 | for entry in try!(fs::read_dir(&t_path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | if !try!(entry.file_type()).is_file() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:217:18 [INFO] [stdout] | [INFO] [stdout] 217 | let t_path = try!(get_template_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | try!(fs::create_dir_all(&t_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/templates.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | try!(open::that(&t_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChildToken` [INFO] [stdout] --> src/util.rs:75:39 [INFO] [stdout] | [INFO] [stdout] 75 | pub use self::suppress_child_output::{ChildToken, suppress_child_output}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:99:25 [INFO] [stdout] | [INFO] [stdout] 99 | let mut child = try!(cmd.spawn()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:611:5 [INFO] [stdout] | [INFO] [stdout] 611 | try!(gen_pkg_and_compile(&input, &action)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:453:19 [INFO] [stdout] | [INFO] [stdout] 453 | let scp = try!(get_script_cache_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:454:19 [INFO] [stdout] | [INFO] [stdout] 454 | let bcp = try!(get_binary_cache_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:466:9 [INFO] [stdout] | [INFO] [stdout] 466 | try!(clean_cache(0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:491:13 [INFO] [stdout] | [INFO] [stdout] 491 | try!(file.read_to_string(&mut body)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:484:36 [INFO] [stdout] | [INFO] [stdout] 484 | let (path, mut file) = try!(find_script(script).ok_or("could not find script")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:495:27 [INFO] [stdout] | [INFO] [stdout] 495 | script_path = try!(std::env::current_dir()).join(path); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:508:25 [INFO] [stdout] | [INFO] [stdout] 508 | (None, _, _) => try!(Err((Blame::Human, consts::NO_ARGS_MESSAGE))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:509:14 [INFO] [stdout] | [INFO] [stdout] 509 | _ => try!(Err((Blame::Human, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:539:17 [INFO] [stdout] | [INFO] [stdout] 539 | try!(Err((Blame::Human, "cannot have empty dependency package name"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:543:17 [INFO] [stdout] | [INFO] [stdout] 543 | try!(Err((Blame::Human, "cannot have empty dependency version"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:554:25 [INFO] [stdout] | [INFO] [stdout] 554 | try!(Err((Blame::Human, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:596:18 [INFO] [stdout] | [INFO] [stdout] 596 | let action = try!(decide_action_for( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:619:17 [INFO] [stdout] | [INFO] [stdout] 619 | try!(clean_cache(consts::MAX_CACHE_AGE_MS)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:637:28 [INFO] [stdout] | [INFO] [stdout] 637 | let exe_path = try!(get_exe_path(action.build_kind, &action.pkg_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:639:19 [INFO] [stdout] | [INFO] [stdout] 639 | match try!({ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:652:27 [INFO] [stdout] | [INFO] [stdout] 652 | let mut cmd = try!(action.cargo(cmd_name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:654:19 [INFO] [stdout] | [INFO] [stdout] 654 | match try!(cmd.status().map(|st| st.code().unwrap_or(1))) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:675:25 [INFO] [stdout] | [INFO] [stdout] 675 | let cache_dir = try!(get_binary_cache_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:686:21 [INFO] [stdout] | [INFO] [stdout] 686 | let cache_dir = try!(get_script_cache_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:687:18 [INFO] [stdout] | [INFO] [stdout] 687 | for child in try!(fs::read_dir(cache_dir)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:688:21 [INFO] [stdout] | [INFO] [stdout] 688 | let child = try!(child); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:715:13 [INFO] [stdout] | [INFO] [stdout] 715 | (meta_mtime <= cutoff) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 715 - (meta_mtime <= cutoff) [INFO] [stdout] 715 + meta_mtime <= cutoff [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:750:5 [INFO] [stdout] | [INFO] [stdout] 750 | try!(fs::create_dir_all(pkg_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:756:17 [INFO] [stdout] | [INFO] [stdout] 756 | try!(fs::remove_dir_all(pkg_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:770:15 [INFO] [stdout] | [INFO] [stdout] 770 | match try!(overwrite_file(&mani_path, mani_str, mani_hash)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:790:15 [INFO] [stdout] | [INFO] [stdout] 790 | match try!(overwrite_file(&script_path, script_str, script_hash)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:812:23 [INFO] [stdout] | [INFO] [stdout] 812 | let mut cmd = try!(cargo("build", &*mani_path.to_string_lossy(), action.use_bincache, &meta)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:844:17 [INFO] [stdout] | [INFO] [stdout] 844 | let _ = try!(compile_err); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:847:17 [INFO] [stdout] | [INFO] [stdout] 847 | let _ = try!(cargo_target(input, pkg_path, &*mani_path.to_string_lossy(), action.use_bincache, &meta)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:855:13 [INFO] [stdout] | [INFO] [stdout] 855 | try!(write!(&mut f, "{}", meta_hash)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:853:38 [INFO] [stdout] | [INFO] [stdout] 853 | let exe_meta_hash_path = try!(get_meta_hash_path(action.use_bincache, pkg_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:854:25 [INFO] [stdout] | [INFO] [stdout] 854 | let mut f = try!(fs::File::create(&exe_meta_hash_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:862:9 [INFO] [stdout] | [INFO] [stdout] 862 | try!(write_pkg_metadata(pkg_path, &meta)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1011:34 [INFO] [stdout] | [INFO] [stdout] 1011 | let (mani_str, script_str) = try!(manifest::split_input(input, &deps, &prelude)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1127:13 [INFO] [stdout] | [INFO] [stdout] 1127 | try!(f.read_to_string(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1125:25 [INFO] [stdout] | [INFO] [stdout] 1125 | let mut f = try!(fs::File::open(&exe_meta_hash_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1161:17 [INFO] [stdout] | [INFO] [stdout] 1161 | let mut f = try!(File::open(&cache_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1162:20 [INFO] [stdout] | [INFO] [stdout] 1162 | let exe_path = try!(platform::read_path(&mut f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1185:25 [INFO] [stdout] | [INFO] [stdout] 1185 | let mut meta_file = try!(fs::File::open(&meta_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1192:33 [INFO] [stdout] | [INFO] [stdout] 1192 | let meta: PackageMetadata = try!(rustc_serialize::json::decode(&meta_str) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1216:5 [INFO] [stdout] | [INFO] [stdout] 1216 | try!(write!(&mut meta_file, "{}", meta_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1217:5 [INFO] [stdout] | [INFO] [stdout] 1217 | try!(meta_file.flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1213:25 [INFO] [stdout] | [INFO] [stdout] 1213 | let mut meta_file = try!(fs::File::create(&meta_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1214:20 [INFO] [stdout] | [INFO] [stdout] 1214 | let meta_str = try!(rustc_serialize::json::encode(meta) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1225:22 [INFO] [stdout] | [INFO] [stdout] 1225 | let cache_path = try!(platform::get_cache_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1233:22 [INFO] [stdout] | [INFO] [stdout] 1233 | let cache_path = try!(platform::get_cache_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:1331:24 [INFO] [stdout] | [INFO] [stdout] 1331 | (0, '0'...'9') => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:1335:24 [INFO] [stdout] | [INFO] [stdout] 1335 | (_, '0'...'9') [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:1336:26 [INFO] [stdout] | [INFO] [stdout] 1336 | | (_, 'a'...'z') [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/main.rs:1337:26 [INFO] [stdout] | [INFO] [stdout] 1337 | | (_, 'A'...'Z') [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1465:5 [INFO] [stdout] | [INFO] [stdout] 1465 | try!(write!(&mut file, "{}", content)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1466:5 [INFO] [stdout] | [INFO] [stdout] 1466 | try!(file.flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1464:20 [INFO] [stdout] | [INFO] [stdout] 1464 | let mut file = try!(fs::File::create(path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1483:37 [INFO] [stdout] | [INFO] [stdout] 1483 | cmd.env("CARGO_TARGET_DIR", try!(get_binary_cache_path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1511:21 [INFO] [stdout] | [INFO] [stdout] 1511 | let cargo_ver = try!(cargo_version() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1524:9 [INFO] [stdout] | [INFO] [stdout] 1524 | try!(cargo_target_by_guess(input, use_bincache, pkg_path.as_ref(), meta)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1526:9 [INFO] [stdout] | [INFO] [stdout] 1526 | try!(cargo_target_by_message(input, manifest, use_bincache, meta)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1540:9 [INFO] [stdout] | [INFO] [stdout] 1540 | try!(platform::write_path(&mut f, &exe_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1539:21 [INFO] [stdout] | [INFO] [stdout] 1539 | let mut f = try!(File::create(&cache_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1559:9 [INFO] [stdout] | [INFO] [stdout] 1559 | try!(get_binary_cache_path()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1588:5 [INFO] [stdout] | [INFO] [stdout] 1588 | try!(child.stdout.take().unwrap().read_to_end(&mut stdout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1579:19 [INFO] [stdout] | [INFO] [stdout] 1579 | let mut cmd = try!(cargo("build", manifest, use_bincache, meta)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1586:21 [INFO] [stdout] | [INFO] [stdout] 1586 | let mut child = try!(cmd.spawn()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1589:11 [INFO] [stdout] | [INFO] [stdout] 1589 | match try!(child.wait()).code() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1604:21 [INFO] [stdout] | [INFO] [stdout] 1604 | let bytes = try!(stdout.read_line(&mut line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1610:19 [INFO] [stdout] | [INFO] [stdout] 1610 | let msg = try!(json::Json::from_str(line.trim()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1649:17 [INFO] [stdout] | [INFO] [stdout] 1649 | let child = try!(cmd.output()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:1663:8 [INFO] [stdout] | [INFO] [stdout] 1663 | Ok(try!(Version::parse(ver.as_str()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `issue_50` [INFO] [stdout] --> src/main.rs:1673:24 [INFO] [stdout] | [INFO] [stdout] 1673 | let suffers = cfg!(issue_50); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(issue_50)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(issue_50)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:1505:5 [INFO] [stdout] | [INFO] [stdout] 1505 | / lazy_static! { [INFO] [stdout] 1506 | | static ref VER_JSON_MSGS: Version = Version::parse("0.18.0").unwrap(); [INFO] [stdout] 1507 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:1642:5 [INFO] [stdout] | [INFO] [stdout] 1642 | / lazy_static! { [INFO] [stdout] 1643 | | static ref RE_VERSION: Regex = Regex::new(r#"^cargo[ -](\S+)"#).unwrap(); [INFO] [stdout] 1644 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/manifest.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref RE_SHORT_MANIFEST: Regex = Regex::new( [INFO] [stdout] 28 | | r"^(?i)\s*//\s*cargo-deps\s*:(.*?)(\r\n|\n)").unwrap(); [INFO] [stdout] 29 | | static ref RE_MARGIN: Regex = Regex::new(r"^\s*\*( |$)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/manifest.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref RE_SHORT_MANIFEST: Regex = Regex::new( [INFO] [stdout] 28 | | r"^(?i)\s*//\s*cargo-deps\s*:(.*?)(\r\n|\n)").unwrap(); [INFO] [stdout] 29 | | static ref RE_MARGIN: Regex = Regex::new(r"^\s*\*( |$)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/manifest.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref RE_SHORT_MANIFEST: Regex = Regex::new( [INFO] [stdout] 28 | | r"^(?i)\s*//\s*cargo-deps\s*:(.*?)(\r\n|\n)").unwrap(); [INFO] [stdout] 29 | | static ref RE_MARGIN: Regex = Regex::new(r"^\s*\*( |$)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/manifest.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref RE_SHORT_MANIFEST: Regex = Regex::new( [INFO] [stdout] 28 | | r"^(?i)\s*//\s*cargo-deps\s*:(.*?)(\r\n|\n)").unwrap(); [INFO] [stdout] 29 | | static ref RE_MARGIN: Regex = Regex::new(r"^\s*\*( |$)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/manifest.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref RE_SHORT_MANIFEST: Regex = Regex::new( [INFO] [stdout] 28 | | r"^(?i)\s*//\s*cargo-deps\s*:(.*?)(\r\n|\n)").unwrap(); [INFO] [stdout] 29 | | static ref RE_MARGIN: Regex = Regex::new(r"^\s*\*( |$)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/manifest.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref RE_SHORT_MANIFEST: Regex = Regex::new( [INFO] [stdout] 28 | | r"^(?i)\s*//\s*cargo-deps\s*:(.*?)(\r\n|\n)").unwrap(); [INFO] [stdout] 29 | | static ref RE_MARGIN: Regex = Regex::new(r"^\s*\*( |$)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/manifest.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref RE_SHORT_MANIFEST: Regex = Regex::new( [INFO] [stdout] 28 | | r"^(?i)\s*//\s*cargo-deps\s*:(.*?)(\r\n|\n)").unwrap(); [INFO] [stdout] 29 | | static ref RE_MARGIN: Regex = Regex::new(r"^\s*\*( |$)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/manifest.rs:644:29 [INFO] [stdout] | [INFO] [stdout] 644 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/templates.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | static ref RE_SUB: Regex = Regex::new(r#"#\{([A-Za-z_][A-Za-z0-9_]*)}"#).unwrap(); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | Other(Blame, Box), [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] 32 | Other(Blame, Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:1505:5 [INFO] [stdout] | [INFO] [stdout] 1505 | / lazy_static! { [INFO] [stdout] 1506 | | static ref VER_JSON_MSGS: Version = Version::parse("0.18.0").unwrap(); [INFO] [stdout] 1507 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/main.rs:1642:5 [INFO] [stdout] | [INFO] [stdout] 1642 | / lazy_static! { [INFO] [stdout] 1643 | | static ref RE_VERSION: Regex = Regex::new(r#"^cargo[ -](\S+)"#).unwrap(); [INFO] [stdout] 1644 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/manifest.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref RE_SHORT_MANIFEST: Regex = Regex::new( [INFO] [stdout] 28 | | r"^(?i)\s*//\s*cargo-deps\s*:(.*?)(\r\n|\n)").unwrap(); [INFO] [stdout] 29 | | static ref RE_MARGIN: Regex = Regex::new(r"^\s*\*( |$)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/manifest.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref RE_SHORT_MANIFEST: Regex = Regex::new( [INFO] [stdout] 28 | | r"^(?i)\s*//\s*cargo-deps\s*:(.*?)(\r\n|\n)").unwrap(); [INFO] [stdout] 29 | | static ref RE_MARGIN: Regex = Regex::new(r"^\s*\*( |$)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/manifest.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref RE_SHORT_MANIFEST: Regex = Regex::new( [INFO] [stdout] 28 | | r"^(?i)\s*//\s*cargo-deps\s*:(.*?)(\r\n|\n)").unwrap(); [INFO] [stdout] 29 | | static ref RE_MARGIN: Regex = Regex::new(r"^\s*\*( |$)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/manifest.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref RE_SHORT_MANIFEST: Regex = Regex::new( [INFO] [stdout] 28 | | r"^(?i)\s*//\s*cargo-deps\s*:(.*?)(\r\n|\n)").unwrap(); [INFO] [stdout] 29 | | static ref RE_MARGIN: Regex = Regex::new(r"^\s*\*( |$)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/manifest.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref RE_SHORT_MANIFEST: Regex = Regex::new( [INFO] [stdout] 28 | | r"^(?i)\s*//\s*cargo-deps\s*:(.*?)(\r\n|\n)").unwrap(); [INFO] [stdout] 29 | | static ref RE_MARGIN: Regex = Regex::new(r"^\s*\*( |$)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/manifest.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref RE_SHORT_MANIFEST: Regex = Regex::new( [INFO] [stdout] 28 | | r"^(?i)\s*//\s*cargo-deps\s*:(.*?)(\r\n|\n)").unwrap(); [INFO] [stdout] 29 | | static ref RE_MARGIN: Regex = Regex::new(r"^\s*\*( |$)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/manifest.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / lazy_static! { [INFO] [stdout] 27 | | static ref RE_SHORT_MANIFEST: Regex = Regex::new( [INFO] [stdout] 28 | | r"^(?i)\s*//\s*cargo-deps\s*:(.*?)(\r\n|\n)").unwrap(); [INFO] [stdout] 29 | | static ref RE_MARGIN: Regex = Regex::new(r"^\s*\*( |$)").unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 42 | | }; [INFO] [stdout] 43 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/manifest.rs:644:29 [INFO] [stdout] | [INFO] [stdout] 644 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/templates.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | static ref RE_SUB: Regex = Regex::new(r#"#\{([A-Za-z_][A-Za-z0-9_]*)}"#).unwrap(); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | Other(Blame, Box), [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] 32 | Other(Blame, Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous associated item [INFO] [stdout] --> src/error.rs:135:43 [INFO] [stdout] | [INFO] [stdout] 135 | fn err_tag(self, msg: S) -> Result [INFO] [stdout] | ^^^^^^^^ help: use fully-qualified syntax: ` as ResultExt>::Ok` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #57644 [INFO] [stdout] note: `Ok` could refer to the variant defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:531:5 [INFO] [stdout] note: `Ok` could also refer to the associated type defined here [INFO] [stdout] --> src/error.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | type Ok; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: `#[deny(ambiguous_associated_items)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: ambiguous associated item [INFO] [stdout] --> src/error.rs:135:43 [INFO] [stdout] | [INFO] [stdout] 135 | fn err_tag(self, msg: S) -> Result [INFO] [stdout] | ^^^^^^^^ help: use fully-qualified syntax: ` as ResultExt>::Ok` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #57644 [INFO] [stdout] note: `Ok` could refer to the variant defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/result.rs:531:5 [INFO] [stdout] note: `Ok` could also refer to the associated type defined here [INFO] [stdout] --> src/error.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | type Ok; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = note: `#[deny(ambiguous_associated_items)]` on by default [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:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | Io(_, ref err) => err.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:94:38 [INFO] [stdout] | [INFO] [stdout] 94 | Other(_, ref err) => err.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:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | Io(_, ref err) => err.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:94:38 [INFO] [stdout] | [INFO] [stdout] 94 | Other(_, ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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/main.rs:1087:54 [INFO] [stdout] | [INFO] [stdout] 1087 | debug!("get_pkg_metadata error: {}", err.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/manifest.rs:644:17 [INFO] [stdout] | [INFO] [stdout] 644 | use std::ascii::AsciiExt; [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/main.rs:1087:54 [INFO] [stdout] | [INFO] [stdout] 1087 | debug!("get_pkg_metadata error: {}", err.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/manifest.rs:644:17 [INFO] [stdout] | [INFO] [stdout] 644 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `subslice_offset_stable` is never used [INFO] [stdout] --> src/util.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub trait SubsliceOffset { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 188 | fn subslice_offset_stable(&self, inner: &Self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/main.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | drop(&mut app); // avoid warning [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut App<'_, '_>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 327 - drop(&mut app); // avoid warning [INFO] [stdout] 327 + let _ = &mut app; // avoid warning [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 133 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-scripter` (bin "cargo-scripter") due to 6 previous errors; 133 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `subslice_offset_stable` is never used [INFO] [stdout] --> src/util.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub trait SubsliceOffset { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 188 | fn subslice_offset_stable(&self, inner: &Self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/main.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | drop(&mut app); // avoid warning [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut App<'_, '_>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 327 - drop(&mut app); // avoid warning [INFO] [stdout] 327 + let _ = &mut app; // avoid warning [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 133 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-scripter` (bin "cargo-scripter" test) due to 6 previous errors; 133 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3314f61be957a4940c84f15319667c754c372847c4f1a73b94aba2d1919f4637", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3314f61be957a4940c84f15319667c754c372847c4f1a73b94aba2d1919f4637", kill_on_drop: false }` [INFO] [stdout] 3314f61be957a4940c84f15319667c754c372847c4f1a73b94aba2d1919f4637