[INFO] fetching crate gerrit-rust 0.1.24... [INFO] checking gerrit-rust-0.1.24 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate gerrit-rust 0.1.24 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate gerrit-rust 0.1.24 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gerrit-rust 0.1.24 [INFO] finished tweaking crates.io crate gerrit-rust 0.1.24 [INFO] tweaked toml for crates.io crate gerrit-rust 0.1.24 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 100 packages [INFO] [stderr] Adding aho-corasick v0.6.10 (latest: v1.1.3) [INFO] [stderr] Adding bitflags v0.9.1 (latest: v2.5.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.4) [INFO] [stderr] Adding env_logger v0.5.13 (latest: v0.11.3) [INFO] [stderr] Adding git2 v0.6.11 (latest: v0.18.3) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding idna v0.1.5 (latest: v0.5.0) [INFO] [stderr] Adding libgit2-sys v0.6.19 (latest: v0.16.2+1.7.2) [INFO] [stderr] Adding libssh2-sys v0.2.23 (latest: v0.3.0) [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.21) [INFO] [stderr] Adding percent-encoding v1.0.1 (latest: v2.3.1) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding regex v0.2.11 (latest: v1.10.4) [INFO] [stderr] Adding regex-syntax v0.5.6 (latest: v0.8.3) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.22) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.0) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding thread_local v0.3.6 (latest: v1.1.8) [INFO] [stderr] Adding toml v0.1.30 (latest: v0.8.12) [INFO] [stderr] Adding ucd-util v0.1.10 (latest: v0.2.1) [INFO] [stderr] Adding url v1.7.2 (latest: v2.5.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-6-tc1/source/src/bin/gerritapi.rs [INFO] [stderr] * /workspace/builds/worker-6-tc1/source/src/bin/changes.rs [INFO] [stderr] * /workspace/builds/worker-6-tc1/source/src/bin/config.rs [INFO] [stderr] * /workspace/builds/worker-6-tc1/source/src/bin/topic.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-serialize v0.3.25 [INFO] [stderr] Downloaded netrc v0.4.1 [INFO] [stderr] Downloaded humantime v1.3.0 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded bitflags v0.9.1 [INFO] [stderr] Downloaded toml v0.1.30 [INFO] [stderr] Downloaded schannel v0.1.23 [INFO] [stderr] Downloaded curl v0.4.46 [INFO] [stderr] Downloaded git2 v0.6.11 [INFO] [stderr] Downloaded libssh2-sys v0.2.23 [INFO] [stderr] Downloaded toml-config v0.4.0 [INFO] [stderr] Downloaded curl-sys v0.4.72+curl-8.6.0 [INFO] [stderr] Downloaded gron v0.4.0 [INFO] [stderr] Downloaded libgerrit v0.2.8 [INFO] [stderr] Downloaded libz-sys v1.1.16 [INFO] [stderr] Downloaded libgit2-sys v0.6.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3fe9a554f655f407b7d84f63198f09f3688341db4dbe854a8e5f0d102873383 [INFO] running `Command { std: "docker" "start" "-a" "b3fe9a554f655f407b7d84f63198f09f3688341db4dbe854a8e5f0d102873383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3fe9a554f655f407b7d84f63198f09f3688341db4dbe854a8e5f0d102873383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3fe9a554f655f407b7d84f63198f09f3688341db4dbe854a8e5f0d102873383", kill_on_drop: false }` [INFO] [stdout] b3fe9a554f655f407b7d84f63198f09f3688341db4dbe854a8e5f0d102873383 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0931c4f19b67581c3b90f3534265acd18bb8a238972717e046e5f307158c36b6 [INFO] running `Command { std: "docker" "start" "-a" "0931c4f19b67581c3b90f3534265acd18bb8a238972717e046e5f307158c36b6", kill_on_drop: false }` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/bin/gerritapi.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/changes.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/config.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/topic.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling gerrit-rust v0.1.24 (/opt/rustwide/workdir) [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling curl-sys v0.4.72+curl-8.6.0 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.6.19 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking netrc v0.4.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking toml v0.1.30 [INFO] [stderr] Checking gron v0.4.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking toml-config v0.4.0 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking git2 v0.6.11 [INFO] [stderr] Checking libgerrit v0.2.8 [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> src/bin/changes.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{self, App, SubCommand, Arg}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate clap; [INFO] [stdout] | ------------------ the item `clap` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/bin/changes.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/bin/changes.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use regex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/bin/config.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/bin/config.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> src/bin/changes.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{self, App, SubCommand, Arg}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate clap; [INFO] [stdout] | ------------------ the item `clap` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/bin/config.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/bin/config.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> src/bin/config.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{self, SubCommand, App}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate clap; [INFO] [stdout] | ------------------ the item `clap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `toml_config` is imported redundantly [INFO] [stdout] --> src/bin/config.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use toml_config; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate toml_config; [INFO] [stdout] | ------------------------- the item `toml_config` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/bin/changes.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | let cf = try!(ConfigFile::discover(".", ".ggr.conf")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/bin/changes.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use regex; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate regex; [INFO] [stdout] | ------------------- the item `regex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | try!(writeln!(f, "* url ......... : {api}", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/bin/config.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | try!(writeln!(f, " user/pass ... : from .netrc file")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | let cwd = try!(env::current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/bin/config.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(RustcDecodable, RustcEncodable)] [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/bin/config.rs:161:26 [INFO] [stdout] | [INFO] [stdout] 161 | for entry in try!(fs::read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'rustc_encodable_decodable': derive macro for `rustc-serialize`; should not be used in new code [INFO] [stdout] --> src/bin/config.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> src/bin/topic.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{self, SubCommand, App, Arg}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate clap; [INFO] [stdout] | ------------------ the item `clap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported [INFO] [stdout] --> src/bin/config.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `git2` is imported redundantly [INFO] [stdout] --> src/bin/topic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use git2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate git2; [INFO] [stdout] | ------------------ the item `git2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> src/bin/config.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use clap::{self, SubCommand, App}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate clap; [INFO] [stdout] | ------------------ the item `clap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `netrc` is imported redundantly [INFO] [stdout] --> src/bin/topic.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use netrc; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate netrc; [INFO] [stdout] | ------------------- the item `netrc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `url` is imported redundantly [INFO] [stdout] --> src/bin/topic.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use url; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate url; [INFO] [stdout] | ----------------- the item `url` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/topic.rs:1124:27 [INFO] [stdout] | [INFO] [stdout] 1124 | let output_checkout = try!(Command::new("git") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `toml_config` is imported redundantly [INFO] [stdout] --> src/bin/config.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use toml_config; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate toml_config; [INFO] [stdout] | ------------------------- the item `toml_config` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | let cf = try!(ConfigFile::discover(".", ".ggr.conf")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> src/bin/gerritapi.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{self, SubCommand, App, Arg}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate clap; [INFO] [stdout] | ------------------ the item `clap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | try!(writeln!(f, "* url ......... : {api}", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | try!(writeln!(f, " user/pass ... : from .netrc file")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:145:19 [INFO] [stdout] | [INFO] [stdout] 145 | let cwd = try!(env::current_dir()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:161:26 [INFO] [stdout] | [INFO] [stdout] 161 | for entry in try!(fs::read_dir(path)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/config.rs:162:29 [INFO] [stdout] | [INFO] [stdout] 162 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> src/bin/topic.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{self, SubCommand, App, Arg}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate clap; [INFO] [stdout] | ------------------ the item `clap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `git2` is imported redundantly [INFO] [stdout] --> src/bin/topic.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use git2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate git2; [INFO] [stdout] | ------------------ the item `git2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `netrc` is imported redundantly [INFO] [stdout] --> src/bin/topic.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use netrc; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate netrc; [INFO] [stdout] | ------------------- the item `netrc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `url` is imported redundantly [INFO] [stdout] --> src/bin/topic.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use url; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate url; [INFO] [stdout] | ----------------- the item `url` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/bin/topic.rs:1124:27 [INFO] [stdout] | [INFO] [stdout] 1124 | let output_checkout = try!(Command::new("git") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clap` is imported redundantly [INFO] [stdout] --> src/bin/gerritapi.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{self, SubCommand, App, Arg}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/bin/gerrit-rust.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate clap; [INFO] [stdout] | ------------------ the item `clap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/bin/topic.rs:377:31 [INFO] [stdout] | [INFO] [stdout] 377 | let homefolder = env::home_dir().ok_or(git2::Error::from_str("set HOME environment variable for searching of netrc"))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/bin/topic.rs:377:31 [INFO] [stdout] | [INFO] [stdout] 377 | let homefolder = env::home_dir().ok_or(git2::Error::from_str("set HOME environment variable for searching of netrc"))?; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/bin/gerrit-rust.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(cause) = e.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/bin/gerrit-rust.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(cause) = e.cause() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bin/gerrit-rust.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | panic!(GGRError::General("problem with configfile".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 84 | panic!("{}", GGRError::General("problem with configfile".to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 84 | std::panic::panic_any(GGRError::General("problem with configfile".to_string())); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/bin/gerrit-rust.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | panic!(GGRError::General("problem with configfile".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 84 | panic!("{}", GGRError::General("problem with configfile".to_string())); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 84 | std::panic::panic_any(GGRError::General("problem with configfile".to_string())); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gerrit-rust` (bin "gerrit-rust") due to 5 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gerrit-rust` (bin "gerrit-rust" test) due to 5 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0931c4f19b67581c3b90f3534265acd18bb8a238972717e046e5f307158c36b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0931c4f19b67581c3b90f3534265acd18bb8a238972717e046e5f307158c36b6", kill_on_drop: false }` [INFO] [stdout] 0931c4f19b67581c3b90f3534265acd18bb8a238972717e046e5f307158c36b6