[INFO] fetching crate gerrit-rust 0.1.24... [INFO] checking gerrit-rust-0.1.24 against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] extracting crate gerrit-rust 0.1.24 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate gerrit-rust 0.1.24 on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [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-13/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [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-13/source/src/bin/config.rs [INFO] [stderr] * /workspace/builds/worker-13/source/src/bin/topic.rs [INFO] [stderr] * /workspace/builds/worker-13/source/src/bin/changes.rs [INFO] [stderr] * /workspace/builds/worker-13/source/src/bin/gerritapi.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] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 446773827c941e3f32693ab5556f8a776e18ed992635ef7ce4dd498e151064ff [INFO] running `"docker" "start" "-a" "446773827c941e3f32693ab5556f8a776e18ed992635ef7ce4dd498e151064ff"` [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/config.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/topic.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/changes.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/gerritapi.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 serde v1.0.106 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling gerrit-rust v0.1.24 (/opt/rustwide/workdir) [INFO] [stderr] Checking netrc v0.4.1 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.31+curl-7.70.0 [INFO] [stderr] Compiling libssh2-sys v0.2.17 [INFO] [stderr] Checking toml v0.1.30 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Compiling libgit2-sys v0.6.19 [INFO] [stderr] Checking toml-config v0.4.0 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking gron v0.4.0 [INFO] [stderr] Compiling curl v0.4.29 [INFO] [stderr] Checking git2 v0.6.11 [INFO] [stderr] Checking libgerrit v0.2.8 [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bin/config.rs:38:14 [INFO] [stderr] | [INFO] [stderr] 38 | let cf = try!(ConfigFile::discover(".", ".ggr.conf")); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bin/config.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | try!(writeln!(f, "* url ......... : {api}", [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bin/config.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | try!(writeln!(f, " user/pass ... : from .netrc file")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bin/config.rs:145:19 [INFO] [stderr] | [INFO] [stderr] 145 | let cwd = try!(env::current_dir()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bin/config.rs:161:26 [INFO] [stderr] | [INFO] [stderr] 161 | for entry in try!(fs::read_dir(path)) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bin/config.rs:162:29 [INFO] [stderr] | [INFO] [stderr] 162 | let entry = try!(entry); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bin/topic.rs:1124:27 [INFO] [stderr] | [INFO] [stderr] 1124 | let output_checkout = try!(Command::new("git") [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/bin/topic.rs:377:26 [INFO] [stderr] | [INFO] [stderr] 377 | let homefolder = env::home_dir().ok_or(git2::Error::from_str("set HOME environment variable for searching of netrc"))?; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bin/config.rs:38:14 [INFO] [stderr] | [INFO] [stderr] 38 | let cf = try!(ConfigFile::discover(".", ".ggr.conf")); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bin/config.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | try!(writeln!(f, "* url ......... : {api}", [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bin/config.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | try!(writeln!(f, " user/pass ... : from .netrc file")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bin/config.rs:145:19 [INFO] [stderr] | [INFO] [stderr] 145 | let cwd = try!(env::current_dir()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bin/config.rs:161:26 [INFO] [stderr] | [INFO] [stderr] 161 | for entry in try!(fs::read_dir(path)) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bin/config.rs:162:29 [INFO] [stderr] | [INFO] [stderr] 162 | let entry = try!(entry); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/bin/topic.rs:1124:27 [INFO] [stderr] | [INFO] [stderr] 1124 | let output_checkout = try!(Command::new("git") [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/bin/topic.rs:377:26 [INFO] [stderr] | [INFO] [stderr] 377 | let homefolder = env::home_dir().ok_or(git2::Error::from_str("set HOME environment variable for searching of netrc"))?; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/bin/gerrit-rust.rs:100:32 [INFO] [stderr] | [INFO] [stderr] 100 | if let Some(cause) = e.cause() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/bin/gerrit-rust.rs:100:32 [INFO] [stderr] | [INFO] [stderr] 100 | if let Some(cause) = e.cause() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.79s [INFO] running `"docker" "inspect" "446773827c941e3f32693ab5556f8a776e18ed992635ef7ce4dd498e151064ff"` [INFO] running `"docker" "rm" "-f" "446773827c941e3f32693ab5556f8a776e18ed992635ef7ce4dd498e151064ff"` [INFO] [stdout] 446773827c941e3f32693ab5556f8a776e18ed992635ef7ce4dd498e151064ff