[INFO] crate gerrit-rust 0.1.24 is already in cache [INFO] testing gerrit-rust-0.1.24 against 1.45.2 for beta-1.46-1 [INFO] extracting crate gerrit-rust 0.1.24 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate gerrit-rust 0.1.24 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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" "+1.45.2" "fetch" "--locked" "--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-2/source/src/bin/config.rs [INFO] [stderr] * /workspace/builds/worker-2/source/src/bin/topic.rs [INFO] [stderr] * /workspace/builds/worker-2/source/src/bin/gerritapi.rs [INFO] [stderr] * /workspace/builds/worker-2/source/src/bin/changes.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] 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" "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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a99e02d0ca2e2509e38959718bf132c14d10cdabd3274373118be6f184312552 [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" "a99e02d0ca2e2509e38959718bf132c14d10cdabd3274373118be6f184312552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a99e02d0ca2e2509e38959718bf132c14d10cdabd3274373118be6f184312552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a99e02d0ca2e2509e38959718bf132c14d10cdabd3274373118be6f184312552", kill_on_drop: false }` [INFO] [stdout] a99e02d0ca2e2509e38959718bf132c14d10cdabd3274373118be6f184312552 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c93e6b0d48eeedbde2a11ea77899893db8c65e89ca86ee59051f911efd0a8ca6 [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" "c93e6b0d48eeedbde2a11ea77899893db8c65e89ca86ee59051f911efd0a8ca6", 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/config.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/topic.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/gerritapi.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/changes.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] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling curl v0.4.31 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling gerrit-rust v0.1.24 (/opt/rustwide/workdir) [INFO] [stderr] Compiling netrc v0.4.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.33+curl-7.71.1 [INFO] [stderr] Compiling libssh2-sys v0.2.18 [INFO] [stderr] Compiling libgit2-sys v0.6.19 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling toml v0.1.30 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling toml-config v0.4.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling gron v0.4.0 [INFO] [stderr] Compiling git2 v0.6.11 [INFO] [stderr] Compiling libgerrit v0.2.8 [INFO] [stdout] warning: use of deprecated item '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] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item '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 item '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 item '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 item '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: use of deprecated item '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: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/bin/topic.rs:377:26 [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 item '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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 25s [INFO] running `Command { std: "docker" "inspect" "c93e6b0d48eeedbde2a11ea77899893db8c65e89ca86ee59051f911efd0a8ca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c93e6b0d48eeedbde2a11ea77899893db8c65e89ca86ee59051f911efd0a8ca6", kill_on_drop: false }` [INFO] [stdout] c93e6b0d48eeedbde2a11ea77899893db8c65e89ca86ee59051f911efd0a8ca6 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9e0a6ab380b787952288d0aed047f506a09e2fc0b214ffd7a713b66a01e5df0 [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" "b9e0a6ab380b787952288d0aed047f506a09e2fc0b214ffd7a713b66a01e5df0", 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/config.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/topic.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/gerritapi.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/changes.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 gerrit-rust v0.1.24 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item '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 item '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 item '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 item '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 item '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: use of deprecated item '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: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/bin/topic.rs:377:26 [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 item '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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.65s [INFO] running `Command { std: "docker" "inspect" "b9e0a6ab380b787952288d0aed047f506a09e2fc0b214ffd7a713b66a01e5df0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9e0a6ab380b787952288d0aed047f506a09e2fc0b214ffd7a713b66a01e5df0", kill_on_drop: false }` [INFO] [stdout] b9e0a6ab380b787952288d0aed047f506a09e2fc0b214ffd7a713b66a01e5df0 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 986d55097cbe298ddba410a26a4e06a977d1119764615991a786dcad71681618 [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" "986d55097cbe298ddba410a26a4e06a977d1119764615991a786dcad71681618", 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/config.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/topic.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/gerritapi.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/changes.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] 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 a crate from crates.io 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: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/gerrit_rust-8a422831329eb769 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test topic::test_url_to_projectname ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "986d55097cbe298ddba410a26a4e06a977d1119764615991a786dcad71681618", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "986d55097cbe298ddba410a26a4e06a977d1119764615991a786dcad71681618", kill_on_drop: false }` [INFO] [stdout] 986d55097cbe298ddba410a26a4e06a977d1119764615991a786dcad71681618