[INFO] crate ghp 0.1.2 is already in cache [INFO] testing ghp-0.1.2 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate ghp 0.1.2 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate ghp 0.1.2 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate ghp 0.1.2 [INFO] finished tweaking crates.io crate ghp 0.1.2 [INFO] tweaked toml for crates.io crate ghp 0.1.2 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 305fdb8140447330a25d46ff571d6bf1d42896fd7ff68b399adac6b1086351e3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "305fdb8140447330a25d46ff571d6bf1d42896fd7ff68b399adac6b1086351e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "305fdb8140447330a25d46ff571d6bf1d42896fd7ff68b399adac6b1086351e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "305fdb8140447330a25d46ff571d6bf1d42896fd7ff68b399adac6b1086351e3", kill_on_drop: false }` [INFO] [stdout] 305fdb8140447330a25d46ff571d6bf1d42896fd7ff68b399adac6b1086351e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd496d1bea3b3e1b6452ca51ebd69846e8d9e54d227d33b105d85072fe3f915b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fd496d1bea3b3e1b6452ca51ebd69846e8d9e54d227d33b105d85072fe3f915b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling walkdir v0.1.8 [INFO] [stderr] Compiling ghp v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | let mut cmd = try!(Command::new("git") [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | try!(Import::new(stdin, branch, &dir, message).import()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | try!(cmd.kill()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | try!(self.start_commit()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | try!(self.add_file(entry.path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | try!(self.stdin.write("\n".as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 84 | let name = try!(self.get_config("user.name")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | let email = try!(self.get_config("user.email")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | try!(self.write(&format!("commit refs/heads/{}\n", branch))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | try!(self.write(&format!("committer {} <{}> now\n", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | try!(self.write(&format!("data {}\n{}\n", message.len(), message))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | try!(self.write(&format!("from {}\n", &*rev.replace("\n", "")))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | try!(self.write("deleteall\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | let mut file = try!(File::open(filename)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:125:24 [INFO] [stdout] | [INFO] [stdout] 125 | let metadata = try!(file.metadata()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | try!(self.write(&format!("M 100755 inline {}\n", filename_str))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | try!(self.write(&format!("M 100644 inline {}\n", filename_str))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | try!(self.write(&format!("data {}\n", metadata.len()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | try!(file.read(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | try!(self.stdin.write(&bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | try!(self.write("\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | let output = try!(Command::new("git") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | Ok(try!(String::from_utf8(output.stdout))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | Ok(try!(self.stdin.write(&val.as_bytes()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:164:22 [INFO] [stdout] | [INFO] [stdout] 164 | let output = try!(Command::new("git") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'try': use the `?` operator instead [INFO] [stdout] --> src/import.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | Ok(try!(String::from_utf8(output.stdout))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:58:32 [INFO] [stdout] | [INFO] [stdout] 58 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:53:45 [INFO] [stdout] | [INFO] [stdout] 53 | Error::FromUtf8(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ghp`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fd496d1bea3b3e1b6452ca51ebd69846e8d9e54d227d33b105d85072fe3f915b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd496d1bea3b3e1b6452ca51ebd69846e8d9e54d227d33b105d85072fe3f915b", kill_on_drop: false }` [INFO] [stdout] fd496d1bea3b3e1b6452ca51ebd69846e8d9e54d227d33b105d85072fe3f915b