[INFO] fetching crate cargo-scripter 0.2.12... [INFO] testing cargo-scripter-0.2.12 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cargo-scripter 0.2.12 into /workspace/builds/worker-5-tc1/source [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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-scripter 0.2.12 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 87 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.40) [INFO] [stderr] Adding env_logger v0.4.3 (available: v0.11.8) [INFO] [stderr] Adding itertools v0.5.10 (available: v0.14.0) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.27) [INFO] [stderr] Adding open v1.7.1 (available: v5.3.2) [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.1) [INFO] [stderr] Adding rustc_version v0.1.7 (available: v0.4.1) [INFO] [stderr] Adding semver v0.5.1 (available: v1.0.26) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.41) [INFO] [stderr] Adding toml v0.2.1 (available: v0.8.23) [INFO] [stderr] Adding unicode-segmentation v0.1.2 (available: v0.1.3) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding winreg v0.4.0 (available: v0.55.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ktmw32-sys v0.1.1 [INFO] [stderr] Downloaded shaman v0.1.0 [INFO] [stderr] Downloaded semver-parser v0.6.2 [INFO] [stderr] Downloaded winreg v0.4.0 [INFO] [stderr] Downloaded semver v0.5.1 [INFO] [stderr] Downloaded bitflags v0.5.0 [INFO] [stderr] Downloaded strcursor v0.2.5 [INFO] [stderr] Downloaded toml v0.2.1 [INFO] [stderr] Downloaded itertools v0.5.10 [INFO] [stderr] Downloaded unicode-segmentation v0.1.2 [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 advapi32-sys v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15950de0d3a9bec3db6bae996e9aab76c9249f2d8436b67a1cd996eb3b3d4f73 [INFO] running `Command { std: "docker" "start" "-a" "15950de0d3a9bec3db6bae996e9aab76c9249f2d8436b67a1cd996eb3b3d4f73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15950de0d3a9bec3db6bae996e9aab76c9249f2d8436b67a1cd996eb3b3d4f73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15950de0d3a9bec3db6bae996e9aab76c9249f2d8436b67a1cd996eb3b3d4f73", kill_on_drop: false }` [INFO] [stdout] 15950de0d3a9bec3db6bae996e9aab76c9249f2d8436b67a1cd996eb3b3d4f73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] aca690bba459285a26fc0c699ffebe6a75a04ba0204c3b1606e688b9d6582b05 [INFO] running `Command { std: "docker" "start" "-a" "aca690bba459285a26fc0c699ffebe6a75a04ba0204c3b1606e688b9d6582b05", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling hoedown v6.0.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling cargo-scripter v0.2.12 (/opt/rustwide/workdir) [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling chan v0.1.23 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling semver-parser v0.6.2 [INFO] [stderr] Compiling semver v0.5.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling shaman v0.1.0 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling open v1.7.1 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [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] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [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] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/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: `docsrs`, `feature`, and `test` and 31 more [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 a dyn-compatible 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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:552: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/main.rs:1087:54 [INFO] [stdout] | [INFO] [stdout] 1087 | debug!("get_pkg_metadata error: {}", err.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PackageMetadata: Decodable` is not satisfied [INFO] [stdout] --> src/main.rs:1192:38 [INFO] [stdout] | [INFO] [stdout] 1192 | let meta: PackageMetadata = try!(rustc_serialize::json::decode(&meta_str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Decodable` is not implemented for `PackageMetadata` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required by a bound in `rustc_serialize::json::decode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:379:18 [INFO] [stdout] | [INFO] [stdout] 379 | pub fn decode(s: &str) -> DecodeResult { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `decode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PackageMetadata: Encodable` is not satisfied [INFO] [stdout] --> src/main.rs:1214:55 [INFO] [stdout] | [INFO] [stdout] 1214 | let meta_str = try!(rustc_serialize::json::encode(meta) [INFO] [stdout] | ----------------------------- ^^^^ the trait `Encodable` is not implemented for `PackageMetadata` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 76 others [INFO] [stdout] note: required by a bound in `rustc_serialize::json::encode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.25/src/json.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 390 | pub fn encode(object: &T) -> EncodeResult { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `encode` [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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-scripter` (bin "cargo-scripter") due to 5 previous errors; 129 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aca690bba459285a26fc0c699ffebe6a75a04ba0204c3b1606e688b9d6582b05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aca690bba459285a26fc0c699ffebe6a75a04ba0204c3b1606e688b9d6582b05", kill_on_drop: false }` [INFO] [stdout] aca690bba459285a26fc0c699ffebe6a75a04ba0204c3b1606e688b9d6582b05