Oct 27 02:26:20.788 INFO checking karlvlam/etcd2-aws-cluster against try#19f01b935b91481fd445b16b533d2f87661bf12e for pr-55192-2 Oct 27 02:26:20.788 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-55192-2/worker-7/try#19f01b935b91481fd445b16b533d2f87661bf12e:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/pr-55192-2/try#19f01b935b91481fd445b16b533d2f87661bf12e:/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 +19f01b935b91481fd445b16b533d2f87661bf12e-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 27 02:26:21.309 INFO blam! de0aa20a1398759fcc8027f8e295b324e142a7baac8ef5736b3059d6064d850d Oct 27 02:26:21.312 INFO running `"docker" "start" "-a" "de0aa20a1398759fcc8027f8e295b324e142a7baac8ef5736b3059d6064d850d"` Oct 27 02:26:23.353 INFO kablam! usermod: no changes Oct 27 02:26:23.707 INFO kablam! Compiling matches v0.1.4 Oct 27 02:26:23.707 INFO kablam! Compiling unicode-normalization v0.1.4 Oct 27 02:26:23.707 INFO kablam! Compiling regex-syntax v0.4.0 Oct 27 02:26:23.711 INFO kablam! Compiling lazy_static v0.2.5 Oct 27 02:26:23.711 INFO kablam! Compiling rustc-serialize v0.3.23 Oct 27 02:26:23.711 INFO kablam! Compiling httparse v1.2.1 Oct 27 02:26:23.711 INFO kablam! Compiling ring v0.6.3 Oct 27 02:26:23.711 INFO kablam! Checking untrusted v0.3.2 Oct 27 02:26:25.363 INFO kablam! Checking md5 v0.3.3 Oct 27 02:26:25.643 INFO kablam! Compiling thread-id v3.0.0 Oct 27 02:26:25.871 INFO kablam! Compiling memchr v1.0.1 Oct 27 02:26:29.447 INFO kablam! Compiling time v0.1.36 Oct 27 02:26:29.455 INFO kablam! Compiling num_cpus v1.3.0 Oct 27 02:26:29.466 INFO kablam! Compiling unreachable v0.1.1 Oct 27 02:26:29.547 INFO kablam! Compiling libz-sys v1.0.13 Oct 27 02:26:30.275 INFO kablam! Compiling curl-sys v0.3.10 Oct 27 02:26:31.967 INFO kablam! Compiling mime v0.2.3 Oct 27 02:26:36.496 INFO kablam! Checking serde_json v0.8.6 Oct 27 02:26:36.498 INFO kablam! Compiling unicode-bidi v0.2.5 Oct 27 02:26:40.394 INFO kablam! Compiling deque v0.3.1 Oct 27 02:26:40.416 INFO kablam! Compiling aho-corasick v0.6.3 Oct 27 02:26:40.433 INFO kablam! Compiling thread_local v0.3.3 Oct 27 02:26:51.052 INFO kablam! Compiling rayon v0.6.0 Oct 27 02:26:51.083 INFO kablam! Compiling idna v0.1.0 Oct 27 02:26:51.194 INFO kablam! Compiling unicase v1.4.0 Oct 27 02:26:51.736 INFO kablam! Checking serde_urlencoded v0.3.0 Oct 27 02:26:51.839 INFO kablam! Checking chrono v0.2.25 Oct 27 02:26:52.752 INFO kablam! Compiling regex v0.2.1 Oct 27 02:26:55.931 INFO kablam! Checking reqwest v0.3.0 Oct 27 02:27:01.185 INFO kablam! Checking curl v0.4.6 Oct 27 02:27:02.567 INFO kablam! Checking rusoto_credential v0.5.0 Oct 27 02:27:05.710 INFO kablam! Compiling url v1.4.0 Oct 27 02:27:14.963 INFO kablam! Compiling Inflector v0.7.0 Oct 27 02:27:15.783 INFO kablam! Compiling hyper v0.10.5 Oct 27 02:27:23.990 INFO kablam! Compiling rusoto_codegen v0.7.1 Oct 27 02:27:35.115 INFO kablam! Compiling rusoto v0.23.1 Oct 27 02:28:03.467 INFO kablam! Checking etcd2-aws-cluster v0.1.0 (/source) Oct 27 02:28:05.441 INFO kablam! warning: unused import: `std::borrow::ToOwned` Oct 27 02:28:05.441 INFO kablam! --> src/main.rs:12:5 Oct 27 02:28:05.441 INFO kablam! | Oct 27 02:28:05.442 INFO kablam! 12 | use std::borrow::ToOwned; Oct 27 02:28:05.442 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:05.442 INFO kablam! | Oct 27 02:28:05.442 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 27 02:28:05.442 INFO kablam! Oct 27 02:28:05.442 INFO kablam! warning: unused import: `std::ops::Add` Oct 27 02:28:05.442 INFO kablam! --> src/main.rs:17:5 Oct 27 02:28:05.442 INFO kablam! | Oct 27 02:28:05.442 INFO kablam! 17 | use std::ops::Add; Oct 27 02:28:05.442 INFO kablam! | ^^^^^^^^^^^^^ Oct 27 02:28:05.442 INFO kablam! Oct 27 02:28:05.443 INFO kablam! warning: unused import: `AutoScalingGroupNamesType` Oct 27 02:28:05.443 INFO kablam! --> src/main.rs:24:46 Oct 27 02:28:05.443 INFO kablam! | Oct 27 02:28:05.443 INFO kablam! 24 | use rusoto::autoscaling::{AutoscalingClient, AutoScalingGroupNamesType, AutoScalingGroup}; Oct 27 02:28:05.443 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:05.443 INFO kablam! Oct 27 02:28:05.847 INFO kablam! warning: unused variable: `e` Oct 27 02:28:05.847 INFO kablam! --> src/main.rs:94:13 Oct 27 02:28:05.847 INFO kablam! | Oct 27 02:28:05.847 INFO kablam! 94 | Err(e) => { Oct 27 02:28:05.847 INFO kablam! | ^ help: consider using `_e` instead Oct 27 02:28:05.847 INFO kablam! | Oct 27 02:28:05.847 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 27 02:28:05.847 INFO kablam! Oct 27 02:28:05.847 INFO kablam! warning: value assigned to `etcd_ec2_infos` is never read Oct 27 02:28:05.847 INFO kablam! --> src/main.rs:123:13 Oct 27 02:28:05.847 INFO kablam! | Oct 27 02:28:05.847 INFO kablam! 123 | let mut etcd_ec2_infos:Vec = vec![]; Oct 27 02:28:05.847 INFO kablam! | ^^^^^^^^^^^^^^ Oct 27 02:28:05.847 INFO kablam! | Oct 27 02:28:05.847 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 27 02:28:05.847 INFO kablam! Oct 27 02:28:05.847 INFO kablam! warning: unused variable: `ec2infos` Oct 27 02:28:05.847 INFO kablam! --> src/main.rs:126:13 Oct 27 02:28:05.847 INFO kablam! | Oct 27 02:28:05.847 INFO kablam! 126 | let ec2infos = match extract_ec2info_from_asg_name(&ASG_NAME, AWS_REGION) { Oct 27 02:28:05.847 INFO kablam! | ^^^^^^^^ help: consider using `_ec2infos` instead Oct 27 02:28:05.847 INFO kablam! Oct 27 02:28:05.848 INFO kablam! warning: unused variable: `count` Oct 27 02:28:05.848 INFO kablam! --> src/main.rs:302:9 Oct 27 02:28:05.848 INFO kablam! | Oct 27 02:28:05.848 INFO kablam! 302 | let count = Cell::new(1); Oct 27 02:28:05.848 INFO kablam! | ^^^^^ help: consider using `_count` instead Oct 27 02:28:05.848 INFO kablam! Oct 27 02:28:05.848 INFO kablam! warning: unused variable: `e` Oct 27 02:28:05.848 INFO kablam! --> src/main.rs:523:13 Oct 27 02:28:05.848 INFO kablam! | Oct 27 02:28:05.848 INFO kablam! 523 | Err(e) => None Oct 27 02:28:05.848 INFO kablam! | ^ help: consider using `_e` instead Oct 27 02:28:05.848 INFO kablam! Oct 27 02:28:05.848 INFO kablam! warning: unused variable: `e` Oct 27 02:28:05.848 INFO kablam! --> src/main.rs:533:13 Oct 27 02:28:05.848 INFO kablam! | Oct 27 02:28:05.848 INFO kablam! 533 | Err(e) => None Oct 27 02:28:05.848 INFO kablam! | ^ help: consider using `_e` instead Oct 27 02:28:05.848 INFO kablam! Oct 27 02:28:06.091 INFO kablam! warning: constant item is never used: `api_add_ok` Oct 27 02:28:06.091 INFO kablam! --> src/main.rs:31:1 Oct 27 02:28:06.091 INFO kablam! | Oct 27 02:28:06.091 INFO kablam! 31 | const api_add_ok: u16 = 201; Oct 27 02:28:06.091 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.091 INFO kablam! | Oct 27 02:28:06.091 INFO kablam! = note: #[warn(dead_code)] on by default Oct 27 02:28:06.091 INFO kablam! Oct 27 02:28:06.091 INFO kablam! warning: constant item is never used: `api_already_added` Oct 27 02:28:06.091 INFO kablam! --> src/main.rs:32:1 Oct 27 02:28:06.091 INFO kablam! | Oct 27 02:28:06.091 INFO kablam! 32 | const api_already_added: u16 = 409; Oct 27 02:28:06.091 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.091 INFO kablam! Oct 27 02:28:06.091 INFO kablam! warning: constant item is never used: `api_delete_ok` Oct 27 02:28:06.091 INFO kablam! --> src/main.rs:33:1 Oct 27 02:28:06.091 INFO kablam! | Oct 27 02:28:06.091 INFO kablam! 33 | const api_delete_ok: u16 = 204; Oct 27 02:28:06.091 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.091 INFO kablam! Oct 27 02:28:06.091 INFO kablam! warning: constant item is never used: `api_delete_gone` Oct 27 02:28:06.091 INFO kablam! --> src/main.rs:34:1 Oct 27 02:28:06.091 INFO kablam! | Oct 27 02:28:06.091 INFO kablam! 34 | const api_delete_gone: u16 = 410; Oct 27 02:28:06.091 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.091 INFO kablam! Oct 27 02:28:06.092 INFO kablam! warning: struct is never constructed: `Ec2Info` Oct 27 02:28:06.092 INFO kablam! --> src/main.rs:390:1 Oct 27 02:28:06.092 INFO kablam! | Oct 27 02:28:06.092 INFO kablam! 390 | struct Ec2Info { Oct 27 02:28:06.092 INFO kablam! | ^^^^^^^^^^^^^^ Oct 27 02:28:06.092 INFO kablam! Oct 27 02:28:06.092 INFO kablam! warning: constant `min_etcd_node` should have an upper case name such as `MIN_ETCD_NODE` Oct 27 02:28:06.092 INFO kablam! --> src/main.rs:28:1 Oct 27 02:28:06.092 INFO kablam! | Oct 27 02:28:06.092 INFO kablam! 28 | const min_etcd_node:usize = 3; // etcd cluster should has at least 3 nodes !!! Oct 27 02:28:06.092 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.092 INFO kablam! | Oct 27 02:28:06.092 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Oct 27 02:28:06.092 INFO kablam! Oct 27 02:28:06.099 INFO kablam! warning: constant `api_add_ok` should have an upper case name such as `API_ADD_OK` Oct 27 02:28:06.099 INFO kablam! --> src/main.rs:31:1 Oct 27 02:28:06.099 INFO kablam! | Oct 27 02:28:06.099 INFO kablam! 31 | const api_add_ok: u16 = 201; Oct 27 02:28:06.099 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.099 INFO kablam! Oct 27 02:28:06.099 INFO kablam! warning: constant `api_already_added` should have an upper case name such as `API_ALREADY_ADDED` Oct 27 02:28:06.099 INFO kablam! --> src/main.rs:32:1 Oct 27 02:28:06.099 INFO kablam! | Oct 27 02:28:06.100 INFO kablam! 32 | const api_already_added: u16 = 409; Oct 27 02:28:06.100 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.100 INFO kablam! Oct 27 02:28:06.100 INFO kablam! warning: constant `api_delete_ok` should have an upper case name such as `API_DELETE_OK` Oct 27 02:28:06.100 INFO kablam! --> src/main.rs:33:1 Oct 27 02:28:06.100 INFO kablam! | Oct 27 02:28:06.100 INFO kablam! 33 | const api_delete_ok: u16 = 204; Oct 27 02:28:06.100 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.100 INFO kablam! Oct 27 02:28:06.100 INFO kablam! warning: constant `api_delete_gone` should have an upper case name such as `API_DELETE_GONE` Oct 27 02:28:06.101 INFO kablam! --> src/main.rs:34:1 Oct 27 02:28:06.101 INFO kablam! | Oct 27 02:28:06.101 INFO kablam! 34 | const api_delete_gone: u16 = 410; Oct 27 02:28:06.101 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.101 INFO kablam! Oct 27 02:28:06.102 INFO kablam! warning: variable `INSTANCE_ADDR` should have a snake case name such as `instance_addr` Oct 27 02:28:06.102 INFO kablam! --> src/main.rs:42:9 Oct 27 02:28:06.102 INFO kablam! | Oct 27 02:28:06.102 INFO kablam! 42 | let INSTANCE_ADDR = match std::env::var("DEBUG") { Oct 27 02:28:06.102 INFO kablam! | ^^^^^^^^^^^^^ Oct 27 02:28:06.103 INFO kablam! | Oct 27 02:28:06.103 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 27 02:28:06.103 INFO kablam! Oct 27 02:28:06.103 INFO kablam! warning: variable `CLIENT_PORT` should have a snake case name such as `client_port` Oct 27 02:28:06.103 INFO kablam! --> src/main.rs:48:9 Oct 27 02:28:06.103 INFO kablam! | Oct 27 02:28:06.103 INFO kablam! 48 | let CLIENT_PORT = env("ETCD_CLIENT_PORT", "2379"); Oct 27 02:28:06.103 INFO kablam! | ^^^^^^^^^^^ Oct 27 02:28:06.104 INFO kablam! Oct 27 02:28:06.104 INFO kablam! warning: variable `SERVER_PORT` should have a snake case name such as `server_port` Oct 27 02:28:06.104 INFO kablam! --> src/main.rs:49:9 Oct 27 02:28:06.104 INFO kablam! | Oct 27 02:28:06.104 INFO kablam! 49 | let SERVER_PORT = env("ETCD_SERVER_PORT", "2380"); Oct 27 02:28:06.104 INFO kablam! | ^^^^^^^^^^^ Oct 27 02:28:06.104 INFO kablam! Oct 27 02:28:06.105 INFO kablam! warning: variable `CLIENT_SCHEME` should have a snake case name such as `client_scheme` Oct 27 02:28:06.105 INFO kablam! --> src/main.rs:50:9 Oct 27 02:28:06.105 INFO kablam! | Oct 27 02:28:06.105 INFO kablam! 50 | let CLIENT_SCHEME = env("ETCD_CLIENT_SCHEME", "http"); Oct 27 02:28:06.105 INFO kablam! | ^^^^^^^^^^^^^ Oct 27 02:28:06.105 INFO kablam! Oct 27 02:28:06.105 INFO kablam! warning: variable `PEER_SCHEME` should have a snake case name such as `peer_scheme` Oct 27 02:28:06.106 INFO kablam! --> src/main.rs:51:9 Oct 27 02:28:06.106 INFO kablam! | Oct 27 02:28:06.106 INFO kablam! 51 | let PEER_SCHEME = env("ETCD_PEER_SCHEME", "http"); Oct 27 02:28:06.106 INFO kablam! | ^^^^^^^^^^^ Oct 27 02:28:06.106 INFO kablam! Oct 27 02:28:06.106 INFO kablam! warning: variable `AWS_REGION` should have a snake case name such as `aws_region` Oct 27 02:28:06.106 INFO kablam! --> src/main.rs:65:9 Oct 27 02:28:06.111 INFO kablam! | Oct 27 02:28:06.111 INFO kablam! 65 | let AWS_REGION: Region = get_region_from_string(&awsid.region); Oct 27 02:28:06.111 INFO kablam! | ^^^^^^^^^^ Oct 27 02:28:06.111 INFO kablam! Oct 27 02:28:06.111 INFO kablam! warning: variable `PROXY_ASG` should have a snake case name such as `proxy_asg` Oct 27 02:28:06.111 INFO kablam! --> src/main.rs:76:10 Oct 27 02:28:06.112 INFO kablam! | Oct 27 02:28:06.112 INFO kablam! 76 | let (PROXY_ASG, ASG_NAME) = match std::env::var("PROXY_ASG") { Oct 27 02:28:06.112 INFO kablam! | ^^^^^^^^^ Oct 27 02:28:06.112 INFO kablam! Oct 27 02:28:06.112 INFO kablam! warning: variable `ASG_NAME` should have a snake case name such as `asg_name` Oct 27 02:28:06.112 INFO kablam! --> src/main.rs:76:21 Oct 27 02:28:06.112 INFO kablam! | Oct 27 02:28:06.113 INFO kablam! 76 | let (PROXY_ASG, ASG_NAME) = match std::env::var("PROXY_ASG") { Oct 27 02:28:06.113 INFO kablam! | ^^^^^^^^ Oct 27 02:28:06.113 INFO kablam! Oct 27 02:28:06.114 INFO kablam! warning: unused `std::result::Result` that must be used Oct 27 02:28:06.114 INFO kablam! --> src/main.rs:306:5 Oct 27 02:28:06.114 INFO kablam! | Oct 27 02:28:06.114 INFO kablam! 306 | easy.timeout(Duration::from_millis(5000)); Oct 27 02:28:06.114 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.114 INFO kablam! | Oct 27 02:28:06.114 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 27 02:28:06.115 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 27 02:28:06.115 INFO kablam! Oct 27 02:28:06.115 INFO kablam! warning: unused `std::result::Result` that must be used Oct 27 02:28:06.115 INFO kablam! --> src/main.rs:339:5 Oct 27 02:28:06.115 INFO kablam! | Oct 27 02:28:06.115 INFO kablam! 339 | easy.timeout(Duration::from_millis(5000)); Oct 27 02:28:06.115 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.115 INFO kablam! | Oct 27 02:28:06.116 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 27 02:28:06.116 INFO kablam! Oct 27 02:28:06.116 INFO kablam! warning: unused `std::result::Result` that must be used Oct 27 02:28:06.116 INFO kablam! --> src/main.rs:366:9 Oct 27 02:28:06.116 INFO kablam! | Oct 27 02:28:06.116 INFO kablam! 366 | easy.timeout(Duration::from_millis(5000)); Oct 27 02:28:06.116 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.116 INFO kablam! | Oct 27 02:28:06.116 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 27 02:28:06.116 INFO kablam! Oct 27 02:28:06.116 INFO kablam! warning: structure field `instanceId` should have a snake case name such as `instance_id` Oct 27 02:28:06.117 INFO kablam! --> src/main.rs:385:5 Oct 27 02:28:06.117 INFO kablam! | Oct 27 02:28:06.117 INFO kablam! 385 | instanceId: String, Oct 27 02:28:06.117 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.117 INFO kablam! Oct 27 02:28:06.117 INFO kablam! warning: structure field `privateIp` should have a snake case name such as `private_ip` Oct 27 02:28:06.117 INFO kablam! --> src/main.rs:386:5 Oct 27 02:28:06.117 INFO kablam! | Oct 27 02:28:06.117 INFO kablam! 386 | privateIp: String, Oct 27 02:28:06.117 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.117 INFO kablam! Oct 27 02:28:06.119 INFO kablam! warning: structure field `peerURLs` should have a snake case name such as `peer_urls` Oct 27 02:28:06.119 INFO kablam! --> src/main.rs:405:5 Oct 27 02:28:06.119 INFO kablam! | Oct 27 02:28:06.119 INFO kablam! 405 | peerURLs: Vec, Oct 27 02:28:06.119 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.119 INFO kablam! Oct 27 02:28:06.120 INFO kablam! warning: structure field `clientURLs` should have a snake case name such as `client_urls` Oct 27 02:28:06.120 INFO kablam! --> src/main.rs:406:5 Oct 27 02:28:06.120 INFO kablam! | Oct 27 02:28:06.120 INFO kablam! 406 | clientURLs: Vec, Oct 27 02:28:06.120 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.120 INFO kablam! Oct 27 02:28:06.315 INFO kablam! warning: unused import: `std::borrow::ToOwned` Oct 27 02:28:06.315 INFO kablam! --> src/main.rs:12:5 Oct 27 02:28:06.315 INFO kablam! | Oct 27 02:28:06.315 INFO kablam! 12 | use std::borrow::ToOwned; Oct 27 02:28:06.315 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.315 INFO kablam! | Oct 27 02:28:06.315 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 27 02:28:06.315 INFO kablam! Oct 27 02:28:06.315 INFO kablam! warning: unused import: `std::ops::Add` Oct 27 02:28:06.315 INFO kablam! --> src/main.rs:17:5 Oct 27 02:28:06.315 INFO kablam! | Oct 27 02:28:06.315 INFO kablam! 17 | use std::ops::Add; Oct 27 02:28:06.315 INFO kablam! | ^^^^^^^^^^^^^ Oct 27 02:28:06.315 INFO kablam! Oct 27 02:28:06.315 INFO kablam! warning: unused import: `AutoScalingGroupNamesType` Oct 27 02:28:06.315 INFO kablam! --> src/main.rs:24:46 Oct 27 02:28:06.315 INFO kablam! | Oct 27 02:28:06.315 INFO kablam! 24 | use rusoto::autoscaling::{AutoscalingClient, AutoScalingGroupNamesType, AutoScalingGroup}; Oct 27 02:28:06.315 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.315 INFO kablam! Oct 27 02:28:06.659 INFO kablam! warning: unused variable: `e` Oct 27 02:28:06.659 INFO kablam! --> src/main.rs:94:13 Oct 27 02:28:06.659 INFO kablam! | Oct 27 02:28:06.659 INFO kablam! 94 | Err(e) => { Oct 27 02:28:06.659 INFO kablam! | ^ help: consider using `_e` instead Oct 27 02:28:06.659 INFO kablam! | Oct 27 02:28:06.659 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 27 02:28:06.659 INFO kablam! Oct 27 02:28:06.659 INFO kablam! warning: value assigned to `etcd_ec2_infos` is never read Oct 27 02:28:06.659 INFO kablam! --> src/main.rs:123:13 Oct 27 02:28:06.659 INFO kablam! | Oct 27 02:28:06.659 INFO kablam! 123 | let mut etcd_ec2_infos:Vec = vec![]; Oct 27 02:28:06.659 INFO kablam! | ^^^^^^^^^^^^^^ Oct 27 02:28:06.659 INFO kablam! | Oct 27 02:28:06.659 INFO kablam! = note: #[warn(unused_assignments)] on by default Oct 27 02:28:06.659 INFO kablam! Oct 27 02:28:06.659 INFO kablam! warning: unused variable: `ec2infos` Oct 27 02:28:06.659 INFO kablam! --> src/main.rs:126:13 Oct 27 02:28:06.659 INFO kablam! | Oct 27 02:28:06.659 INFO kablam! 126 | let ec2infos = match extract_ec2info_from_asg_name(&ASG_NAME, AWS_REGION) { Oct 27 02:28:06.659 INFO kablam! | ^^^^^^^^ help: consider using `_ec2infos` instead Oct 27 02:28:06.659 INFO kablam! Oct 27 02:28:06.659 INFO kablam! warning: unused variable: `count` Oct 27 02:28:06.659 INFO kablam! --> src/main.rs:302:9 Oct 27 02:28:06.659 INFO kablam! | Oct 27 02:28:06.659 INFO kablam! 302 | let count = Cell::new(1); Oct 27 02:28:06.659 INFO kablam! | ^^^^^ help: consider using `_count` instead Oct 27 02:28:06.659 INFO kablam! Oct 27 02:28:06.659 INFO kablam! warning: unused variable: `e` Oct 27 02:28:06.659 INFO kablam! --> src/main.rs:523:13 Oct 27 02:28:06.659 INFO kablam! | Oct 27 02:28:06.659 INFO kablam! 523 | Err(e) => None Oct 27 02:28:06.659 INFO kablam! | ^ help: consider using `_e` instead Oct 27 02:28:06.659 INFO kablam! Oct 27 02:28:06.659 INFO kablam! warning: unused variable: `e` Oct 27 02:28:06.659 INFO kablam! --> src/main.rs:533:13 Oct 27 02:28:06.659 INFO kablam! | Oct 27 02:28:06.659 INFO kablam! 533 | Err(e) => None Oct 27 02:28:06.659 INFO kablam! | ^ help: consider using `_e` instead Oct 27 02:28:06.659 INFO kablam! Oct 27 02:28:06.789 INFO kablam! warning: constant item is never used: `api_add_ok` Oct 27 02:28:06.789 INFO kablam! --> src/main.rs:31:1 Oct 27 02:28:06.789 INFO kablam! | Oct 27 02:28:06.789 INFO kablam! 31 | const api_add_ok: u16 = 201; Oct 27 02:28:06.789 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.789 INFO kablam! | Oct 27 02:28:06.789 INFO kablam! = note: #[warn(dead_code)] on by default Oct 27 02:28:06.789 INFO kablam! Oct 27 02:28:06.789 INFO kablam! warning: constant item is never used: `api_already_added` Oct 27 02:28:06.789 INFO kablam! --> src/main.rs:32:1 Oct 27 02:28:06.789 INFO kablam! | Oct 27 02:28:06.789 INFO kablam! 32 | const api_already_added: u16 = 409; Oct 27 02:28:06.789 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.789 INFO kablam! Oct 27 02:28:06.789 INFO kablam! warning: constant item is never used: `api_delete_ok` Oct 27 02:28:06.789 INFO kablam! --> src/main.rs:33:1 Oct 27 02:28:06.789 INFO kablam! | Oct 27 02:28:06.789 INFO kablam! 33 | const api_delete_ok: u16 = 204; Oct 27 02:28:06.789 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.789 INFO kablam! Oct 27 02:28:06.789 INFO kablam! warning: constant item is never used: `api_delete_gone` Oct 27 02:28:06.789 INFO kablam! --> src/main.rs:34:1 Oct 27 02:28:06.789 INFO kablam! | Oct 27 02:28:06.789 INFO kablam! 34 | const api_delete_gone: u16 = 410; Oct 27 02:28:06.789 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.789 INFO kablam! Oct 27 02:28:06.789 INFO kablam! warning: struct is never constructed: `Ec2Info` Oct 27 02:28:06.789 INFO kablam! --> src/main.rs:390:1 Oct 27 02:28:06.789 INFO kablam! | Oct 27 02:28:06.789 INFO kablam! 390 | struct Ec2Info { Oct 27 02:28:06.789 INFO kablam! | ^^^^^^^^^^^^^^ Oct 27 02:28:06.789 INFO kablam! Oct 27 02:28:06.793 INFO kablam! warning: constant `min_etcd_node` should have an upper case name such as `MIN_ETCD_NODE` Oct 27 02:28:06.793 INFO kablam! --> src/main.rs:28:1 Oct 27 02:28:06.793 INFO kablam! | Oct 27 02:28:06.793 INFO kablam! 28 | const min_etcd_node:usize = 3; // etcd cluster should has at least 3 nodes !!! Oct 27 02:28:06.793 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.793 INFO kablam! | Oct 27 02:28:06.793 INFO kablam! = note: #[warn(non_upper_case_globals)] on by default Oct 27 02:28:06.793 INFO kablam! Oct 27 02:28:06.793 INFO kablam! warning: constant `api_add_ok` should have an upper case name such as `API_ADD_OK` Oct 27 02:28:06.793 INFO kablam! --> src/main.rs:31:1 Oct 27 02:28:06.793 INFO kablam! | Oct 27 02:28:06.793 INFO kablam! 31 | const api_add_ok: u16 = 201; Oct 27 02:28:06.793 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.794 INFO kablam! Oct 27 02:28:06.794 INFO kablam! warning: constant `api_already_added` should have an upper case name such as `API_ALREADY_ADDED` Oct 27 02:28:06.794 INFO kablam! --> src/main.rs:32:1 Oct 27 02:28:06.794 INFO kablam! | Oct 27 02:28:06.794 INFO kablam! 32 | const api_already_added: u16 = 409; Oct 27 02:28:06.794 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.794 INFO kablam! Oct 27 02:28:06.794 INFO kablam! warning: constant `api_delete_ok` should have an upper case name such as `API_DELETE_OK` Oct 27 02:28:06.794 INFO kablam! --> src/main.rs:33:1 Oct 27 02:28:06.794 INFO kablam! | Oct 27 02:28:06.794 INFO kablam! 33 | const api_delete_ok: u16 = 204; Oct 27 02:28:06.794 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.794 INFO kablam! Oct 27 02:28:06.794 INFO kablam! warning: constant `api_delete_gone` should have an upper case name such as `API_DELETE_GONE` Oct 27 02:28:06.794 INFO kablam! --> src/main.rs:34:1 Oct 27 02:28:06.794 INFO kablam! | Oct 27 02:28:06.794 INFO kablam! 34 | const api_delete_gone: u16 = 410; Oct 27 02:28:06.794 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.794 INFO kablam! Oct 27 02:28:06.794 INFO kablam! warning: variable `INSTANCE_ADDR` should have a snake case name such as `instance_addr` Oct 27 02:28:06.794 INFO kablam! --> src/main.rs:42:9 Oct 27 02:28:06.794 INFO kablam! | Oct 27 02:28:06.794 INFO kablam! 42 | let INSTANCE_ADDR = match std::env::var("DEBUG") { Oct 27 02:28:06.794 INFO kablam! | ^^^^^^^^^^^^^ Oct 27 02:28:06.794 INFO kablam! | Oct 27 02:28:06.794 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 27 02:28:06.794 INFO kablam! Oct 27 02:28:06.794 INFO kablam! warning: variable `CLIENT_PORT` should have a snake case name such as `client_port` Oct 27 02:28:06.794 INFO kablam! --> src/main.rs:48:9 Oct 27 02:28:06.794 INFO kablam! | Oct 27 02:28:06.794 INFO kablam! 48 | let CLIENT_PORT = env("ETCD_CLIENT_PORT", "2379"); Oct 27 02:28:06.794 INFO kablam! | ^^^^^^^^^^^ Oct 27 02:28:06.794 INFO kablam! Oct 27 02:28:06.794 INFO kablam! warning: variable `SERVER_PORT` should have a snake case name such as `server_port` Oct 27 02:28:06.794 INFO kablam! --> src/main.rs:49:9 Oct 27 02:28:06.794 INFO kablam! | Oct 27 02:28:06.794 INFO kablam! 49 | let SERVER_PORT = env("ETCD_SERVER_PORT", "2380"); Oct 27 02:28:06.794 INFO kablam! | ^^^^^^^^^^^ Oct 27 02:28:06.794 INFO kablam! Oct 27 02:28:06.794 INFO kablam! warning: variable `CLIENT_SCHEME` should have a snake case name such as `client_scheme` Oct 27 02:28:06.794 INFO kablam! --> src/main.rs:50:9 Oct 27 02:28:06.794 INFO kablam! | Oct 27 02:28:06.794 INFO kablam! 50 | let CLIENT_SCHEME = env("ETCD_CLIENT_SCHEME", "http"); Oct 27 02:28:06.794 INFO kablam! | ^^^^^^^^^^^^^ Oct 27 02:28:06.794 INFO kablam! Oct 27 02:28:06.794 INFO kablam! warning: variable `PEER_SCHEME` should have a snake case name such as `peer_scheme` Oct 27 02:28:06.794 INFO kablam! --> src/main.rs:51:9 Oct 27 02:28:06.794 INFO kablam! | Oct 27 02:28:06.794 INFO kablam! 51 | let PEER_SCHEME = env("ETCD_PEER_SCHEME", "http"); Oct 27 02:28:06.794 INFO kablam! | ^^^^^^^^^^^ Oct 27 02:28:06.794 INFO kablam! Oct 27 02:28:06.794 INFO kablam! warning: variable `AWS_REGION` should have a snake case name such as `aws_region` Oct 27 02:28:06.794 INFO kablam! --> src/main.rs:65:9 Oct 27 02:28:06.794 INFO kablam! | Oct 27 02:28:06.794 INFO kablam! 65 | let AWS_REGION: Region = get_region_from_string(&awsid.region); Oct 27 02:28:06.794 INFO kablam! | ^^^^^^^^^^ Oct 27 02:28:06.794 INFO kablam! Oct 27 02:28:06.794 INFO kablam! warning: variable `PROXY_ASG` should have a snake case name such as `proxy_asg` Oct 27 02:28:06.794 INFO kablam! --> src/main.rs:76:10 Oct 27 02:28:06.794 INFO kablam! | Oct 27 02:28:06.794 INFO kablam! 76 | let (PROXY_ASG, ASG_NAME) = match std::env::var("PROXY_ASG") { Oct 27 02:28:06.794 INFO kablam! | ^^^^^^^^^ Oct 27 02:28:06.794 INFO kablam! Oct 27 02:28:06.794 INFO kablam! warning: variable `ASG_NAME` should have a snake case name such as `asg_name` Oct 27 02:28:06.794 INFO kablam! --> src/main.rs:76:21 Oct 27 02:28:06.794 INFO kablam! | Oct 27 02:28:06.794 INFO kablam! 76 | let (PROXY_ASG, ASG_NAME) = match std::env::var("PROXY_ASG") { Oct 27 02:28:06.794 INFO kablam! | ^^^^^^^^ Oct 27 02:28:06.794 INFO kablam! Oct 27 02:28:06.794 INFO kablam! warning: unused `std::result::Result` that must be used Oct 27 02:28:06.794 INFO kablam! --> src/main.rs:306:5 Oct 27 02:28:06.794 INFO kablam! | Oct 27 02:28:06.794 INFO kablam! 306 | easy.timeout(Duration::from_millis(5000)); Oct 27 02:28:06.794 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.794 INFO kablam! | Oct 27 02:28:06.794 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 27 02:28:06.794 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 27 02:28:06.794 INFO kablam! Oct 27 02:28:06.794 INFO kablam! warning: unused `std::result::Result` that must be used Oct 27 02:28:06.794 INFO kablam! --> src/main.rs:339:5 Oct 27 02:28:06.794 INFO kablam! | Oct 27 02:28:06.794 INFO kablam! 339 | easy.timeout(Duration::from_millis(5000)); Oct 27 02:28:06.794 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.794 INFO kablam! | Oct 27 02:28:06.794 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 27 02:28:06.795 INFO kablam! Oct 27 02:28:06.795 INFO kablam! warning: unused `std::result::Result` that must be used Oct 27 02:28:06.795 INFO kablam! --> src/main.rs:366:9 Oct 27 02:28:06.795 INFO kablam! | Oct 27 02:28:06.795 INFO kablam! 366 | easy.timeout(Duration::from_millis(5000)); Oct 27 02:28:06.795 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.795 INFO kablam! | Oct 27 02:28:06.795 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 27 02:28:06.795 INFO kablam! Oct 27 02:28:06.795 INFO kablam! warning: structure field `instanceId` should have a snake case name such as `instance_id` Oct 27 02:28:06.795 INFO kablam! --> src/main.rs:385:5 Oct 27 02:28:06.795 INFO kablam! | Oct 27 02:28:06.795 INFO kablam! 385 | instanceId: String, Oct 27 02:28:06.795 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.795 INFO kablam! Oct 27 02:28:06.795 INFO kablam! warning: structure field `privateIp` should have a snake case name such as `private_ip` Oct 27 02:28:06.795 INFO kablam! --> src/main.rs:386:5 Oct 27 02:28:06.795 INFO kablam! | Oct 27 02:28:06.795 INFO kablam! 386 | privateIp: String, Oct 27 02:28:06.795 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.795 INFO kablam! Oct 27 02:28:06.796 INFO kablam! warning: structure field `peerURLs` should have a snake case name such as `peer_urls` Oct 27 02:28:06.796 INFO kablam! --> src/main.rs:405:5 Oct 27 02:28:06.796 INFO kablam! | Oct 27 02:28:06.796 INFO kablam! 405 | peerURLs: Vec, Oct 27 02:28:06.796 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.796 INFO kablam! Oct 27 02:28:06.796 INFO kablam! warning: structure field `clientURLs` should have a snake case name such as `client_urls` Oct 27 02:28:06.796 INFO kablam! --> src/main.rs:406:5 Oct 27 02:28:06.796 INFO kablam! | Oct 27 02:28:06.796 INFO kablam! 406 | clientURLs: Vec, Oct 27 02:28:06.796 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 02:28:06.796 INFO kablam! Oct 27 02:28:06.828 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1m 43s Oct 27 02:28:06.841 INFO kablam! su: No module specific data is present Oct 27 02:28:07.419 INFO running `"docker" "rm" "-f" "de0aa20a1398759fcc8027f8e295b324e142a7baac8ef5736b3059d6064d850d"` Oct 27 02:28:07.763 INFO blam! de0aa20a1398759fcc8027f8e295b324e142a7baac8ef5736b3059d6064d850d