[INFO] cloning repository https://github.com/CanalTP/munin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CanalTP/munin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCanalTP%2Fmunin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCanalTP%2Fmunin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30725ea5b689d9386648caae0979934f0e2d983c [INFO] checking CanalTP/munin against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCanalTP%2Fmunin" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CanalTP/munin on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CanalTP/munin [INFO] finished tweaking git repo https://github.com/CanalTP/munin [INFO] tweaked toml for git repo https://github.com/CanalTP/munin written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/CanalTP/munin already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded urlencoded v0.6.0 [INFO] [stderr] Downloaded persistent v0.4.0 [INFO] [stderr] Downloaded bodyparser v0.8.0 [INFO] [stderr] Downloaded mdo v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 692740b268b1e5c9e310182aef7e1ec23c7afdc688cb4ea4620e095f5caae89d [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" "692740b268b1e5c9e310182aef7e1ec23c7afdc688cb4ea4620e095f5caae89d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "692740b268b1e5c9e310182aef7e1ec23c7afdc688cb4ea4620e095f5caae89d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "692740b268b1e5c9e310182aef7e1ec23c7afdc688cb4ea4620e095f5caae89d", kill_on_drop: false }` [INFO] [stdout] 692740b268b1e5c9e310182aef7e1ec23c7afdc688cb4ea4620e095f5caae89d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d6ea6e88f7306fea0807fa4e1c143a1e610124955b778e382f9762b8b233f0a [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" "2d6ea6e88f7306fea0807fa4e1c143a1e610124955b778e382f9762b8b233f0a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Checking tinyvec v0.3.4 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling curl v0.4.33 [INFO] [stderr] Checking strsim v0.9.3 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking mdo v0.3.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling curl-sys v0.4.36+curl-7.71.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking persistent v0.4.0 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking docopt v1.1.0 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking bodyparser v0.8.0 [INFO] [stderr] Checking urlencoded v0.6.0 [INFO] [stderr] Checking munin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/index.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | pub type CurlResult = Result; [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/index.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | try!(curl::http::handle().delete("http://localhost:9200/munin").exec()); [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/index.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | pub type CurlResult = Result; [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/index.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | let res = try!(curl::http::handle().put("http://localhost:9200/munin", analysis).exec()); [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/index.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | let mut handle = curl::http::handle(); [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/main.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | fn query(q: &str) -> Result { [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/main.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | let resp = try!(curl::http::handle() [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/main.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let resp = curl::http::handle() [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/main.rs:65:59 [INFO] [stdout] | [INFO] [stdout] 65 | fn query_location(q: &str, coord: &Coord) -> Result { [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/main.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let resp = try!(curl::http::handle() [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/main.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let resp = curl::http::handle() [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/main.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | curl::http::handle().post("http://localhost:9200/munin/addr/_search?pretty&size=1", &query) [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrCode` in crate `curl` [INFO] [stdout] --> src/index.rs:67:58 [INFO] [stdout] | [INFO] [stdout] 67 | pub type CurlResult = Result; [INFO] [stdout] | ^^^^^^^ not found in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrCode` in crate `curl` [INFO] [stdout] --> src/index.rs:69:53 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn purge_and_create_munin() -> Result<(), curl::ErrCode> { [INFO] [stdout] | ^^^^^^^ not found in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrCode` in crate `curl` [INFO] [stdout] --> src/index.rs:86:70 [INFO] [stdout] | [INFO] [stdout] 86 | fn bulk_index<'a, T, I>(url: &str, mut iter: I) -> Result [INFO] [stdout] | ^^^^^^^ not found in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrCode` in crate `curl` [INFO] [stdout] --> src/index.rs:115:70 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn index>(iter: I) -> Result { [INFO] [stdout] | ^^^^^^^ not found in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrCode` in crate `curl` [INFO] [stdout] --> src/main.rs:50:57 [INFO] [stdout] | [INFO] [stdout] 50 | fn query(q: &str) -> Result { [INFO] [stdout] | ^^^^^^^ not found in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrCode` in crate `curl` [INFO] [stdout] --> src/main.rs:65:81 [INFO] [stdout] | [INFO] [stdout] 65 | fn query_location(q: &str, coord: &Coord) -> Result { [INFO] [stdout] | ^^^^^^^ not found in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrCode` in crate `curl` [INFO] [stdout] --> src/main.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | fn geocode(lon: f64, lat: f64) -> Result<(), curl::ErrCode> { [INFO] [stdout] | ^^^^^^^ not found in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/index.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | try!(curl::http::handle().delete("http://localhost:9200/munin").exec()); [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/index.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | let res = try!(curl::http::handle().put("http://localhost:9200/munin", analysis).exec()); [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/index.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | let mut handle = curl::http::handle(); [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | try!(curl::http::handle().delete("http://localhost:9200/munin").exec()); [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/index.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | let res = try!(curl::http::handle().put("http://localhost:9200/munin", analysis).exec()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | let res = try!(handle.post(&*url, &chunk).exec()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | try!(bulk_index("http://localhost:9200/munin/addr", iter.inspect(|addr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/main.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | fn query(q: &str) -> Result { [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | try!(bulk_index("http://localhost:9200/munin/admin", admins.into_iter().map(|e| e.1))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | let resp = try!(curl::http::handle() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | let resp = try!(curl::http::handle() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let r = try! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/main.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | let resp = try!(curl::http::handle() [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/main.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let resp = curl::http::handle() [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/main.rs:65:59 [INFO] [stdout] | [INFO] [stdout] 65 | fn query_location(q: &str, coord: &Coord) -> Result { [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/main.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let resp = try!(curl::http::handle() [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/main.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let resp = curl::http::handle() [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `http` in `curl` [INFO] [stdout] --> src/main.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | curl::http::handle().post("http://localhost:9200/munin/addr/_search?pretty&size=1", &query) [INFO] [stdout] | ^^^^ could not find `http` in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrCode` in crate `curl` [INFO] [stdout] --> src/index.rs:67:58 [INFO] [stdout] | [INFO] [stdout] 67 | pub type CurlResult = Result; [INFO] [stdout] | ^^^^^^^ not found in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrCode` in crate `curl` [INFO] [stdout] --> src/index.rs:69:53 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn purge_and_create_munin() -> Result<(), curl::ErrCode> { [INFO] [stdout] | ^^^^^^^ not found in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrCode` in crate `curl` [INFO] [stdout] --> src/index.rs:86:70 [INFO] [stdout] | [INFO] [stdout] 86 | fn bulk_index<'a, T, I>(url: &str, mut iter: I) -> Result [INFO] [stdout] | ^^^^^^^ not found in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrCode` in crate `curl` [INFO] [stdout] --> src/index.rs:115:70 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn index>(iter: I) -> Result { [INFO] [stdout] | ^^^^^^^ not found in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrCode` in crate `curl` [INFO] [stdout] --> src/main.rs:50:57 [INFO] [stdout] | [INFO] [stdout] 50 | fn query(q: &str) -> Result { [INFO] [stdout] | ^^^^^^^ not found in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrCode` in crate `curl` [INFO] [stdout] --> src/main.rs:65:81 [INFO] [stdout] | [INFO] [stdout] 65 | fn query_location(q: &str, coord: &Coord) -> Result { [INFO] [stdout] | ^^^^^^^ not found in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrCode` in crate `curl` [INFO] [stdout] --> src/main.rs:86:52 [INFO] [stdout] | [INFO] [stdout] 86 | fn geocode(lon: f64, lat: f64) -> Result<(), curl::ErrCode> { [INFO] [stdout] | ^^^^^^^ not found in `curl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | try!(curl::http::handle().delete("http://localhost:9200/munin").exec()); [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/index.rs:75:15 [INFO] [stdout] | [INFO] [stdout] 75 | let res = try!(curl::http::handle().put("http://localhost:9200/munin", analysis).exec()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | let res = try!(handle.post(&*url, &chunk).exec()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | try!(bulk_index("http://localhost:9200/munin/addr", iter.inspect(|addr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/index.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | try!(bulk_index("http://localhost:9200/munin/admin", admins.into_iter().map(|e| e.1))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 53 | let resp = try!(curl::http::handle() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:71:16 [INFO] [stdout] | [INFO] [stdout] 71 | let resp = try!(curl::http::handle() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let r = try! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_file` found for struct `Reader<_>` in the current scope [INFO] [stdout] --> src/main.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | let mut rdr = csv::Reader::from_file(&Path::new(&f)).unwrap().has_headers(false); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Reader<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_file` found for struct `Reader<_>` in the current scope [INFO] [stdout] --> src/main.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | let mut rdr = csv::Reader::from_file(&Path::new(&f)).unwrap().has_headers(false); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `Reader<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `Docopt` in the current scope [INFO] [stdout] --> src/main.rs:224:25 [INFO] [stdout] | [INFO] [stdout] 224 | .and_then(|d| d.decode()) [INFO] [stdout] | ^^^^^^ method not found in `Docopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `Docopt` in the current scope [INFO] [stdout] --> src/main.rs:224:25 [INFO] [stdout] | [INFO] [stdout] 224 | .and_then(|d| d.decode()) [INFO] [stdout] | ^^^^^^ method not found in `Docopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `munin` [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] [stdout] error: aborting due to 20 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2d6ea6e88f7306fea0807fa4e1c143a1e610124955b778e382f9762b8b233f0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d6ea6e88f7306fea0807fa4e1c143a1e610124955b778e382f9762b8b233f0a", kill_on_drop: false }` [INFO] [stdout] 2d6ea6e88f7306fea0807fa4e1c143a1e610124955b778e382f9762b8b233f0a