[INFO] updating cached repository https://github.com/CanalTP/munin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30725ea5b689d9386648caae0979934f0e2d983c [INFO] testing CanalTP/munin against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCanalTP%2Fmunin" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CanalTP/munin 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 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-2/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1ab4a567322ff46805c43812044b616c14892837f1ff89ed5b8f4deeea858c84 [INFO] running `Command { std: "docker" "start" "-a" "1ab4a567322ff46805c43812044b616c14892837f1ff89ed5b8f4deeea858c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ab4a567322ff46805c43812044b616c14892837f1ff89ed5b8f4deeea858c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ab4a567322ff46805c43812044b616c14892837f1ff89ed5b8f4deeea858c84", kill_on_drop: false }` [INFO] [stdout] 1ab4a567322ff46805c43812044b616c14892837f1ff89ed5b8f4deeea858c84 [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] 48d4c92a09c79ad6c5a29c18c04a876a6cdc47bfab17e4e93277b51c1b3654bc [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" "48d4c92a09c79ad6c5a29c18c04a876a6cdc47bfab17e4e93277b51c1b3654bc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling curl v0.4.31 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling mdo v0.3.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [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 typemap v0.3.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling curl-sys v0.4.34+curl-7.71.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling urlencoded v0.6.0 [INFO] [stderr] Compiling 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: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] warning: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 `csv::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 `csv::Reader<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `decode` found for struct `docopt::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::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] running `Command { std: "docker" "inspect" "48d4c92a09c79ad6c5a29c18c04a876a6cdc47bfab17e4e93277b51c1b3654bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48d4c92a09c79ad6c5a29c18c04a876a6cdc47bfab17e4e93277b51c1b3654bc", kill_on_drop: false }` [INFO] [stdout] 48d4c92a09c79ad6c5a29c18c04a876a6cdc47bfab17e4e93277b51c1b3654bc