[INFO] cloning repository https://github.com/tailhook/bulk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tailhook/bulk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftailhook%2Fbulk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftailhook%2Fbulk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0cbb96db62f48410812eb3e2e47862f6545b9f38 [INFO] testing tailhook/bulk against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftailhook%2Fbulk" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tailhook/bulk on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tailhook/bulk [INFO] finished tweaking git repo https://github.com/tailhook/bulk [INFO] tweaked toml for git repo https://github.com/tailhook/bulk written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/tailhook/bulk already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff67a45f8612426699f84b280194f278aff62ae423cbd20e21ea578b014d709a [INFO] running `Command { std: "docker" "start" "-a" "ff67a45f8612426699f84b280194f278aff62ae423cbd20e21ea578b014d709a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff67a45f8612426699f84b280194f278aff62ae423cbd20e21ea578b014d709a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff67a45f8612426699f84b280194f278aff62ae423cbd20e21ea578b014d709a", kill_on_drop: false }` [INFO] [stdout] ff67a45f8612426699f84b280194f278aff62ae423cbd20e21ea578b014d709a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1c2907b22918cfb6b4fd09de5fed37203a7f11a6a1aef18a4192b13cc8194c9 [INFO] running `Command { std: "docker" "start" "-a" "d1c2907b22918cfb6b4fd09de5fed37203a7f11a6a1aef18a4192b13cc8194c9", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling argparse v0.2.1 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling libz-sys v1.0.18 [INFO] [stderr] Compiling cmake v0.1.31 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling filetime v0.2.1 [INFO] [stderr] Compiling scan_dir v0.3.3 [INFO] [stderr] Compiling tempfile v3.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling regex v1.0.1 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling tar v0.4.16 [INFO] [stderr] Compiling libgit2-sys v0.7.4 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Compiling syn v0.14.4 [INFO] [stderr] Compiling env_logger v0.5.10 [INFO] [stderr] Compiling failure v0.1.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling humannum v0.1.0 [INFO] [stderr] Compiling quire v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.70 [INFO] [stderr] Compiling git2 v0.7.2 [INFO] [stderr] Compiling bulk v0.4.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/deb_ext.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | try!(write!(self, "{}:\n", key)); [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/deb_ext.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | try!(write!(self, " {}\n", _control_multiline(line.as_ref()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_file.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | try!(hash_stream(&mut sha256, &mut file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_file.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | let mut file = try!(File::open(filename.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(member.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | let mut member = try!(arch.read_file("debian-binary")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let member = try!(arch.read_file("control.tar.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | let mut arch = tar::Archive::new(try!(gzip::Decoder::new(member))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | for entry in try!(arch.entries()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | 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/repo/metadata.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | if try!(entry.path()) == Path::new("control") { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | let control = try!(deb::parse_control(entry)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | name: try!(hash.get(&"Package".into()).map(Clone::clone) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | arch: try!(hash.get(&"Architecture".into()).map(Clone::clone) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | version: try!(hash.get(&"Version".into()).map(Clone::clone) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/ar.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | try!(stream.read(&mut sig)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/ar.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let bytes = try!(self.0.read(&mut buf[..61])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/ar.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | let bytes = try!(self.0.read(&mut buf[..60])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/ar.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | let size = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/deb.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let line = try!(line); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | let mut datas = try!(parse_control(try!(File::open(path)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:140:44 [INFO] [stdout] | [INFO] [stdout] 140 | let mut datas = try!(parse_control(try!(File::open(path)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | let codename = try!(data.remove(&"Codename".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | let architectures = try!(data.remove(&"Architectures".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 151 | let components = try!(data.remove(&"Components".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 164 | let size = try!(size.parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | try!(out.write_kv("Codename", &self.codename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | try!(out.write_kv("Date", &format!("{}", now_utc().rfc822z()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | try!(out.write_kv("Architectures", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | try!(out.write_kv("Components", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | try!(out.write_kv_lines("SHA256", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | let items = try!(parse_control(try!(File::open(path)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:203:40 [INFO] [stdout] | [INFO] [stdout] 203 | let items = try!(parse_control(try!(File::open(path)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let name = try!(control.remove(&"Package".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | let version = Version(try!(control.remove(&"Version".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | let architecture = try!(control.remove(&"Architecture".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:217:31 [INFO] [stdout] | [INFO] [stdout] 217 | filename: try!(control.remove(&"Filename".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 219 | size: try!(try!(control.remove(&"Size".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | size: try!(try!(control.remove(&"Size".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | sha256: try!(control.remove(&"SHA256".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | try!(out.write_kv("Package", &p.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | try!(out.write_kv("Version", p.version.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | try!(out.write_kv("Architecture", &p.architecture)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | try!(out.write_kv("Filename", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | try!(out.write_kv("SHA256", &p.sha256)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | try!(out.write_kv("Size", &format!("{}", p.size))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | try!(out.write_all(b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | try!(out.write_kv(k, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | try!(Release::read(&release_file).context(&release_file)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | try!(Packages::read(&packages_file).context(&packages_file)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | try!(create_dir_all(&dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | try!(pkg.output(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | try!(File::create(&tmp).and_then(|mut f| f.write_all(&buf))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | try!(suite.output(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:403:46 [INFO] [stdout] | [INFO] [stdout] 403 | let ref mut buf = BufWriter::new(try!(File::create(&tmp))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | try!(create_dir_all(&realdest.parent().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | try!(copy(src, &tmpname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | try!(rename(a, b)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/ar.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | try!(file.write_all(b"!\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/ar.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | try!(write!(&mut self.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/ar.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | let pos = try!(self.0.seek(SeekFrom::Current(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/tar.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let meta = try!(symlink_metadata(&fullpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/tar.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let mut file = try!(File::open(&fullpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/tar.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | try!(head.set_link_name(lnk)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/tar.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | let lnk = try!(read_link(&fullpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | try!(out.write_kv("Package", &meta.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | try!(out.write_kv("Version", &version)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | try!(out.write_kv("Maintainer", "bulk")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | try!(out.write_kv("Architecture", architecture)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | try!(out.write_kv("Description", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | try!(out.write_kv("Depends", deps)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(ar.add("debian-binary", mtime, 0, 0, 0o100644, 4) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let mut ar = try!(ArArchive::new(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | let control = try!(ar.add("control.tar.gz", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let data = try!(ar.add("data.tar.gz", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | let mut files = try!(scan_dir::ScanDir::all().skip_backup(true) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | try!(write_deb(&tmpname, dir, &meta, &version) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | try!(rename(&tmpname, &dest) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pack/mod.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | -> Result<(), Box> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | let cfg = try!(Config::parse_file(config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | try!(ver::get(&cfg, Path::new("."))).0 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | let ref meta = try!(cfg.metadata [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | try!(create_dir(&destdir) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | try!(remove_file(&dest) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/scanner.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | ... Some(try!(re::compile(regex))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/scanner.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | ... Some(try!(re::compile(regex))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/scanner.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | regex: try!(re::compile(&cfg.regex)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/scanner.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | ... Some(try!(re::compile(regex))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/commit.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/commit.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/commit.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | fn spawn_editor(file_name: &Path) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/commit.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | -> Result<(), Box> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:28:69 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get(cfg: &Config, dir: &Path) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | let scanner = try!(scanner::Scanner::new(&item) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | try!(iter.error()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | let (lineno, line) = try!(res); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | let cfg = try!(Config::parse_file(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | let scanner = try!(scanner::Scanner::new(&item) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | try!(iter.error()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | let (lineno, line) = try!(res); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:176:23 [INFO] [stdout] | [INFO] [stdout] 176 | let scanner = try!(scanner::Scanner::new(&item) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(Lines::iter(file).map(|res| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | try!(scanners.into_iter().map(Iter::error) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:196:38 [INFO] [stdout] | [INFO] [stdout] 196 | let mut out = BufWriter::new(try!(File::create(&tmp))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:201:34 [INFO] [stdout] | [INFO] [stdout] 201 | let (lineno, line) = try!(res); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:491:44 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn git_version() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/re.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref CACHE: Mutex>> = [INFO] [stdout] 9 | | Mutex::new(HashMap::new()); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/repo/debian.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / quick_error! { [INFO] [stdout] 69 | | #[derive(Debug)] [INFO] [stdout] 70 | | pub enum ReleaseFileRead { [INFO] [stdout] 71 | | Io(err: io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/repo/debian.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / quick_error! { [INFO] [stdout] 69 | | #[derive(Debug)] [INFO] [stdout] 70 | | pub enum ReleaseFileRead { [INFO] [stdout] 71 | | Io(err: io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/deb_ext.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | let trimmed_len = val.trim_right().len(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/ver/mod.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | .map(|&(ref x, exact)| (x.trim_left_matches('v'), exact)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/ver/mod.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | ... line.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/ver/mod.rs:219:39 [INFO] [stdout] | [INFO] [stdout] 219 | ... nline.trim_right()).ok(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/ver/commit.rs:213:39 [INFO] [stdout] | [INFO] [stdout] 213 | message.push_str(line.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 117 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.43s [INFO] running `Command { std: "docker" "inspect" "d1c2907b22918cfb6b4fd09de5fed37203a7f11a6a1aef18a4192b13cc8194c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1c2907b22918cfb6b4fd09de5fed37203a7f11a6a1aef18a4192b13cc8194c9", kill_on_drop: false }` [INFO] [stdout] d1c2907b22918cfb6b4fd09de5fed37203a7f11a6a1aef18a4192b13cc8194c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9464277f8c73cabc2239e21b91e3cb180faf81f0f5176f823a92173f711907d [INFO] running `Command { std: "docker" "start" "-a" "f9464277f8c73cabc2239e21b91e3cb180faf81f0f5176f823a92173f711907d", kill_on_drop: false }` [INFO] [stderr] Compiling environment v0.1.1 [INFO] [stderr] Compiling colored v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.22 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/deb_ext.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | try!(write!(self, "{}:\n", key)); [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/deb_ext.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | try!(write!(self, " {}\n", _control_multiline(line.as_ref()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_file.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | try!(hash_stream(&mut sha256, &mut file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_file.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | let mut file = try!(File::open(filename.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(member.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | let mut member = try!(arch.read_file("debian-binary")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let member = try!(arch.read_file("control.tar.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | let mut arch = tar::Archive::new(try!(gzip::Decoder::new(member))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | for entry in try!(arch.entries()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | 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/repo/metadata.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | if try!(entry.path()) == Path::new("control") { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | let control = try!(deb::parse_control(entry)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | name: try!(hash.get(&"Package".into()).map(Clone::clone) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | arch: try!(hash.get(&"Architecture".into()).map(Clone::clone) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | version: try!(hash.get(&"Version".into()).map(Clone::clone) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/ar.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | try!(stream.read(&mut sig)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/ar.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let bytes = try!(self.0.read(&mut buf[..61])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/ar.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | let bytes = try!(self.0.read(&mut buf[..60])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/ar.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | let size = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/deb.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let line = try!(line); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | let mut datas = try!(parse_control(try!(File::open(path)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:140:44 [INFO] [stdout] | [INFO] [stdout] 140 | let mut datas = try!(parse_control(try!(File::open(path)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | let codename = try!(data.remove(&"Codename".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | let architectures = try!(data.remove(&"Architectures".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 151 | let components = try!(data.remove(&"Components".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 164 | let size = try!(size.parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | try!(out.write_kv("Codename", &self.codename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | try!(out.write_kv("Date", &format!("{}", now_utc().rfc822z()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | try!(out.write_kv("Architectures", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | try!(out.write_kv("Components", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | try!(out.write_kv_lines("SHA256", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | let items = try!(parse_control(try!(File::open(path)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:203:40 [INFO] [stdout] | [INFO] [stdout] 203 | let items = try!(parse_control(try!(File::open(path)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let name = try!(control.remove(&"Package".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | let version = Version(try!(control.remove(&"Version".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | let architecture = try!(control.remove(&"Architecture".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:217:31 [INFO] [stdout] | [INFO] [stdout] 217 | filename: try!(control.remove(&"Filename".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 219 | size: try!(try!(control.remove(&"Size".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | size: try!(try!(control.remove(&"Size".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | sha256: try!(control.remove(&"SHA256".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | try!(out.write_kv("Package", &p.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | try!(out.write_kv("Version", p.version.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | try!(out.write_kv("Architecture", &p.architecture)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | try!(out.write_kv("Filename", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | try!(out.write_kv("SHA256", &p.sha256)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | try!(out.write_kv("Size", &format!("{}", p.size))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | try!(out.write_all(b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | try!(out.write_kv(k, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | try!(Release::read(&release_file).context(&release_file)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | try!(Packages::read(&packages_file).context(&packages_file)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | try!(create_dir_all(&dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | try!(pkg.output(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | try!(File::create(&tmp).and_then(|mut f| f.write_all(&buf))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | try!(suite.output(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:403:46 [INFO] [stdout] | [INFO] [stdout] 403 | let ref mut buf = BufWriter::new(try!(File::create(&tmp))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | try!(create_dir_all(&realdest.parent().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | try!(copy(src, &tmpname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | try!(rename(a, b)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/ar.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | try!(file.write_all(b"!\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/ar.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | try!(write!(&mut self.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/ar.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | let pos = try!(self.0.seek(SeekFrom::Current(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/tar.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let meta = try!(symlink_metadata(&fullpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/tar.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let mut file = try!(File::open(&fullpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/tar.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | try!(head.set_link_name(lnk)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/tar.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | let lnk = try!(read_link(&fullpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | try!(out.write_kv("Package", &meta.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | try!(out.write_kv("Version", &version)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | try!(out.write_kv("Maintainer", "bulk")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | try!(out.write_kv("Architecture", architecture)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | try!(out.write_kv("Description", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | try!(out.write_kv("Depends", deps)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(ar.add("debian-binary", mtime, 0, 0, 0o100644, 4) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let mut ar = try!(ArArchive::new(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | let control = try!(ar.add("control.tar.gz", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let data = try!(ar.add("data.tar.gz", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | let mut files = try!(scan_dir::ScanDir::all().skip_backup(true) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | try!(write_deb(&tmpname, dir, &meta, &version) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | try!(rename(&tmpname, &dest) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pack/mod.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | -> Result<(), Box> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | let cfg = try!(Config::parse_file(config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | try!(ver::get(&cfg, Path::new("."))).0 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | let ref meta = try!(cfg.metadata [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | try!(create_dir(&destdir) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | try!(remove_file(&dest) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/scanner.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | ... Some(try!(re::compile(regex))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/scanner.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | ... Some(try!(re::compile(regex))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/scanner.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | regex: try!(re::compile(&cfg.regex)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/scanner.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | ... Some(try!(re::compile(regex))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/commit.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/commit.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/commit.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | fn spawn_editor(file_name: &Path) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/commit.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | -> Result<(), Box> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:28:69 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get(cfg: &Config, dir: &Path) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | let scanner = try!(scanner::Scanner::new(&item) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | try!(iter.error()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | let (lineno, line) = try!(res); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | let cfg = try!(Config::parse_file(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | let scanner = try!(scanner::Scanner::new(&item) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | try!(iter.error()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | let (lineno, line) = try!(res); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:176:23 [INFO] [stdout] | [INFO] [stdout] 176 | let scanner = try!(scanner::Scanner::new(&item) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(Lines::iter(file).map(|res| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | try!(scanners.into_iter().map(Iter::error) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:196:38 [INFO] [stdout] | [INFO] [stdout] 196 | let mut out = BufWriter::new(try!(File::create(&tmp))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:201:34 [INFO] [stdout] | [INFO] [stdout] 201 | let (lineno, line) = try!(res); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:491:44 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn git_version() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/re.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref CACHE: Mutex>> = [INFO] [stdout] 9 | | Mutex::new(HashMap::new()); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/repo/debian.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / quick_error! { [INFO] [stdout] 69 | | #[derive(Debug)] [INFO] [stdout] 70 | | pub enum ReleaseFileRead { [INFO] [stdout] 71 | | Io(err: io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/repo/debian.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / quick_error! { [INFO] [stdout] 69 | | #[derive(Debug)] [INFO] [stdout] 70 | | pub enum ReleaseFileRead { [INFO] [stdout] 71 | | Io(err: io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/deb_ext.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | let trimmed_len = val.trim_right().len(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/ver/mod.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | .map(|&(ref x, exact)| (x.trim_left_matches('v'), exact)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/ver/mod.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | ... line.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/ver/mod.rs:219:39 [INFO] [stdout] | [INFO] [stdout] 219 | ... nline.trim_right()).ok(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/ver/commit.rs:213:39 [INFO] [stdout] | [INFO] [stdout] 213 | message.push_str(line.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 117 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling assert_cli v0.6.2 [INFO] [stderr] Compiling bulk v0.4.12 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/deb_ext.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | try!(write!(self, "{}:\n", key)); [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/deb_ext.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | try!(write!(self, " {}\n", _control_multiline(line.as_ref()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_file.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | try!(hash_stream(&mut sha256, &mut file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_file.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | let mut file = try!(File::open(filename.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(member.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | let mut member = try!(arch.read_file("debian-binary")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let member = try!(arch.read_file("control.tar.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | let mut arch = tar::Archive::new(try!(gzip::Decoder::new(member))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | for entry in try!(arch.entries()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | 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/repo/metadata.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | if try!(entry.path()) == Path::new("control") { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | let control = try!(deb::parse_control(entry)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | name: try!(hash.get(&"Package".into()).map(Clone::clone) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | arch: try!(hash.get(&"Architecture".into()).map(Clone::clone) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | version: try!(hash.get(&"Version".into()).map(Clone::clone) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/ar.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | try!(stream.read(&mut sig)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/ar.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let bytes = try!(self.0.read(&mut buf[..61])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/ar.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | let bytes = try!(self.0.read(&mut buf[..60])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/ar.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | let size = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/deb.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let line = try!(line); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | let mut datas = try!(parse_control(try!(File::open(path)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:140:44 [INFO] [stdout] | [INFO] [stdout] 140 | let mut datas = try!(parse_control(try!(File::open(path)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | let codename = try!(data.remove(&"Codename".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | let architectures = try!(data.remove(&"Architectures".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 151 | let components = try!(data.remove(&"Components".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 164 | let size = try!(size.parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | try!(out.write_kv("Codename", &self.codename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | try!(out.write_kv("Date", &format!("{}", now_utc().rfc822z()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | try!(out.write_kv("Architectures", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | try!(out.write_kv("Components", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | try!(out.write_kv_lines("SHA256", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | let items = try!(parse_control(try!(File::open(path)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:203:40 [INFO] [stdout] | [INFO] [stdout] 203 | let items = try!(parse_control(try!(File::open(path)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let name = try!(control.remove(&"Package".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | let version = Version(try!(control.remove(&"Version".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | let architecture = try!(control.remove(&"Architecture".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:217:31 [INFO] [stdout] | [INFO] [stdout] 217 | filename: try!(control.remove(&"Filename".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 219 | size: try!(try!(control.remove(&"Size".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | size: try!(try!(control.remove(&"Size".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | sha256: try!(control.remove(&"SHA256".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | try!(out.write_kv("Package", &p.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | try!(out.write_kv("Version", p.version.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | try!(out.write_kv("Architecture", &p.architecture)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | try!(out.write_kv("Filename", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | try!(out.write_kv("SHA256", &p.sha256)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | try!(out.write_kv("Size", &format!("{}", p.size))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | try!(out.write_all(b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | try!(out.write_kv(k, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | try!(Release::read(&release_file).context(&release_file)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | try!(Packages::read(&packages_file).context(&packages_file)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | try!(create_dir_all(&dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | try!(pkg.output(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | try!(File::create(&tmp).and_then(|mut f| f.write_all(&buf))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | try!(suite.output(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:403:46 [INFO] [stdout] | [INFO] [stdout] 403 | let ref mut buf = BufWriter::new(try!(File::create(&tmp))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | try!(create_dir_all(&realdest.parent().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | try!(copy(src, &tmpname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | try!(rename(a, b)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/ar.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | try!(file.write_all(b"!\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/ar.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | try!(write!(&mut self.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/ar.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | let pos = try!(self.0.seek(SeekFrom::Current(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/tar.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let meta = try!(symlink_metadata(&fullpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/tar.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let mut file = try!(File::open(&fullpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/tar.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | try!(head.set_link_name(lnk)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/tar.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | let lnk = try!(read_link(&fullpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | try!(out.write_kv("Package", &meta.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | try!(out.write_kv("Version", &version)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | try!(out.write_kv("Maintainer", "bulk")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | try!(out.write_kv("Architecture", architecture)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | try!(out.write_kv("Description", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | try!(out.write_kv("Depends", deps)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(ar.add("debian-binary", mtime, 0, 0, 0o100644, 4) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let mut ar = try!(ArArchive::new(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | let control = try!(ar.add("control.tar.gz", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let data = try!(ar.add("data.tar.gz", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | let mut files = try!(scan_dir::ScanDir::all().skip_backup(true) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | try!(write_deb(&tmpname, dir, &meta, &version) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | try!(rename(&tmpname, &dest) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pack/mod.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | -> Result<(), Box> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | let cfg = try!(Config::parse_file(config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | try!(ver::get(&cfg, Path::new("."))).0 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | let ref meta = try!(cfg.metadata [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | try!(create_dir(&destdir) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | try!(remove_file(&dest) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/scanner.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | ... Some(try!(re::compile(regex))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/scanner.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | ... Some(try!(re::compile(regex))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/scanner.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | regex: try!(re::compile(&cfg.regex)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/scanner.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | ... Some(try!(re::compile(regex))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/commit.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/commit.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/commit.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | fn spawn_editor(file_name: &Path) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/commit.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | -> Result<(), Box> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:28:69 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get(cfg: &Config, dir: &Path) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | let scanner = try!(scanner::Scanner::new(&item) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | try!(iter.error()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | let (lineno, line) = try!(res); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | let cfg = try!(Config::parse_file(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | let scanner = try!(scanner::Scanner::new(&item) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | try!(iter.error()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | let (lineno, line) = try!(res); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:176:23 [INFO] [stdout] | [INFO] [stdout] 176 | let scanner = try!(scanner::Scanner::new(&item) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(Lines::iter(file).map(|res| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | try!(scanners.into_iter().map(Iter::error) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:196:38 [INFO] [stdout] | [INFO] [stdout] 196 | let mut out = BufWriter::new(try!(File::create(&tmp))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:201:34 [INFO] [stdout] | [INFO] [stdout] 201 | let (lineno, line) = try!(res); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:491:44 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn git_version() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/re.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref CACHE: Mutex>> = [INFO] [stdout] 9 | | Mutex::new(HashMap::new()); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/repo/debian.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / quick_error! { [INFO] [stdout] 69 | | #[derive(Debug)] [INFO] [stdout] 70 | | pub enum ReleaseFileRead { [INFO] [stdout] 71 | | Io(err: io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/repo/debian.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / quick_error! { [INFO] [stdout] 69 | | #[derive(Debug)] [INFO] [stdout] 70 | | pub enum ReleaseFileRead { [INFO] [stdout] 71 | | Io(err: io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/deb_ext.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | let trimmed_len = val.trim_right().len(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/ver/mod.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | .map(|&(ref x, exact)| (x.trim_left_matches('v'), exact)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/ver/mod.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | ... line.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/ver/mod.rs:219:39 [INFO] [stdout] | [INFO] [stdout] 219 | ... nline.trim_right()).ok(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/ver/commit.rs:213:39 [INFO] [stdout] | [INFO] [stdout] 213 | message.push_str(line.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 117 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.73s [INFO] running `Command { std: "docker" "inspect" "f9464277f8c73cabc2239e21b91e3cb180faf81f0f5176f823a92173f711907d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9464277f8c73cabc2239e21b91e3cb180faf81f0f5176f823a92173f711907d", kill_on_drop: false }` [INFO] [stdout] f9464277f8c73cabc2239e21b91e3cb180faf81f0f5176f823a92173f711907d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 29b638aca5acb24b29acda5e9e6a16169df4d82d5aba52182e265c315b53caa7 [INFO] running `Command { std: "docker" "start" "-a" "29b638aca5acb24b29acda5e9e6a16169df4d82d5aba52182e265c315b53caa7", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/deb_ext.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | try!(write!(self, "{}:\n", key)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/deb_ext.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | try!(write!(self, " {}\n", _control_multiline(line.as_ref()))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/hash_file.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | try!(hash_stream(&mut sha256, &mut file)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/hash_file.rs:26:20 [INFO] [stderr] | [INFO] [stderr] 26 | let mut file = try!(File::open(filename.as_ref())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/metadata.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | try!(member.read_to_string(&mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/metadata.rs:32:26 [INFO] [stderr] | [INFO] [stderr] 32 | let mut member = try!(arch.read_file("debian-binary")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/metadata.rs:38:18 [INFO] [stderr] | [INFO] [stderr] 38 | let member = try!(arch.read_file("control.tar.gz")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/metadata.rs:39:38 [INFO] [stderr] | [INFO] [stderr] 39 | let mut arch = tar::Archive::new(try!(gzip::Decoder::new(member))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/metadata.rs:40:18 [INFO] [stderr] | [INFO] [stderr] 40 | for entry in try!(arch.entries()) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/metadata.rs:41:21 [INFO] [stderr] | [INFO] [stderr] 41 | let entry = try!(entry); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/metadata.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | if try!(entry.path()) == Path::new("control") { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/metadata.rs:43:27 [INFO] [stderr] | [INFO] [stderr] 43 | let control = try!(deb::parse_control(entry)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/metadata.rs:50:23 [INFO] [stderr] | [INFO] [stderr] 50 | name: try!(hash.get(&"Package".into()).map(Clone::clone) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/metadata.rs:52:23 [INFO] [stderr] | [INFO] [stderr] 52 | arch: try!(hash.get(&"Architecture".into()).map(Clone::clone) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/metadata.rs:54:26 [INFO] [stderr] | [INFO] [stderr] 54 | version: try!(hash.get(&"Version".into()).map(Clone::clone) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/ar.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | try!(stream.read(&mut sig)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/ar.rs:35:29 [INFO] [stderr] | [INFO] [stderr] 35 | let bytes = try!(self.0.read(&mut buf[..61])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/ar.rs:41:29 [INFO] [stderr] | [INFO] [stderr] 41 | let bytes = try!(self.0.read(&mut buf[..60])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/ar.rs:56:20 [INFO] [stderr] | [INFO] [stderr] 56 | let size = try!( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/deb.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | let line = try!(line); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:140:25 [INFO] [stderr] | [INFO] [stderr] 140 | let mut datas = try!(parse_control(try!(File::open(path)))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:140:44 [INFO] [stderr] | [INFO] [stderr] 140 | let mut datas = try!(parse_control(try!(File::open(path)))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:145:24 [INFO] [stderr] | [INFO] [stderr] 145 | let codename = try!(data.remove(&"Codename".into()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:147:29 [INFO] [stderr] | [INFO] [stderr] 147 | let architectures = try!(data.remove(&"Architectures".into()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:151:26 [INFO] [stderr] | [INFO] [stderr] 151 | let components = try!(data.remove(&"Components".into()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:164:32 [INFO] [stderr] | [INFO] [stderr] 164 | let size = try!(size.parse()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:181:9 [INFO] [stderr] | [INFO] [stderr] 181 | try!(out.write_kv("Codename", &self.codename)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:184:9 [INFO] [stderr] | [INFO] [stderr] 184 | try!(out.write_kv("Date", &format!("{}", now_utc().rfc822z()))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:185:9 [INFO] [stderr] | [INFO] [stderr] 185 | try!(out.write_kv("Architectures", [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:188:9 [INFO] [stderr] | [INFO] [stderr] 188 | try!(out.write_kv("Components", [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:191:9 [INFO] [stderr] | [INFO] [stderr] 191 | try!(out.write_kv_lines("SHA256", [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:203:21 [INFO] [stderr] | [INFO] [stderr] 203 | let items = try!(parse_control(try!(File::open(path)))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:203:40 [INFO] [stderr] | [INFO] [stderr] 203 | let items = try!(parse_control(try!(File::open(path)))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:205:24 [INFO] [stderr] | [INFO] [stderr] 205 | let name = try!(control.remove(&"Package".into()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:207:35 [INFO] [stderr] | [INFO] [stderr] 207 | let version = Version(try!(control.remove(&"Version".into()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:209:32 [INFO] [stderr] | [INFO] [stderr] 209 | let architecture = try!(control.remove(&"Architecture".into()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:217:31 [INFO] [stderr] | [INFO] [stderr] 217 | filename: try!(control.remove(&"Filename".into()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:219:27 [INFO] [stderr] | [INFO] [stderr] 219 | size: try!(try!(control.remove(&"Size".into()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:219:32 [INFO] [stderr] | [INFO] [stderr] 219 | size: try!(try!(control.remove(&"Size".into()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:221:29 [INFO] [stderr] | [INFO] [stderr] 221 | sha256: try!(control.remove(&"SHA256".into()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:231:17 [INFO] [stderr] | [INFO] [stderr] 231 | try!(out.write_kv("Package", &p.name)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:232:17 [INFO] [stderr] | [INFO] [stderr] 232 | try!(out.write_kv("Version", p.version.as_ref())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:233:17 [INFO] [stderr] | [INFO] [stderr] 233 | try!(out.write_kv("Architecture", &p.architecture)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:234:17 [INFO] [stderr] | [INFO] [stderr] 234 | try!(out.write_kv("Filename", [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:236:17 [INFO] [stderr] | [INFO] [stderr] 236 | try!(out.write_kv("SHA256", &p.sha256)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:237:17 [INFO] [stderr] | [INFO] [stderr] 237 | try!(out.write_kv("Size", &format!("{}", p.size))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:246:17 [INFO] [stderr] | [INFO] [stderr] 246 | try!(out.write_all(b"\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:243:25 [INFO] [stderr] | [INFO] [stderr] 243 | try!(out.write_kv(k, v)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:330:17 [INFO] [stderr] | [INFO] [stderr] 330 | try!(Release::read(&release_file).context(&release_file)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:351:17 [INFO] [stderr] | [INFO] [stderr] 351 | try!(Packages::read(&packages_file).context(&packages_file)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:386:13 [INFO] [stderr] | [INFO] [stderr] 386 | try!(create_dir_all(&dir)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:389:13 [INFO] [stderr] | [INFO] [stderr] 389 | try!(pkg.output(&mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:390:13 [INFO] [stderr] | [INFO] [stderr] 390 | try!(File::create(&tmp).and_then(|mut f| f.write_all(&buf))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:404:13 [INFO] [stderr] | [INFO] [stderr] 404 | try!(suite.output(buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:403:46 [INFO] [stderr] | [INFO] [stderr] 403 | let ref mut buf = BufWriter::new(try!(File::create(&tmp))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:412:13 [INFO] [stderr] | [INFO] [stderr] 412 | try!(create_dir_all(&realdest.parent().unwrap())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:413:13 [INFO] [stderr] | [INFO] [stderr] 413 | try!(copy(src, &tmpname)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/repo/debian.rs:417:13 [INFO] [stderr] | [INFO] [stderr] 417 | try!(rename(a, b)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/ar.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | try!(file.write_all(b"!\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/ar.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | try!(write!(&mut self.0, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/ar.rs:63:19 [INFO] [stderr] | [INFO] [stderr] 63 | let pos = try!(self.0.seek(SeekFrom::Current(0))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/tar.rs:38:20 [INFO] [stderr] | [INFO] [stderr] 38 | let meta = try!(symlink_metadata(&fullpath)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/tar.rs:45:28 [INFO] [stderr] | [INFO] [stderr] 45 | let mut file = try!(File::open(&fullpath)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/tar.rs:55:13 [INFO] [stderr] | [INFO] [stderr] 55 | try!(head.set_link_name(lnk)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/tar.rs:52:23 [INFO] [stderr] | [INFO] [stderr] 52 | let lnk = try!(read_link(&fullpath)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/deb.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | try!(out.write_kv("Package", &meta.name)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/deb.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | try!(out.write_kv("Version", &version)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/deb.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | try!(out.write_kv("Maintainer", "bulk")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/deb.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | try!(out.write_kv("Architecture", architecture)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/deb.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | try!(out.write_kv("Description", [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/deb.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | try!(out.write_kv("Depends", deps)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/mod.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | try!(ar.add("debian-binary", mtime, 0, 0, 0o100644, 4) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/mod.rs:32:18 [INFO] [stderr] | [INFO] [stderr] 32 | let mut ar = try!(ArArchive::new(file)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/mod.rs:38:23 [INFO] [stderr] | [INFO] [stderr] 38 | let control = try!(ar.add("control.tar.gz", [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/mod.rs:51:20 [INFO] [stderr] | [INFO] [stderr] 51 | let data = try!(ar.add("data.tar.gz", [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/mod.rs:54:25 [INFO] [stderr] | [INFO] [stderr] 54 | let mut files = try!(scan_dir::ScanDir::all().skip_backup(true) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/mod.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | try!(write_deb(&tmpname, dir, &meta, &version) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/mod.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | try!(rename(&tmpname, &dest) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/pack/mod.rs:77:23 [INFO] [stderr] | [INFO] [stderr] 77 | -> Result<(), Box> [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/mod.rs:79:15 [INFO] [stderr] | [INFO] [stderr] 79 | let cfg = try!(Config::parse_file(config)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/mod.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | try!(ver::get(&cfg, Path::new("."))).0 [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/mod.rs:87:20 [INFO] [stderr] | [INFO] [stderr] 87 | let ref meta = try!(cfg.metadata [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/mod.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | try!(create_dir(&destdir) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/pack/mod.rs:101:9 [INFO] [stderr] | [INFO] [stderr] 101 | try!(remove_file(&dest) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ver/scanner.rs:128:35 [INFO] [stderr] | [INFO] [stderr] 128 | ... Some(try!(re::compile(regex))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ver/scanner.rs:131:33 [INFO] [stderr] | [INFO] [stderr] 131 | ... Some(try!(re::compile(regex))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ver/scanner.rs:133:20 [INFO] [stderr] | [INFO] [stderr] 133 | regex: try!(re::compile(&cfg.regex)), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ver/scanner.rs:136:33 [INFO] [stderr] | [INFO] [stderr] 136 | ... Some(try!(re::compile(regex))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ver/commit.rs:18:31 [INFO] [stderr] | [INFO] [stderr] 18 | -> Result> [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ver/commit.rs:51:34 [INFO] [stderr] | [INFO] [stderr] 51 | -> Result> [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ver/commit.rs:106:53 [INFO] [stderr] | [INFO] [stderr] 106 | fn spawn_editor(file_name: &Path) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ver/commit.rs:162:23 [INFO] [stderr] | [INFO] [stderr] 162 | -> Result<(), Box> [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ver/mod.rs:28:69 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn get(cfg: &Config, dir: &Path) -> Result, Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ver/mod.rs:33:23 [INFO] [stderr] | [INFO] [stderr] 33 | let scanner = try!(scanner::Scanner::new(&item) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ver/mod.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | try!(iter.error()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ver/mod.rs:44:38 [INFO] [stderr] | [INFO] [stderr] 44 | let (lineno, line) = try!(res); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ver/mod.rs:59:25 [INFO] [stderr] | [INFO] [stderr] 59 | -> Result> [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ver/mod.rs:70:15 [INFO] [stderr] | [INFO] [stderr] 70 | let cfg = try!(Config::parse_file(&config)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ver/mod.rs:77:23 [INFO] [stderr] | [INFO] [stderr] 77 | let scanner = try!(scanner::Scanner::new(&item) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ver/mod.rs:128:13 [INFO] [stderr] | [INFO] [stderr] 128 | try!(iter.error()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ver/mod.rs:88:38 [INFO] [stderr] | [INFO] [stderr] 88 | let (lineno, line) = try!(res); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ver/mod.rs:140:27 [INFO] [stderr] | [INFO] [stderr] 140 | -> Result> [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ver/mod.rs:170:27 [INFO] [stderr] | [INFO] [stderr] 170 | -> Result> [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ver/mod.rs:176:23 [INFO] [stderr] | [INFO] [stderr] 176 | let scanner = try!(scanner::Scanner::new(&item) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ver/mod.rs:200:9 [INFO] [stderr] | [INFO] [stderr] 200 | try!(Lines::iter(file).map(|res| { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ver/mod.rs:254:9 [INFO] [stderr] | [INFO] [stderr] 254 | try!(scanners.into_iter().map(Iter::error) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ver/mod.rs:196:38 [INFO] [stderr] | [INFO] [stderr] 196 | let mut out = BufWriter::new(try!(File::create(&tmp))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/ver/mod.rs:201:34 [INFO] [stderr] | [INFO] [stderr] 201 | let (lineno, line) = try!(res); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ver/mod.rs:491:44 [INFO] [stderr] | [INFO] [stderr] 491 | pub fn git_version() -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/re.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | / lazy_static! { [INFO] [stderr] 8 | | static ref CACHE: Mutex>> = [INFO] [stderr] 9 | | Mutex::new(HashMap::new()); [INFO] [stderr] 10 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/repo/debian.rs:68:1 [INFO] [stderr] | [INFO] [stderr] 68 | / quick_error! { [INFO] [stderr] 69 | | #[derive(Debug)] [INFO] [stderr] 70 | | pub enum ReleaseFileRead { [INFO] [stderr] 71 | | Io(err: io::Error) { [INFO] [stderr] ... | [INFO] [stderr] 91 | | } [INFO] [stderr] 92 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/deb_ext.rs:23:27 [INFO] [stderr] | [INFO] [stderr] 23 | let trimmed_len = val.trim_right().len(); [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/ver/mod.rs:62:35 [INFO] [stderr] | [INFO] [stderr] 62 | .map(|&(ref x, exact)| (x.trim_left_matches('v'), exact)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/ver/mod.rs:94:34 [INFO] [stderr] | [INFO] [stderr] 94 | ... line.trim_right()); [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/ver/mod.rs:219:39 [INFO] [stderr] | [INFO] [stderr] 219 | ... nline.trim_right()).ok(); [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stderr] --> src/ver/commit.rs:213:39 [INFO] [stderr] | [INFO] [stderr] 213 | message.push_str(line.trim_right()); [INFO] [stderr] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stderr] [INFO] [stderr] warning: `bulk` (bin "bulk") generated 117 warnings (1 duplicate) [INFO] [stderr] warning: `bulk` (bin "bulk" test) generated 117 warnings (117 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bulk-885a9c5a2f86fa94) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test ver::bump::test::test_date ... ok [INFO] [stdout] test version::test::test_version_cmp ... ok [INFO] [stdout] test version::test::test_version_cmp2 ... ok [INFO] [stdout] test ver::bump::test::test_minor ... ok [INFO] [stdout] test version::test::semver_test ... ok [INFO] [stdout] test ver::bump::test::test_cmp1 ... ok [INFO] [stdout] test ver::bump::test::test_cmp3 ... ok [INFO] [stdout] test version::test::test_version_parse ... ok [INFO] [stderr] Running tests/deb.rs (/opt/rustwide/target/debug/deps/deb-719e6ab1aa88f519) [INFO] [stdout] test ver::bump::test::test_major ... ok [INFO] [stdout] test ver::bump::test::test_patch ... ok [INFO] [stdout] test ver::bump::test::test_cmp2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: test failed, to rerun pass '--test deb' [INFO] [stdout] test long_file ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- long_file stdout ---- [INFO] [stdout] thread 'long_file' panicked at 'Assertion failed for `cargo run --quiet -- pack --dir /tmp/.tmpc90xkG/pkg --dest-dir /tmp/.tmpc90xkG/dist` [INFO] [stdout] with: Unexpected stderr [INFO] [stdout] [INFO] [stdout] with: Predicate failed: bad outputgot=```warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/deb_ext.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | try!(write!(self, "{}:\n", key)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/deb_ext.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | try!(write!(self, " {}\n", _control_multiline(line.as_ref()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_file.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | try!(hash_stream(&mut sha256, &mut file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/hash_file.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | let mut file = try!(File::open(filename.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | try!(member.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | let mut member = try!(arch.read_file("debian-binary")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let member = try!(arch.read_file("control.tar.gz")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:39:38 [INFO] [stdout] | [INFO] [stdout] 39 | let mut arch = tar::Archive::new(try!(gzip::Decoder::new(member))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | for entry in try!(arch.entries()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | if try!(entry.path()) == Path::new("control") { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | let control = try!(deb::parse_control(entry)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | name: try!(hash.get(&"Package".into()).map(Clone::clone) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | arch: try!(hash.get(&"Architecture".into()).map(Clone::clone) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/metadata.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | version: try!(hash.get(&"Version".into()).map(Clone::clone) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/ar.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | try!(stream.read(&mut sig)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/ar.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | let bytes = try!(self.0.read(&mut buf[..61])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/ar.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | let bytes = try!(self.0.read(&mut buf[..60])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/ar.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | let size = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/deb.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let line = try!(line); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | let mut datas = try!(parse_control(try!(File::open(path)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:140:44 [INFO] [stdout] | [INFO] [stdout] 140 | let mut datas = try!(parse_control(try!(File::open(path)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:145:24 [INFO] [stdout] | [INFO] [stdout] 145 | let codename = try!(data.remove(&"Codename".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | let architectures = try!(data.remove(&"Architectures".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 151 | let components = try!(data.remove(&"Components".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 164 | let size = try!(size.parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | try!(out.write_kv("Codename", &self.codename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | try!(out.write_kv("Date", &format!("{}", now_utc().rfc822z()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | try!(out.write_kv("Architectures", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | try!(out.write_kv("Components", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | try!(out.write_kv_lines("SHA256", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 203 | let items = try!(parse_control(try!(File::open(path)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:203:40 [INFO] [stdout] | [INFO] [stdout] 203 | let items = try!(parse_control(try!(File::open(path)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:205:24 [INFO] [stdout] | [INFO] [stdout] 205 | let name = try!(control.remove(&"Package".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | let version = Version(try!(control.remove(&"Version".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:209:32 [INFO] [stdout] | [INFO] [stdout] 209 | let architecture = try!(control.remove(&"Architecture".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:217:31 [INFO] [stdout] | [INFO] [stdout] 217 | filename: try!(control.remove(&"Filename".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 219 | size: try!(try!(control.remove(&"Size".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | size: try!(try!(control.remove(&"Size".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | sha256: try!(control.remove(&"SHA256".into()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | try!(out.write_kv("Package", &p.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | try!(out.write_kv("Version", p.version.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | try!(out.write_kv("Architecture", &p.architecture)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:234:17 [INFO] [stdout] | [INFO] [stdout] 234 | try!(out.write_kv("Filename", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:236:17 [INFO] [stdout] | [INFO] [stdout] 236 | try!(out.write_kv("SHA256", &p.sha256)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | try!(out.write_kv("Size", &format!("{}", p.size))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | try!(out.write_all(b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | try!(out.write_kv(k, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | try!(Release::read(&release_file).context(&release_file)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | try!(Packages::read(&packages_file).context(&packages_file)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | try!(create_dir_all(&dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:389:13 [INFO] [stdout] | [INFO] [stdout] 389 | try!(pkg.output(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | try!(File::create(&tmp).and_then(|mut f| f.write_all(&buf))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | try!(suite.output(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:403:46 [INFO] [stdout] | [INFO] [stdout] 403 | let ref mut buf = BufWriter::new(try!(File::create(&tmp))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | try!(create_dir_all(&realdest.parent().unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:413:13 [INFO] [stdout] | [INFO] [stdout] 413 | try!(copy(src, &tmpname)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/repo/debian.rs:417:13 [INFO] [stdout] | [INFO] [stdout] 417 | try!(rename(a, b)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/ar.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | try!(file.write_all(b"!\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/ar.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | try!(write!(&mut self.0, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/ar.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | let pos = try!(self.0.seek(SeekFrom::Current(0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/tar.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let meta = try!(symlink_metadata(&fullpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/tar.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let mut file = try!(File::open(&fullpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/tar.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | try!(head.set_link_name(lnk)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/tar.rs:52:23 [INFO] [stdout] | [INFO] [stdout] 52 | let lnk = try!(read_link(&fullpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | try!(out.write_kv("Package", &meta.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | try!(out.write_kv("Version", &version)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | try!(out.write_kv("Maintainer", "bulk")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | try!(out.write_kv("Architecture", architecture)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | try!(out.write_kv("Description", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/deb.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | try!(out.write_kv("Depends", deps)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(ar.add("debian-binary", mtime, 0, 0, 0o100644, 4) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let mut ar = try!(ArArchive::new(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | let control = try!(ar.add("control.tar.gz", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let data = try!(ar.add("data.tar.gz", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | let mut files = try!(scan_dir::ScanDir::all().skip_backup(true) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | try!(write_deb(&tmpname, dir, &meta, &version) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | try!(rename(&tmpname, &dest) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/pack/mod.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | -> Result<(), Box> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 79 | let cfg = try!(Config::parse_file(config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | try!(ver::get(&cfg, Path::new("."))).0 [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | let ref meta = try!(cfg.metadata [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | try!(create_dir(&destdir) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/pack/mod.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | try!(remove_file(&dest) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/scanner.rs:128:35 [INFO] [stdout] | [INFO] [stdout] 128 | ... Some(try!(re::compile(regex))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/scanner.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 131 | ... Some(try!(re::compile(regex))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/scanner.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | regex: try!(re::compile(&cfg.regex)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/scanner.rs:136:33 [INFO] [stdout] | [INFO] [stdout] 136 | ... Some(try!(re::compile(regex))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/commit.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/commit.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/commit.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | fn spawn_editor(file_name: &Path) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/commit.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | -> Result<(), Box> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:28:69 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get(cfg: &Config, dir: &Path) -> Result, Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | let scanner = try!(scanner::Scanner::new(&item) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | try!(iter.error()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | let (lineno, line) = try!(res); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:70:15 [INFO] [stdout] | [INFO] [stdout] 70 | let cfg = try!(Config::parse_file(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | let scanner = try!(scanner::Scanner::new(&item) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | try!(iter.error()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | let (lineno, line) = try!(res); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:140:27 [INFO] [stdout] | [INFO] [stdout] 140 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:170:27 [INFO] [stdout] | [INFO] [stdout] 170 | -> Result> [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:176:23 [INFO] [stdout] | [INFO] [stdout] 176 | let scanner = try!(scanner::Scanner::new(&item) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(Lines::iter(file).map(|res| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | try!(scanners.into_iter().map(Iter::error) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:196:38 [INFO] [stdout] | [INFO] [stdout] 196 | let mut out = BufWriter::new(try!(File::create(&tmp))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/ver/mod.rs:201:34 [INFO] [stdout] | [INFO] [stdout] 201 | let (lineno, line) = try!(res); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ver/mod.rs:491:44 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn git_version() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/re.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | static ref CACHE: Mutex>> = [INFO] [stdout] 9 | | Mutex::new(HashMap::new()); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/repo/debian.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / quick_error! { [INFO] [stdout] 69 | | #[derive(Debug)] [INFO] [stdout] 70 | | pub enum ReleaseFileRead { [INFO] [stdout] 71 | | Io(err: io::Error) { [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/deb_ext.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | let trimmed_len = val.trim_right().len(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/ver/mod.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | .map(|&(ref x, exact)| (x.trim_left_matches('v'), exact)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/ver/mod.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | ... line.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/ver/mod.rs:219:39 [INFO] [stdout] | [INFO] [stdout] 219 | ... nline.trim_right()).ok(); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/ver/commit.rs:213:39 [INFO] [stdout] | [INFO] [stdout] 213 | message.push_str(line.trim_right()); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] ``` [INFO] [stdout] ', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/assert_cli-0.6.2/src/assert.rs:441:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x556c041d1980 - std::backtrace_rs::backtrace::libunwind::trace::ha0ad43e8a952bfe7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x556c041d1980 - std::backtrace_rs::backtrace::trace_unsynchronized::h6830419c0c4130dc [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x556c041d1980 - std::sys_common::backtrace::_print_fmt::h8f3516631ffa1ef5 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x556c041d1980 - ::fmt::he1640d5f0d93f618 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x556c041f539c - core::fmt::write::h88012e1f01caeebf [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x556c041ce595 - std::io::Write::write_fmt::h7728c39ea5632753 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x556c041d3f4b - std::sys_common::backtrace::_print::ha1f00492f406a015 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x556c041d3f4b - std::sys_common::backtrace::print::hd54561b13feb6af3 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x556c041d3f4b - std::panicking::default_hook::{{closure}}::h84fe124cd0864662 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x556c041d3a5c - std::panicking::default_hook::h5a8e74a76ce290a7 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x556c041d4614 - std::panicking::rust_panic_with_hook::h67c812a4fe9d4c91 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x556c0413e120 - std::panicking::begin_panic::{{closure}}::h503f2c6523c76976 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:542:9 [INFO] [stdout] 12: 0x556c041427ff - std::sys_common::backtrace::__rust_end_short_backtrace::h85a0220108ab6f7c [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x556c0413e01b - std::panicking::begin_panic::h120291e3974a2fbb [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:541:12 [INFO] [stdout] 14: 0x556c04140174 - assert_cli::assert::Assert::unwrap::h14356c95f3e1073a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/assert_cli-0.6.2/src/assert.rs:441:13 [INFO] [stdout] 15: 0x556c040f74e4 - deb::long_file::h59706dc7cf2c8127 [INFO] [stdout] at /opt/rustwide/workdir/tests/deb.rs:17:5 [INFO] [stdout] 16: 0x556c040f70fa - deb::long_file::{{closure}}::ha310e7b20807e551 [INFO] [stdout] at /opt/rustwide/workdir/tests/deb.rs:7:1 [INFO] [stdout] 17: 0x556c040f963e - core::ops::function::FnOnce::call_once::hea06d929d73c2e6a [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 18: 0x556c0412cd63 - core::ops::function::FnOnce::call_once::h5aba9a5d361d6c79 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x556c0412cd63 - test::__rust_begin_short_backtrace::h705bb53b2b1d45e6 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:578:5 [INFO] [stdout] 20: 0x556c0412b818 - as core::ops::function::FnOnce>::call_once::ha20f614d7c0b2b6d [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 21: 0x556c0412b818 - as core::ops::function::FnOnce<()>>::call_once::hf02f19eeb64ceabd [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 22: 0x556c0412b818 - std::panicking::try::do_call::h4bfab65eb3b4b036 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 23: 0x556c0412b818 - std::panicking::try::h6613a46a6d2b6f88 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 24: 0x556c0412b818 - std::panic::catch_unwind::h9f07b17b60991273 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 25: 0x556c0412b818 - test::run_test_in_process::hc38797eecf07854f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:601:18 [INFO] [stdout] 26: 0x556c0412b818 - test::run_test::run_test_inner::{{closure}}::hac209db8bce0fd77 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:493:39 [INFO] [stdout] 27: 0x556c040f9fad - test::run_test::run_test_inner::{{closure}}::h4aefdd4b4a423e20 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/test/src/lib.rs:520:37 [INFO] [stdout] 28: 0x556c040f9fad - std::sys_common::backtrace::__rust_begin_short_backtrace::h652c9e2663704700 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 29: 0x556c040fe788 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hd84fd5e0b5b1f45f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 30: 0x556c040fe788 - as core::ops::function::FnOnce<()>>::call_once::he23556962a2ae14b [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:347:9 [INFO] [stdout] 31: 0x556c040fe788 - std::panicking::try::do_call::h67d4f93e1fbaa5f9 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 32: 0x556c040fe788 - std::panicking::try::h396886e678db815e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 33: 0x556c040fe788 - std::panic::catch_unwind::hc1d64dcecf0a00e0 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/panic.rs:434:14 [INFO] [stdout] 34: 0x556c040fe788 - std::thread::Builder::spawn_unchecked::{{closure}}::hc2644cf33cb61d8e [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 35: 0x556c040fe788 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h4473c2c77b66963f [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 36: 0x556c041d9f07 - as core::ops::function::FnOnce>::call_once::h6bff7798948b1075 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 37: 0x556c041d9f07 - as core::ops::function::FnOnce>::call_once::hc2d25ac38f6b2342 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 38: 0x556c041d9f07 - std::sys::unix::thread::Thread::new::thread_start::hbba5bc368baac205 [INFO] [stdout] at /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/library/std/src/sys/unix/thread.rs:74:17 [INFO] [stdout] 39: 0x7f277f411609 - start_thread [INFO] [stdout] 40: 0x7f277f1e3293 - clone [INFO] [stdout] 41: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] long_file [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "29b638aca5acb24b29acda5e9e6a16169df4d82d5aba52182e265c315b53caa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29b638aca5acb24b29acda5e9e6a16169df4d82d5aba52182e265c315b53caa7", kill_on_drop: false }` [INFO] [stdout] 29b638aca5acb24b29acda5e9e6a16169df4d82d5aba52182e265c315b53caa7