Oct 12 19:16:36.731 INFO checking karlvlam/etcd2-aws-cluster against try#4021bd0b3c5815b087d6db10ce461e7e4854ade7 for pr-54977 Oct 12 19:16:36.731 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-54977/worker-0/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-0/pr-54977/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +4021bd0b3c5815b087d6db10ce461e7e4854ade7-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 12 19:16:37.112 INFO blam! 28949e302ccb35a1e322596fb9ab6c698ed6cdfdfed9fb164a28c6d948d472e7 Oct 12 19:16:37.120 INFO running `"docker" "start" "-a" "28949e302ccb35a1e322596fb9ab6c698ed6cdfdfed9fb164a28c6d948d472e7"` Oct 12 19:16:38.331 INFO kablam! usermod: no changes Oct 12 19:16:38.707 INFO kablam! Compiling matches v0.1.4 Oct 12 19:16:38.707 INFO kablam! Compiling unicode-normalization v0.1.4 Oct 12 19:16:38.707 INFO kablam! Compiling regex-syntax v0.4.0 Oct 12 19:16:38.707 INFO kablam! Compiling rustc-serialize v0.3.23 Oct 12 19:16:38.707 INFO kablam! Checking lazy_static v0.2.5 Oct 12 19:16:38.707 INFO kablam! Compiling httparse v1.2.1 Oct 12 19:16:38.712 INFO kablam! Compiling ring v0.6.3 Oct 12 19:16:40.745 INFO kablam! Checking openssl-probe v0.1.0 Oct 12 19:16:40.753 INFO kablam! Checking md5 v0.3.3 Oct 12 19:16:40.801 INFO kablam! Compiling unreachable v0.1.1 Oct 12 19:16:41.630 INFO kablam! Compiling thread-id v3.0.0 Oct 12 19:16:44.048 INFO kablam! Compiling memchr v1.0.1 Oct 12 19:16:44.065 INFO kablam! Compiling time v0.1.36 Oct 12 19:16:45.510 INFO kablam! Compiling libz-sys v1.0.13 Oct 12 19:16:45.510 INFO kablam! Compiling curl-sys v0.3.10 Oct 12 19:16:47.684 INFO kablam! Compiling mime v0.2.3 Oct 12 19:16:47.700 INFO kablam! Compiling unicode-bidi v0.2.5 Oct 12 19:16:52.160 INFO kablam! Compiling thread_local v0.3.3 Oct 12 19:16:52.268 INFO kablam! Compiling aho-corasick v0.6.3 Oct 12 19:17:01.670 INFO kablam! Compiling idna v0.1.0 Oct 12 19:17:01.672 INFO kablam! Compiling unicase v1.4.0 Oct 12 19:17:01.693 INFO kablam! Checking openssl v0.9.10 Oct 12 19:17:01.717 INFO kablam! Checking serde_urlencoded v0.3.0 Oct 12 19:17:01.836 INFO kablam! Checking chrono v0.2.25 Oct 12 19:17:03.908 INFO kablam! Compiling regex v0.2.1 Oct 12 19:17:06.949 INFO kablam! Checking curl v0.4.6 Oct 12 19:17:13.732 INFO kablam! Compiling url v1.4.0 Oct 12 19:17:14.462 INFO kablam! Checking native-tls v0.1.1 Oct 12 19:17:16.908 INFO kablam! Checking reqwest v0.3.0 Oct 12 19:17:16.909 INFO kablam! Checking hyper-native-tls v0.2.2 Oct 12 19:17:21.613 INFO kablam! Checking rusoto_credential v0.5.0 Oct 12 19:17:27.320 INFO kablam! Compiling hyper v0.10.5 Oct 12 19:17:27.524 INFO kablam! Compiling Inflector v0.7.0 Oct 12 19:17:36.408 INFO kablam! Compiling rusoto_codegen v0.7.1 Oct 12 19:17:46.891 INFO kablam! Compiling rusoto v0.23.1 Oct 12 19:18:20.921 INFO kablam! Checking etcd2-aws-cluster v0.1.0 (/source) Oct 12 19:18:23.420 INFO kablam! warning: unused import: `std::borrow::ToOwned` Oct 12 19:18:23.421 INFO kablam! --> src/main.rs:12:5 Oct 12 19:18:23.421 INFO kablam! | Oct 12 19:18:23.421 INFO kablam! 12 | use std::borrow::ToOwned; Oct 12 19:18:23.421 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.421 INFO kablam! | Oct 12 19:18:23.421 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 12 19:18:23.423 INFO kablam! Oct 12 19:18:23.423 INFO kablam! warning: unused import: `std::ops::Add` Oct 12 19:18:23.423 INFO kablam! --> src/main.rs:17:5 Oct 12 19:18:23.423 INFO kablam! | Oct 12 19:18:23.423 INFO kablam! 17 | use std::ops::Add; Oct 12 19:18:23.423 INFO kablam! | ^^^^^^^^^^^^^ Oct 12 19:18:23.423 INFO kablam! Oct 12 19:18:23.423 INFO kablam! warning: unused import: `AutoScalingGroupNamesType` Oct 12 19:18:23.423 INFO kablam! --> src/main.rs:24:46 Oct 12 19:18:23.423 INFO kablam! | Oct 12 19:18:23.423 INFO kablam! 24 | use rusoto::autoscaling::{AutoscalingClient, AutoScalingGroupNamesType, AutoScalingGroup}; Oct 12 19:18:23.423 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.423 INFO kablam! Oct 12 19:18:23.728 INFO kablam! warning: unused variable: `e` Oct 12 19:18:23.728 INFO kablam! --> src/main.rs:94:13 Oct 12 19:18:23.728 INFO kablam! | Oct 12 19:18:23.728 INFO kablam! 94 | Err(e) => { Oct 12 19:18:23.728 INFO kablam! | ^ help: consider using `_e` instead Oct 12 19:18:23.728 INFO kablam! | Oct 12 19:18:23.728 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 19:18:23.728 INFO kablam! Oct 12 19:18:23.728 INFO kablam! warning: value assigned to `etcd_ec2_infos` is never read Oct 12 19:18:23.728 INFO kablam! --> src/main.rs:123:13 Oct 12 19:18:23.728 INFO kablam! | Oct 12 19:18:23.728 INFO kablam! 123 | let mut etcd_ec2_infos:Vec = vec![]; Oct 12 19:18:23.728 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 19:18:23.728 INFO kablam! | Oct 12 19:18:23.728 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 12 19:18:23.728 INFO kablam! Oct 12 19:18:23.728 INFO kablam! warning: unused variable: `ec2infos` Oct 12 19:18:23.728 INFO kablam! --> src/main.rs:126:13 Oct 12 19:18:23.728 INFO kablam! | Oct 12 19:18:23.728 INFO kablam! 126 | let ec2infos = match extract_ec2info_from_asg_name(&ASG_NAME, AWS_REGION) { Oct 12 19:18:23.728 INFO kablam! | ^^^^^^^^ help: consider using `_ec2infos` instead Oct 12 19:18:23.728 INFO kablam! Oct 12 19:18:23.728 INFO kablam! warning: unused variable: `count` Oct 12 19:18:23.729 INFO kablam! --> src/main.rs:302:9 Oct 12 19:18:23.729 INFO kablam! | Oct 12 19:18:23.729 INFO kablam! 302 | let count = Cell::new(1); Oct 12 19:18:23.729 INFO kablam! | ^^^^^ help: consider using `_count` instead Oct 12 19:18:23.729 INFO kablam! Oct 12 19:18:23.729 INFO kablam! warning: unused variable: `e` Oct 12 19:18:23.729 INFO kablam! --> src/main.rs:523:13 Oct 12 19:18:23.729 INFO kablam! | Oct 12 19:18:23.729 INFO kablam! 523 | Err(e) => None Oct 12 19:18:23.729 INFO kablam! | ^ help: consider using `_e` instead Oct 12 19:18:23.729 INFO kablam! Oct 12 19:18:23.729 INFO kablam! warning: unused variable: `e` Oct 12 19:18:23.729 INFO kablam! --> src/main.rs:533:13 Oct 12 19:18:23.729 INFO kablam! | Oct 12 19:18:23.729 INFO kablam! 533 | Err(e) => None Oct 12 19:18:23.729 INFO kablam! | ^ help: consider using `_e` instead Oct 12 19:18:23.729 INFO kablam! Oct 12 19:18:23.936 INFO kablam! warning: constant item is never used: `api_add_ok` Oct 12 19:18:23.936 INFO kablam! --> src/main.rs:31:1 Oct 12 19:18:23.936 INFO kablam! | Oct 12 19:18:23.936 INFO kablam! 31 | const api_add_ok: u16 = 201; Oct 12 19:18:23.936 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.936 INFO kablam! | Oct 12 19:18:23.936 INFO kablam! = note: #[warn(dead_code)] on by default Oct 12 19:18:23.936 INFO kablam! Oct 12 19:18:23.936 INFO kablam! warning: constant item is never used: `api_already_added` Oct 12 19:18:23.936 INFO kablam! --> src/main.rs:32:1 Oct 12 19:18:23.936 INFO kablam! | Oct 12 19:18:23.936 INFO kablam! 32 | const api_already_added: u16 = 409; Oct 12 19:18:23.936 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.936 INFO kablam! Oct 12 19:18:23.944 INFO kablam! warning: constant item is never used: `api_delete_ok` Oct 12 19:18:23.944 INFO kablam! --> src/main.rs:33:1 Oct 12 19:18:23.944 INFO kablam! | Oct 12 19:18:23.944 INFO kablam! 33 | const api_delete_ok: u16 = 204; Oct 12 19:18:23.944 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.944 INFO kablam! Oct 12 19:18:23.944 INFO kablam! warning: constant item is never used: `api_delete_gone` Oct 12 19:18:23.944 INFO kablam! --> src/main.rs:34:1 Oct 12 19:18:23.944 INFO kablam! | Oct 12 19:18:23.944 INFO kablam! 34 | const api_delete_gone: u16 = 410; Oct 12 19:18:23.944 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.944 INFO kablam! Oct 12 19:18:23.944 INFO kablam! warning: struct is never constructed: `Ec2Info` Oct 12 19:18:23.944 INFO kablam! --> src/main.rs:390:1 Oct 12 19:18:23.944 INFO kablam! | Oct 12 19:18:23.944 INFO kablam! 390 | struct Ec2Info { Oct 12 19:18:23.944 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 19:18:23.944 INFO kablam! Oct 12 19:18:23.952 INFO kablam! warning: constant `min_etcd_node` should have an upper case name such as `MIN_ETCD_NODE` Oct 12 19:18:23.952 INFO kablam! --> src/main.rs:28:1 Oct 12 19:18:23.952 INFO kablam! | Oct 12 19:18:23.952 INFO kablam! 28 | const min_etcd_node:usize = 3; // etcd cluster should has at least 3 nodes !!! Oct 12 19:18:23.952 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.952 INFO kablam! | Oct 12 19:18:23.952 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Oct 12 19:18:23.952 INFO kablam! Oct 12 19:18:23.953 INFO kablam! warning: constant `api_add_ok` should have an upper case name such as `API_ADD_OK` Oct 12 19:18:23.953 INFO kablam! --> src/main.rs:31:1 Oct 12 19:18:23.953 INFO kablam! | Oct 12 19:18:23.953 INFO kablam! 31 | const api_add_ok: u16 = 201; Oct 12 19:18:23.953 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.953 INFO kablam! Oct 12 19:18:23.953 INFO kablam! warning: constant `api_already_added` should have an upper case name such as `API_ALREADY_ADDED` Oct 12 19:18:23.953 INFO kablam! --> src/main.rs:32:1 Oct 12 19:18:23.953 INFO kablam! | Oct 12 19:18:23.953 INFO kablam! 32 | const api_already_added: u16 = 409; Oct 12 19:18:23.953 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.953 INFO kablam! Oct 12 19:18:23.953 INFO kablam! warning: constant `api_delete_ok` should have an upper case name such as `API_DELETE_OK` Oct 12 19:18:23.953 INFO kablam! --> src/main.rs:33:1 Oct 12 19:18:23.953 INFO kablam! | Oct 12 19:18:23.953 INFO kablam! 33 | const api_delete_ok: u16 = 204; Oct 12 19:18:23.953 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.953 INFO kablam! Oct 12 19:18:23.953 INFO kablam! warning: constant `api_delete_gone` should have an upper case name such as `API_DELETE_GONE` Oct 12 19:18:23.953 INFO kablam! --> src/main.rs:34:1 Oct 12 19:18:23.953 INFO kablam! | Oct 12 19:18:23.953 INFO kablam! 34 | const api_delete_gone: u16 = 410; Oct 12 19:18:23.953 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.953 INFO kablam! Oct 12 19:18:23.953 INFO kablam! warning: variable `INSTANCE_ADDR` should have a snake case name such as `instance_addr` Oct 12 19:18:23.953 INFO kablam! --> src/main.rs:42:9 Oct 12 19:18:23.953 INFO kablam! | Oct 12 19:18:23.953 INFO kablam! 42 | let INSTANCE_ADDR = match std::env::var("DEBUG") { Oct 12 19:18:23.953 INFO kablam! | ^^^^^^^^^^^^^ Oct 12 19:18:23.953 INFO kablam! | Oct 12 19:18:23.953 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 12 19:18:23.953 INFO kablam! Oct 12 19:18:23.953 INFO kablam! warning: variable `CLIENT_PORT` should have a snake case name such as `client_port` Oct 12 19:18:23.953 INFO kablam! --> src/main.rs:48:9 Oct 12 19:18:23.953 INFO kablam! | Oct 12 19:18:23.953 INFO kablam! 48 | let CLIENT_PORT = env("ETCD_CLIENT_PORT", "2379"); Oct 12 19:18:23.953 INFO kablam! | ^^^^^^^^^^^ Oct 12 19:18:23.953 INFO kablam! Oct 12 19:18:23.953 INFO kablam! warning: variable `SERVER_PORT` should have a snake case name such as `server_port` Oct 12 19:18:23.953 INFO kablam! --> src/main.rs:49:9 Oct 12 19:18:23.953 INFO kablam! | Oct 12 19:18:23.953 INFO kablam! 49 | let SERVER_PORT = env("ETCD_SERVER_PORT", "2380"); Oct 12 19:18:23.953 INFO kablam! | ^^^^^^^^^^^ Oct 12 19:18:23.953 INFO kablam! Oct 12 19:18:23.953 INFO kablam! warning: variable `CLIENT_SCHEME` should have a snake case name such as `client_scheme` Oct 12 19:18:23.953 INFO kablam! --> src/main.rs:50:9 Oct 12 19:18:23.953 INFO kablam! | Oct 12 19:18:23.953 INFO kablam! 50 | let CLIENT_SCHEME = env("ETCD_CLIENT_SCHEME", "http"); Oct 12 19:18:23.953 INFO kablam! | ^^^^^^^^^^^^^ Oct 12 19:18:23.953 INFO kablam! Oct 12 19:18:23.953 INFO kablam! warning: variable `PEER_SCHEME` should have a snake case name such as `peer_scheme` Oct 12 19:18:23.953 INFO kablam! --> src/main.rs:51:9 Oct 12 19:18:23.953 INFO kablam! | Oct 12 19:18:23.953 INFO kablam! 51 | let PEER_SCHEME = env("ETCD_PEER_SCHEME", "http"); Oct 12 19:18:23.953 INFO kablam! | ^^^^^^^^^^^ Oct 12 19:18:23.953 INFO kablam! Oct 12 19:18:23.953 INFO kablam! warning: variable `AWS_REGION` should have a snake case name such as `aws_region` Oct 12 19:18:23.953 INFO kablam! --> src/main.rs:65:9 Oct 12 19:18:23.953 INFO kablam! | Oct 12 19:18:23.953 INFO kablam! 65 | let AWS_REGION: Region = get_region_from_string(&awsid.region); Oct 12 19:18:23.953 INFO kablam! | ^^^^^^^^^^ Oct 12 19:18:23.953 INFO kablam! Oct 12 19:18:23.953 INFO kablam! warning: variable `PROXY_ASG` should have a snake case name such as `proxy_asg` Oct 12 19:18:23.953 INFO kablam! --> src/main.rs:76:10 Oct 12 19:18:23.953 INFO kablam! | Oct 12 19:18:23.953 INFO kablam! 76 | let (PROXY_ASG, ASG_NAME) = match std::env::var("PROXY_ASG") { Oct 12 19:18:23.953 INFO kablam! | ^^^^^^^^^ Oct 12 19:18:23.953 INFO kablam! Oct 12 19:18:23.953 INFO kablam! warning: variable `ASG_NAME` should have a snake case name such as `asg_name` Oct 12 19:18:23.953 INFO kablam! --> src/main.rs:76:21 Oct 12 19:18:23.953 INFO kablam! | Oct 12 19:18:23.953 INFO kablam! 76 | let (PROXY_ASG, ASG_NAME) = match std::env::var("PROXY_ASG") { Oct 12 19:18:23.953 INFO kablam! | ^^^^^^^^ Oct 12 19:18:23.953 INFO kablam! Oct 12 19:18:23.953 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 19:18:23.953 INFO kablam! --> src/main.rs:306:5 Oct 12 19:18:23.953 INFO kablam! | Oct 12 19:18:23.953 INFO kablam! 306 | easy.timeout(Duration::from_millis(5000)); Oct 12 19:18:23.953 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.954 INFO kablam! | Oct 12 19:18:23.954 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 12 19:18:23.954 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 19:18:23.954 INFO kablam! Oct 12 19:18:23.954 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 19:18:23.954 INFO kablam! --> src/main.rs:339:5 Oct 12 19:18:23.954 INFO kablam! | Oct 12 19:18:23.954 INFO kablam! 339 | easy.timeout(Duration::from_millis(5000)); Oct 12 19:18:23.954 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.954 INFO kablam! | Oct 12 19:18:23.954 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 19:18:23.954 INFO kablam! Oct 12 19:18:23.954 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 19:18:23.954 INFO kablam! --> src/main.rs:366:9 Oct 12 19:18:23.954 INFO kablam! | Oct 12 19:18:23.954 INFO kablam! 366 | easy.timeout(Duration::from_millis(5000)); Oct 12 19:18:23.954 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.954 INFO kablam! | Oct 12 19:18:23.954 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 19:18:23.954 INFO kablam! Oct 12 19:18:23.954 INFO kablam! warning: structure field `instanceId` should have a snake case name such as `instance_id` Oct 12 19:18:23.954 INFO kablam! --> src/main.rs:385:5 Oct 12 19:18:23.954 INFO kablam! | Oct 12 19:18:23.954 INFO kablam! 385 | instanceId: String, Oct 12 19:18:23.954 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.954 INFO kablam! Oct 12 19:18:23.954 INFO kablam! warning: structure field `privateIp` should have a snake case name such as `private_ip` Oct 12 19:18:23.954 INFO kablam! --> src/main.rs:386:5 Oct 12 19:18:23.954 INFO kablam! | Oct 12 19:18:23.954 INFO kablam! 386 | privateIp: String, Oct 12 19:18:23.954 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.968 INFO kablam! Oct 12 19:18:23.984 INFO kablam! warning: structure field `peerURLs` should have a snake case name such as `peer_urls` Oct 12 19:18:23.984 INFO kablam! --> src/main.rs:405:5 Oct 12 19:18:23.984 INFO kablam! | Oct 12 19:18:23.984 INFO kablam! 405 | peerURLs: Vec, Oct 12 19:18:23.984 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.984 INFO kablam! Oct 12 19:18:23.984 INFO kablam! warning: structure field `clientURLs` should have a snake case name such as `client_urls` Oct 12 19:18:23.984 INFO kablam! --> src/main.rs:406:5 Oct 12 19:18:23.984 INFO kablam! | Oct 12 19:18:23.984 INFO kablam! 406 | clientURLs: Vec, Oct 12 19:18:23.984 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:23.984 INFO kablam! Oct 12 19:18:24.144 INFO kablam! warning: unused import: `std::borrow::ToOwned` Oct 12 19:18:24.144 INFO kablam! --> src/main.rs:12:5 Oct 12 19:18:24.144 INFO kablam! | Oct 12 19:18:24.144 INFO kablam! 12 | use std::borrow::ToOwned; Oct 12 19:18:24.144 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.144 INFO kablam! | Oct 12 19:18:24.144 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 12 19:18:24.144 INFO kablam! Oct 12 19:18:24.144 INFO kablam! warning: unused import: `std::ops::Add` Oct 12 19:18:24.144 INFO kablam! --> src/main.rs:17:5 Oct 12 19:18:24.144 INFO kablam! | Oct 12 19:18:24.144 INFO kablam! 17 | use std::ops::Add; Oct 12 19:18:24.144 INFO kablam! | ^^^^^^^^^^^^^ Oct 12 19:18:24.144 INFO kablam! Oct 12 19:18:24.144 INFO kablam! warning: unused import: `AutoScalingGroupNamesType` Oct 12 19:18:24.144 INFO kablam! --> src/main.rs:24:46 Oct 12 19:18:24.144 INFO kablam! | Oct 12 19:18:24.144 INFO kablam! 24 | use rusoto::autoscaling::{AutoscalingClient, AutoScalingGroupNamesType, AutoScalingGroup}; Oct 12 19:18:24.144 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.144 INFO kablam! Oct 12 19:18:24.427 INFO kablam! warning: unused variable: `e` Oct 12 19:18:24.427 INFO kablam! --> src/main.rs:94:13 Oct 12 19:18:24.427 INFO kablam! | Oct 12 19:18:24.427 INFO kablam! 94 | Err(e) => { Oct 12 19:18:24.427 INFO kablam! | ^ help: consider using `_e` instead Oct 12 19:18:24.427 INFO kablam! | Oct 12 19:18:24.427 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 19:18:24.427 INFO kablam! Oct 12 19:18:24.427 INFO kablam! warning: value assigned to `etcd_ec2_infos` is never read Oct 12 19:18:24.428 INFO kablam! --> src/main.rs:123:13 Oct 12 19:18:24.428 INFO kablam! | Oct 12 19:18:24.428 INFO kablam! 123 | let mut etcd_ec2_infos:Vec = vec![]; Oct 12 19:18:24.428 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 19:18:24.428 INFO kablam! | Oct 12 19:18:24.428 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 12 19:18:24.428 INFO kablam! Oct 12 19:18:24.428 INFO kablam! warning: unused variable: `ec2infos` Oct 12 19:18:24.428 INFO kablam! --> src/main.rs:126:13 Oct 12 19:18:24.428 INFO kablam! | Oct 12 19:18:24.428 INFO kablam! 126 | let ec2infos = match extract_ec2info_from_asg_name(&ASG_NAME, AWS_REGION) { Oct 12 19:18:24.428 INFO kablam! | ^^^^^^^^ help: consider using `_ec2infos` instead Oct 12 19:18:24.428 INFO kablam! Oct 12 19:18:24.428 INFO kablam! warning: unused variable: `count` Oct 12 19:18:24.428 INFO kablam! --> src/main.rs:302:9 Oct 12 19:18:24.428 INFO kablam! | Oct 12 19:18:24.428 INFO kablam! 302 | let count = Cell::new(1); Oct 12 19:18:24.428 INFO kablam! | ^^^^^ help: consider using `_count` instead Oct 12 19:18:24.428 INFO kablam! Oct 12 19:18:24.428 INFO kablam! warning: unused variable: `e` Oct 12 19:18:24.428 INFO kablam! --> src/main.rs:523:13 Oct 12 19:18:24.428 INFO kablam! | Oct 12 19:18:24.428 INFO kablam! 523 | Err(e) => None Oct 12 19:18:24.428 INFO kablam! | ^ help: consider using `_e` instead Oct 12 19:18:24.428 INFO kablam! Oct 12 19:18:24.428 INFO kablam! warning: unused variable: `e` Oct 12 19:18:24.428 INFO kablam! --> src/main.rs:533:13 Oct 12 19:18:24.428 INFO kablam! | Oct 12 19:18:24.428 INFO kablam! 533 | Err(e) => None Oct 12 19:18:24.428 INFO kablam! | ^ help: consider using `_e` instead Oct 12 19:18:24.428 INFO kablam! Oct 12 19:18:24.565 INFO kablam! warning: constant item is never used: `api_add_ok` Oct 12 19:18:24.565 INFO kablam! --> src/main.rs:31:1 Oct 12 19:18:24.565 INFO kablam! | Oct 12 19:18:24.565 INFO kablam! 31 | const api_add_ok: u16 = 201; Oct 12 19:18:24.565 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.565 INFO kablam! | Oct 12 19:18:24.565 INFO kablam! = note: #[warn(dead_code)] on by default Oct 12 19:18:24.565 INFO kablam! Oct 12 19:18:24.565 INFO kablam! warning: constant item is never used: `api_already_added` Oct 12 19:18:24.565 INFO kablam! --> src/main.rs:32:1 Oct 12 19:18:24.565 INFO kablam! | Oct 12 19:18:24.565 INFO kablam! 32 | const api_already_added: u16 = 409; Oct 12 19:18:24.565 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.565 INFO kablam! Oct 12 19:18:24.565 INFO kablam! warning: constant item is never used: `api_delete_ok` Oct 12 19:18:24.565 INFO kablam! --> src/main.rs:33:1 Oct 12 19:18:24.565 INFO kablam! | Oct 12 19:18:24.565 INFO kablam! 33 | const api_delete_ok: u16 = 204; Oct 12 19:18:24.565 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.565 INFO kablam! Oct 12 19:18:24.565 INFO kablam! warning: constant item is never used: `api_delete_gone` Oct 12 19:18:24.565 INFO kablam! --> src/main.rs:34:1 Oct 12 19:18:24.565 INFO kablam! | Oct 12 19:18:24.565 INFO kablam! 34 | const api_delete_gone: u16 = 410; Oct 12 19:18:24.565 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.565 INFO kablam! Oct 12 19:18:24.565 INFO kablam! warning: struct is never constructed: `Ec2Info` Oct 12 19:18:24.565 INFO kablam! --> src/main.rs:390:1 Oct 12 19:18:24.565 INFO kablam! | Oct 12 19:18:24.565 INFO kablam! 390 | struct Ec2Info { Oct 12 19:18:24.565 INFO kablam! | ^^^^^^^^^^^^^^ Oct 12 19:18:24.565 INFO kablam! Oct 12 19:18:24.565 INFO kablam! warning: constant `min_etcd_node` should have an upper case name such as `MIN_ETCD_NODE` Oct 12 19:18:24.565 INFO kablam! --> src/main.rs:28:1 Oct 12 19:18:24.565 INFO kablam! | Oct 12 19:18:24.565 INFO kablam! 28 | const min_etcd_node:usize = 3; // etcd cluster should has at least 3 nodes !!! Oct 12 19:18:24.565 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.565 INFO kablam! | Oct 12 19:18:24.565 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Oct 12 19:18:24.565 INFO kablam! Oct 12 19:18:24.565 INFO kablam! warning: constant `api_add_ok` should have an upper case name such as `API_ADD_OK` Oct 12 19:18:24.565 INFO kablam! --> src/main.rs:31:1 Oct 12 19:18:24.565 INFO kablam! | Oct 12 19:18:24.565 INFO kablam! 31 | const api_add_ok: u16 = 201; Oct 12 19:18:24.565 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.565 INFO kablam! Oct 12 19:18:24.565 INFO kablam! warning: constant `api_already_added` should have an upper case name such as `API_ALREADY_ADDED` Oct 12 19:18:24.565 INFO kablam! --> src/main.rs:32:1 Oct 12 19:18:24.565 INFO kablam! | Oct 12 19:18:24.565 INFO kablam! 32 | const api_already_added: u16 = 409; Oct 12 19:18:24.565 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.565 INFO kablam! Oct 12 19:18:24.565 INFO kablam! warning: constant `api_delete_ok` should have an upper case name such as `API_DELETE_OK` Oct 12 19:18:24.565 INFO kablam! --> src/main.rs:33:1 Oct 12 19:18:24.565 INFO kablam! | Oct 12 19:18:24.565 INFO kablam! 33 | const api_delete_ok: u16 = 204; Oct 12 19:18:24.565 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.565 INFO kablam! Oct 12 19:18:24.565 INFO kablam! warning: constant `api_delete_gone` should have an upper case name such as `API_DELETE_GONE` Oct 12 19:18:24.565 INFO kablam! --> src/main.rs:34:1 Oct 12 19:18:24.565 INFO kablam! | Oct 12 19:18:24.565 INFO kablam! 34 | const api_delete_gone: u16 = 410; Oct 12 19:18:24.565 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.565 INFO kablam! Oct 12 19:18:24.565 INFO kablam! warning: variable `INSTANCE_ADDR` should have a snake case name such as `instance_addr` Oct 12 19:18:24.565 INFO kablam! --> src/main.rs:42:9 Oct 12 19:18:24.565 INFO kablam! | Oct 12 19:18:24.565 INFO kablam! 42 | let INSTANCE_ADDR = match std::env::var("DEBUG") { Oct 12 19:18:24.565 INFO kablam! | ^^^^^^^^^^^^^ Oct 12 19:18:24.565 INFO kablam! | Oct 12 19:18:24.565 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 12 19:18:24.566 INFO kablam! Oct 12 19:18:24.566 INFO kablam! warning: variable `CLIENT_PORT` should have a snake case name such as `client_port` Oct 12 19:18:24.566 INFO kablam! --> src/main.rs:48:9 Oct 12 19:18:24.566 INFO kablam! | Oct 12 19:18:24.566 INFO kablam! 48 | let CLIENT_PORT = env("ETCD_CLIENT_PORT", "2379"); Oct 12 19:18:24.566 INFO kablam! | ^^^^^^^^^^^ Oct 12 19:18:24.566 INFO kablam! Oct 12 19:18:24.566 INFO kablam! warning: variable `SERVER_PORT` should have a snake case name such as `server_port` Oct 12 19:18:24.566 INFO kablam! --> src/main.rs:49:9 Oct 12 19:18:24.566 INFO kablam! | Oct 12 19:18:24.566 INFO kablam! 49 | let SERVER_PORT = env("ETCD_SERVER_PORT", "2380"); Oct 12 19:18:24.566 INFO kablam! | ^^^^^^^^^^^ Oct 12 19:18:24.566 INFO kablam! Oct 12 19:18:24.566 INFO kablam! warning: variable `CLIENT_SCHEME` should have a snake case name such as `client_scheme` Oct 12 19:18:24.566 INFO kablam! --> src/main.rs:50:9 Oct 12 19:18:24.566 INFO kablam! | Oct 12 19:18:24.566 INFO kablam! 50 | let CLIENT_SCHEME = env("ETCD_CLIENT_SCHEME", "http"); Oct 12 19:18:24.566 INFO kablam! | ^^^^^^^^^^^^^ Oct 12 19:18:24.566 INFO kablam! Oct 12 19:18:24.566 INFO kablam! warning: variable `PEER_SCHEME` should have a snake case name such as `peer_scheme` Oct 12 19:18:24.566 INFO kablam! --> src/main.rs:51:9 Oct 12 19:18:24.566 INFO kablam! | Oct 12 19:18:24.566 INFO kablam! 51 | let PEER_SCHEME = env("ETCD_PEER_SCHEME", "http"); Oct 12 19:18:24.566 INFO kablam! | ^^^^^^^^^^^ Oct 12 19:18:24.566 INFO kablam! Oct 12 19:18:24.566 INFO kablam! warning: variable `AWS_REGION` should have a snake case name such as `aws_region` Oct 12 19:18:24.566 INFO kablam! --> src/main.rs:65:9 Oct 12 19:18:24.566 INFO kablam! | Oct 12 19:18:24.566 INFO kablam! 65 | let AWS_REGION: Region = get_region_from_string(&awsid.region); Oct 12 19:18:24.566 INFO kablam! | ^^^^^^^^^^ Oct 12 19:18:24.566 INFO kablam! Oct 12 19:18:24.566 INFO kablam! warning: variable `PROXY_ASG` should have a snake case name such as `proxy_asg` Oct 12 19:18:24.566 INFO kablam! --> src/main.rs:76:10 Oct 12 19:18:24.566 INFO kablam! | Oct 12 19:18:24.566 INFO kablam! 76 | let (PROXY_ASG, ASG_NAME) = match std::env::var("PROXY_ASG") { Oct 12 19:18:24.566 INFO kablam! | ^^^^^^^^^ Oct 12 19:18:24.566 INFO kablam! Oct 12 19:18:24.566 INFO kablam! warning: variable `ASG_NAME` should have a snake case name such as `asg_name` Oct 12 19:18:24.566 INFO kablam! --> src/main.rs:76:21 Oct 12 19:18:24.566 INFO kablam! | Oct 12 19:18:24.566 INFO kablam! 76 | let (PROXY_ASG, ASG_NAME) = match std::env::var("PROXY_ASG") { Oct 12 19:18:24.566 INFO kablam! | ^^^^^^^^ Oct 12 19:18:24.566 INFO kablam! Oct 12 19:18:24.566 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 19:18:24.566 INFO kablam! --> src/main.rs:306:5 Oct 12 19:18:24.566 INFO kablam! | Oct 12 19:18:24.566 INFO kablam! 306 | easy.timeout(Duration::from_millis(5000)); Oct 12 19:18:24.566 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.566 INFO kablam! | Oct 12 19:18:24.566 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 12 19:18:24.566 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 19:18:24.566 INFO kablam! Oct 12 19:18:24.566 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 19:18:24.566 INFO kablam! --> src/main.rs:339:5 Oct 12 19:18:24.566 INFO kablam! | Oct 12 19:18:24.566 INFO kablam! 339 | easy.timeout(Duration::from_millis(5000)); Oct 12 19:18:24.566 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.566 INFO kablam! | Oct 12 19:18:24.566 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 19:18:24.566 INFO kablam! Oct 12 19:18:24.566 INFO kablam! warning: unused `std::result::Result` which must be used Oct 12 19:18:24.566 INFO kablam! --> src/main.rs:366:9 Oct 12 19:18:24.566 INFO kablam! | Oct 12 19:18:24.566 INFO kablam! 366 | easy.timeout(Duration::from_millis(5000)); Oct 12 19:18:24.566 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.566 INFO kablam! | Oct 12 19:18:24.566 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 12 19:18:24.566 INFO kablam! Oct 12 19:18:24.566 INFO kablam! warning: structure field `instanceId` should have a snake case name such as `instance_id` Oct 12 19:18:24.566 INFO kablam! --> src/main.rs:385:5 Oct 12 19:18:24.566 INFO kablam! | Oct 12 19:18:24.566 INFO kablam! 385 | instanceId: String, Oct 12 19:18:24.566 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.566 INFO kablam! Oct 12 19:18:24.566 INFO kablam! warning: structure field `privateIp` should have a snake case name such as `private_ip` Oct 12 19:18:24.566 INFO kablam! --> src/main.rs:386:5 Oct 12 19:18:24.566 INFO kablam! | Oct 12 19:18:24.566 INFO kablam! 386 | privateIp: String, Oct 12 19:18:24.566 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.566 INFO kablam! Oct 12 19:18:24.568 INFO kablam! warning: structure field `peerURLs` should have a snake case name such as `peer_urls` Oct 12 19:18:24.568 INFO kablam! --> src/main.rs:405:5 Oct 12 19:18:24.568 INFO kablam! | Oct 12 19:18:24.568 INFO kablam! 405 | peerURLs: Vec, Oct 12 19:18:24.568 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.568 INFO kablam! Oct 12 19:18:24.568 INFO kablam! warning: structure field `clientURLs` should have a snake case name such as `client_urls` Oct 12 19:18:24.568 INFO kablam! --> src/main.rs:406:5 Oct 12 19:18:24.568 INFO kablam! | Oct 12 19:18:24.568 INFO kablam! 406 | clientURLs: Vec, Oct 12 19:18:24.568 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 19:18:24.568 INFO kablam! Oct 12 19:18:24.612 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1m 46s Oct 12 19:18:24.620 INFO kablam! su: No module specific data is present Oct 12 19:18:26.027 INFO running `"docker" "rm" "-f" "28949e302ccb35a1e322596fb9ab6c698ed6cdfdfed9fb164a28c6d948d472e7"` Oct 12 19:18:26.351 INFO blam! 28949e302ccb35a1e322596fb9ab6c698ed6cdfdfed9fb164a28c6d948d472e7