Compiling hab v0.0.0 (/home/jbauman/habitat/components/hab) Compiling habitat_pkg_export_docker v0.0.0 (/home/jbauman/habitat/components/pkg-export-docker) Compiling habitat_sup v0.0.0 (/home/jbauman/habitat/components/sup) Compiling habitat_pkg_export_tar v0.0.0 (/home/jbauman/habitat/components/pkg-export-tar) Compiling habitat-launcher-protocol v0.0.0 (/home/jbauman/habitat/components/launcher-protocol) Compiling habitat-eventsrv v0.0.0 (/home/jbauman/habitat/components/eventsrv) Compiling habitat-eventsrv-protocol v0.0.0 (/home/jbauman/habitat/components/eventsrv-protocol) Compiling habitat-sup-protocol v0.0.0 (/home/jbauman/habitat/components/sup-protocol) Checking habitat_api_client v0.0.0 (/home/jbauman/habitat/components/builder-api-client) Compiling habitat_butterfly v0.1.0 (/home/jbauman/habitat/components/butterfly) Fixing components/eventsrv-protocol/src/message/event.rs (37 fixes) Fixing components/eventsrv-protocol/src/lib.rs (2 fixes) Fixing components/launcher-protocol/src/message/launcher.rs (55 fixes) Fixing components/launcher-protocol/src/lib.rs (3 fixes) Fixing components/launcher-protocol/src/message/error.rs (19 fixes) Fixing components/launcher-protocol/src/message/net.rs (9 fixes) Fixing components/launcher-protocol/src/message/supervisor.rs (9 fixes) Checking habitat-launcher-client v0.0.0 (/home/jbauman/habitat/components/launcher-client) Checking habitat-launcher v0.0.0 (/home/jbauman/habitat/components/launcher) Checking habitat-eventsrv-client v0.0.0 (/home/jbauman/habitat/components/eventsrv-client) Fixing components/eventsrv-client/src/lib.rs (4 fixes) Fixing components/launcher-client/src/lib.rs (5 fixes) Fixing components/launcher-client/src/error.rs (2 fixes) Fixing components/launcher/src/service.rs (1 fix) Fixing components/launcher/src/lib.rs (7 fixes) Fixing components/launcher/src/error.rs (1 fix) Fixing components/eventsrv/src/error.rs (1 fix) Fixing components/eventsrv/src/lib.rs (6 fixes) Fixing components/sup-protocol/./build.rs (5 fixes) Fixing components/builder-api-client/src/error.rs (1 fix) Fixing components/builder-api-client/src/lib.rs (17 fixes) Checking habitat_common v0.0.0 (/home/jbauman/habitat/components/common) Fixing components/eventsrv/src/main.rs (5 fixes) Fixing components/eventsrv/src/subscriber.rs (6 fixes) Fixing components/launcher/src/main.rs (3 fixes) DEBUG 2019-01-07T17:09:31Z: rustfix::replace: no single slice covering 23078...23120, current slices: [(0, 23099, "initial"), (23100, 23111, "replaced"), (23112, 23400, "initial"), (23401, 23412, "replaced"), (23413, 24266, "initial"), (24267, 24278, "replaced"), (24279, 24393, "initial"), (24394, 24405, "replaced"), (24406, 25452, "initial"), (25453, 25470, "replaced"), (25471, 28751, "initial")] Fixing components/sup-protocol/src/types.rs (9 fixes) Fixing components/sup-protocol/src/lib.rs (9 fixes) Fixing components/sup-protocol/src/ctl.rs (1 fix) Fixing components/sup-protocol/src/net.rs (1 fix) Fixing components/sup-protocol/src/codec.rs (3 fixes) Fixing components/common/src/types/listen_ctl_addr.rs (1 fix) Fixing components/common/src/lib.rs (15 fixes) Fixing components/common/src/error.rs (1 fix) Fixing components/common/src/command/package/install.rs (17 fixes) Fixing components/common/src/ui.rs (18 fixes) Checking habitat-sup-client v0.0.0 (/home/jbauman/habitat/components/sup-client) Fixing components/sup-protocol/src/types.rs (1 fix) Fixing components/sup-client/src/lib.rs (7 fixes) Fixing components/hab/src/lib.rs (23 fixes) Fixing components/hab/src/error.rs (1 fix) Fixing components/hab/src/command/pkg/list.rs (1 fix) Fixing components/butterfly/src/swim.rs (1 fix) Fixing components/butterfly/src/rumor/mod.rs (1 fix) Fixing components/butterfly/src/server/mod.rs (3 fixes) Fixing components/butterfly/src/trace.rs (3 fixes) Fixing components/butterfly/src/error.rs (1 fix) Fixing components/butterfly/src/lib.rs (12 fixes) Fixing components/butterfly/src/server/outbound.rs (1 fix) Fixing components/butterfly/src/member.rs (6 fixes) Checking habitat_butterfly_test v0.1.0 (/home/jbauman/habitat/components/butterfly-test) Fixing components/pkg-export-tar/src/build.rs (1 fix) Fixing components/pkg-export-tar/src/lib.rs (15 fixes) Fixing components/butterfly-test/src/lib.rs (2 fixes) Fixing components/pkg-export-docker/src/docker.rs (2 fixes) Fixing components/pkg-export-docker/src/lib.rs (16 fixes) Fixing components/pkg-export-docker/src/accounts.rs (2 fixes) Fixing components/pkg-export-docker/src/build.rs (2 fixes) Fixing components/hab/src/main.rs (86 fixes) Fixing components/hab/src/lib.rs (1 fix) Fixing components/butterfly/src/main.rs (4 fixes) Fixing components/pkg-export-tar/src/main.rs (5 fixes) Checking habitat_pkg_export_kubernetes v0.0.0 (/home/jbauman/habitat/components/pkg-export-kubernetes) Fixing components/butterfly/tests/integration.rs (2 fixes) error: cannot find macro `locked_env_var!` in this scope --> components/butterfly/src/rumor/heat.rs:283:5 | 283 | locked_env_var!(HAB_RUMOR_SHARE_LIMIT, lock_rumor_limit); | ^^^^^^^^^^^^^^ error[E0425]: cannot find function `lock_rumor_limit` in this scope --> components/butterfly/src/rumor/heat.rs:331:17 | 331 | let l = lock_rumor_limit(); | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `lock_rumor_limit` in this scope --> components/butterfly/src/rumor/heat.rs:347:17 | 347 | let l = lock_rumor_limit(); | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `lock_rumor_limit` in this scope --> components/butterfly/src/rumor/heat.rs:376:17 | 376 | let l = lock_rumor_limit(); | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `lock_rumor_limit` in this scope --> components/butterfly/src/rumor/heat.rs:402:17 | 402 | let l = lock_rumor_limit(); | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `lock_rumor_limit` in this scope --> components/butterfly/src/rumor/heat.rs:427:17 | 427 | let l = lock_rumor_limit(); | ^^^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `lock_rumor_limit` in this scope --> components/butterfly/src/rumor/heat.rs:475:17 | 475 | let l = lock_rumor_limit(); | ^^^^^^^^^^^^^^^^ not found in this scope Fixing components/pkg-export-docker/src/main.rs (7 fixes) Fixing components/pkg-export-kubernetes/src/manifest.rs (2 fixes) Fixing components/pkg-export-kubernetes/src/lib.rs (10 fixes) Fixing components/pkg-export-kubernetes/src/service_bind.rs (1 fix) Fixing components/pkg-export-kubernetes/src/hb.rs (2 fixes) Fixing components/pkg-export-kubernetes/src/env.rs (1 fix) Fixing components/pkg-export-kubernetes/src/topology.rs (1 fix) Fixing components/pkg-export-kubernetes/src/storage.rs (5 fixes) Checking habitat_pkg_export_helm v0.0.0 (/home/jbauman/habitat/components/pkg-export-helm) error: aborting due to 7 previous errors For more information about this error, try `rustc --explain E0425`. error: Could not compile `habitat_butterfly`. warning: build failed, waiting for other jobs to finish... Fixing components/pkg-export-kubernetes/src/main.rs (6 fixes) Fixing components/pkg-export-helm/src/maintainer.rs (1 fix) Fixing components/pkg-export-helm/src/main.rs (10 fixes) Fixing components/pkg-export-helm/src/values.rs (2 fixes) Fixing components/pkg-export-helm/src/chartfile.rs (1 fix) Fixing components/pkg-export-helm/src/chart.rs (1 fix) Fixing components/pkg-export-helm/src/deps.rs (2 fixes) warning: failed to automatically apply fixes suggested by rustc to crate `habitat_sup` after fixes were automatically applied the compiler reported errors within these files: * components/sup/src/manager/service_updater.rs This likely indicates a bug in either rustc or cargo itself, and we would appreciate a bug report! You're likely to see a number of compiler warnings after this message which cargo attempted to fix but failed. If you could open an issue at https://github.com/rust-lang/cargo/issues quoting the full output of this command we'd be very appreciative! warning: hidden lifetime parameters in types are deprecated --> components/sup/src/census.rs:274:27 | 274 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/census.rs:561:41 | 561 | let new_pop: BTreeMap = self | ^^^^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/config.rs:104:27 | 104 | fn fmt(&self, f: &mut fmt::Formatter) -> result::Result<(), fmt::Error> { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/ctl_gateway/server.rs:82:27 | 82 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/error.rs:190:27 | 190 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/http_gateway.rs:111:27 | 111 | fn fmt(&self, f: &mut fmt::Formatter) -> result::Result<(), fmt::Error> { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/config.rs:502:44 | 502 | pub fn compile(&self, pkg: &Pkg, ctx: &RenderContext) -> Result { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/health.rs:44:27 | 44 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:135:59 | 135 | fn compile(&self, service_group: &ServiceGroup, ctx: &RenderContext) -> Result { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:223:21 | 223 | output: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:261:16 | 261 | _: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:309:16 | 309 | _: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:371:16 | 371 | _: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:441:16 | 441 | _: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:495:16 | 495 | _: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:549:16 | 549 | _: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:609:16 | 609 | _: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:663:26 | 663 | hook_output: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:748:16 | 748 | _: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:860:63 | 860 | pub fn compile(&self, service_group: &ServiceGroup, ctx: &RenderContext) -> bool { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:893:76 | 893 | fn compile_one(&self, hook: &H, service_group: &ServiceGroup, ctx: &RenderContext) -> bool | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:929:27 | 929 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/spec.rs:60:27 | 60 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/spec.rs:484:27 | 484 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/mod.rs:774:43 | 774 | fn compile_configuration(&self, ctx: &RenderContext) -> bool { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/mod.rs:792:35 | 792 | fn compile_hooks(&self, ctx: &RenderContext) -> bool { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/mod.rs:1087:27 | 1087 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/commands.rs:728:27 | 728 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/commands.rs:763:27 | 763 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/commands.rs:796:45 | 796 | fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/mod.rs:879:42 | 879 | let watched_service_proxies: Vec = watched_services | ^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/mod.rs:883:41 | 883 | let mut services_to_render: Vec = services | ^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/context.rs:584:55 | 584 | fn select_first(census_group: &CensusGroup) -> Option { | ^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/each_alive.rs:27:24 | 27 | fn call(&self, h: &Helper, r: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/each_alive.rs:27:57 | 27 | fn call(&self, h: &Helper, r: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/pkg_path_for.rs:28:24 | 28 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/pkg_path_for.rs:28:57 | 28 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/str_concat.rs:23:24 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/str_concat.rs:23:57 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/str_join.rs:23:24 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/str_join.rs:23:57 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/str_replace.rs:23:24 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/str_replace.rs:23:57 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_json.rs:24:24 | 24 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_json.rs:24:57 | 24 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_lowercase.rs:23:24 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_lowercase.rs:23:57 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_toml.rs:24:24 | 24 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_toml.rs:24:57 | 24 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_uppercase.rs:23:24 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_uppercase.rs:23:57 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_yaml.rs:24:24 | 24 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_yaml.rs:24:57 | 24 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/mod.rs:67:27 | 67 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: trait objects without an explicit `dyn` are deprecated --> components/sup/src/ctl_gateway/server.rs:127:14 | 127 | fun: Box NetResult<()> + Send>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&ManagerState, &mut CtlRequest) -> NetResult<()> + Send` | = note: `-W bare-trait-objects` implied by `-W rust-2018-idioms` warning: trait objects without an explicit `dyn` are deprecated --> components/sup/src/ctl_gateway/server.rs:156:50 | 156 | pub fn serve(self, socket: SrvStream) -> Box> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` warning: trait objects without an explicit `dyn` are deprecated --> components/sup/src/ctl_gateway/server.rs:166:51 | 166 | fn handshake(&self, socket: SrvStream) -> Box> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` warning: trait objects without an explicit `dyn` are deprecated --> components/sup/src/ctl_gateway/mod.rs:131:31 | 131 | fn out(&mut self) -> &mut io::Write { | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` warning: trait objects without an explicit `dyn` are deprecated --> components/sup/src/ctl_gateway/mod.rs:135:31 | 135 | fn err(&mut self) -> &mut io::Write { | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:42:1 | 42 | extern crate actix; | ^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` | = note: `-W unused-extern-crates` implied by `-W rust-2018-idioms` warning: unused extern crate --> components/sup/src/lib.rs:43:1 | 43 | extern crate actix_web; | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:44:1 | 44 | extern crate ansi_term; | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:47:1 | 47 | extern crate byteorder; | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:50:1 | 50 | extern crate clap; | ^^^^^^^^^^^^^^^^^^ help: remove it warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:57:1 | 57 | extern crate glob; | ^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: unused extern crate --> components/sup/src/lib.rs:58:1 | 58 | extern crate hab; | ^^^^^^^^^^^^^^^^^ help: remove it warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:59:1 | 59 | extern crate habitat_butterfly as butterfly; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:61:1 | 61 | extern crate habitat_common as common; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:64:1 | 64 | extern crate habitat_api_client as api_client; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:65:1 | 65 | extern crate habitat_eventsrv_client as eventsrv_client; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:66:1 | 66 | extern crate habitat_launcher_client as launcher_client; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:67:1 | 67 | extern crate habitat_sup_protocol as protocol; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:68:1 | 68 | extern crate handlebars; | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:71:1 | 71 | extern crate libc; | ^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:74:1 | 74 | extern crate notify; | ^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:75:1 | 75 | extern crate num_cpus; | ^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:76:1 | 76 | extern crate prost; | ^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: unused extern crate --> components/sup/src/lib.rs:77:1 | 77 | extern crate protobuf; | ^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:78:1 | 78 | extern crate rand; | ^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:79:1 | 79 | extern crate regex; | ^^^^^^^^^^^^^^^^^^^ help: remove it warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:80:1 | 80 | extern crate rustls; | ^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:81:1 | 81 | extern crate serde; | ^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:87:1 | 87 | extern crate serde_transcode; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:88:1 | 88 | extern crate serde_yaml; | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: unused extern crate --> components/sup/src/lib.rs:89:1 | 89 | extern crate tempfile; | ^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:90:1 | 90 | extern crate time as time_crate; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:91:1 | 91 | extern crate tokio; | ^^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:92:1 | 92 | extern crate tokio_codec; | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:95:1 | 95 | extern crate toml; | ^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: unused extern crate --> components/sup/src/lib.rs:96:1 | 96 | extern crate url; | ^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:97:1 | 97 | extern crate valico; | ^^^^^^^^^^^^^^^^^^^^ help: remove it error[E0658]: imports can only refer to extern crate names passed with `--extern` on stable channel (see issue #53130) --> components/sup/src/test_helpers.rs:17:5 | 17 | use json; | ^^^^ not an extern crate passed with `--extern` | note: this import refers to the macro imported here --> components/sup/src/test_helpers.rs:17:5 | 17 | use json; | ^^^^ warning: hidden lifetime parameters in types are deprecated --> components/sup/src/cli_test_helpers.rs:24:27 | 24 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/cli_test_helpers.rs:60:28 | 60 | pub fn assert_command(app: App, cmd: &str, assertions: Vec<(&str, Expectation)>) { | ^^^- help: indicate the anonymous lifetimes: `<'_, '_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/cli_test_helpers.rs:60:67 | 60 | pub fn assert_command(app: App, cmd: &str, assertions: Vec<(&str, Expectation)>) { | ^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/cli_test_helpers.rs:90:29 | 90 | fn assert_matches(matches: &ArgMatches, assertions: Vec<(&str, Expectation)>) -> Vec { | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/cli_test_helpers.rs:90:64 | 90 | fn assert_matches(matches: &ArgMatches, assertions: Vec<(&str, Expectation)>) -> Vec { | ^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/census.rs:274:27 | 274 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/census.rs:561:41 | 561 | let new_pop: BTreeMap = self | ^^^^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/config.rs:104:27 | 104 | fn fmt(&self, f: &mut fmt::Formatter) -> result::Result<(), fmt::Error> { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/ctl_gateway/server.rs:82:27 | 82 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/error.rs:190:27 | 190 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/http_gateway.rs:111:27 | 111 | fn fmt(&self, f: &mut fmt::Formatter) -> result::Result<(), fmt::Error> { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/config.rs:502:44 | 502 | pub fn compile(&self, pkg: &Pkg, ctx: &RenderContext) -> Result { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/health.rs:44:27 | 44 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:135:59 | 135 | fn compile(&self, service_group: &ServiceGroup, ctx: &RenderContext) -> Result { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:223:21 | 223 | output: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:261:16 | 261 | _: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:309:16 | 309 | _: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:371:16 | 371 | _: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:441:16 | 441 | _: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:495:16 | 495 | _: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:549:16 | 549 | _: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:609:16 | 609 | _: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:663:26 | 663 | hook_output: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:748:16 | 748 | _: &'a HookOutput, | ^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:860:63 | 860 | pub fn compile(&self, service_group: &ServiceGroup, ctx: &RenderContext) -> bool { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:893:76 | 893 | fn compile_one(&self, hook: &H, service_group: &ServiceGroup, ctx: &RenderContext) -> bool | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/hooks.rs:929:27 | 929 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/spec.rs:60:27 | 60 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/spec.rs:484:27 | 484 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/mod.rs:774:43 | 774 | fn compile_configuration(&self, ctx: &RenderContext) -> bool { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/mod.rs:792:35 | 792 | fn compile_hooks(&self, ctx: &RenderContext) -> bool { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/service/mod.rs:1087:27 | 1087 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/commands.rs:728:27 | 728 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/commands.rs:763:27 | 763 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/commands.rs:796:45 | 796 | fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/file_watcher.rs:2847:31 | 2847 | fn fmt(&self, f: &mut Formatter) -> Result<(), Error> { | ^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/file_watcher.rs:3291:37 | 3291 | fn get_fs_ops(&mut self) -> FsOps { | ^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/mod.rs:879:42 | 879 | let watched_service_proxies: Vec = watched_services | ^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/manager/mod.rs:883:41 | 883 | let mut services_to_render: Vec = services | ^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/context.rs:584:55 | 584 | fn select_first(census_group: &CensusGroup) -> Option { | ^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/context.rs:823:45 | 823 | fn render(template_content: &str, ctx: &RenderContext) -> String { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/each_alive.rs:27:24 | 27 | fn call(&self, h: &Helper, r: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/each_alive.rs:27:57 | 27 | fn call(&self, h: &Helper, r: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/pkg_path_for.rs:28:24 | 28 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/pkg_path_for.rs:28:57 | 28 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/str_concat.rs:23:24 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/str_concat.rs:23:57 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/str_join.rs:23:24 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/str_join.rs:23:57 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/str_replace.rs:23:24 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/str_replace.rs:23:57 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_json.rs:24:24 | 24 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_json.rs:24:57 | 24 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_lowercase.rs:23:24 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_lowercase.rs:23:57 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_toml.rs:24:24 | 24 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_toml.rs:24:57 | 24 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_uppercase.rs:23:24 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_uppercase.rs:23:57 | 23 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_yaml.rs:24:24 | 24 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/helpers/to_yaml.rs:24:57 | 24 | fn call(&self, h: &Helper, _: &Handlebars, rc: &mut RenderContext) -> RenderResult<()> { | ^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: hidden lifetime parameters in types are deprecated --> components/sup/src/templating/mod.rs:67:27 | 67 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ^^^^^^^^^^^^^^- help: indicate the anonymous lifetime: `<'_>` warning: trait objects without an explicit `dyn` are deprecated --> components/sup/src/ctl_gateway/server.rs:127:14 | 127 | fun: Box NetResult<()> + Send>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&ManagerState, &mut CtlRequest) -> NetResult<()> + Send` | = note: `-W bare-trait-objects` implied by `-W rust-2018-idioms` warning: trait objects without an explicit `dyn` are deprecated --> components/sup/src/ctl_gateway/server.rs:156:50 | 156 | pub fn serve(self, socket: SrvStream) -> Box> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` warning: trait objects without an explicit `dyn` are deprecated --> components/sup/src/ctl_gateway/server.rs:166:51 | 166 | fn handshake(&self, socket: SrvStream) -> Box> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` warning: trait objects without an explicit `dyn` are deprecated --> components/sup/src/ctl_gateway/mod.rs:131:31 | 131 | fn out(&mut self) -> &mut io::Write { | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` warning: trait objects without an explicit `dyn` are deprecated --> components/sup/src/ctl_gateway/mod.rs:135:31 | 135 | fn err(&mut self) -> &mut io::Write { | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:42:1 | 42 | extern crate actix; | ^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` | = note: `-W unused-extern-crates` implied by `-W rust-2018-idioms` warning: unused extern crate --> components/sup/src/lib.rs:43:1 | 43 | extern crate actix_web; | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:44:1 | 44 | extern crate ansi_term; | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:47:1 | 47 | extern crate byteorder; | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:50:1 | 50 | extern crate clap; | ^^^^^^^^^^^^^^^^^^ help: remove it warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:57:1 | 57 | extern crate glob; | ^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: unused extern crate --> components/sup/src/lib.rs:58:1 | 58 | extern crate hab; | ^^^^^^^^^^^^^^^^^ help: remove it warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:59:1 | 59 | extern crate habitat_butterfly as butterfly; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:64:1 | 64 | extern crate habitat_api_client as api_client; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:65:1 | 65 | extern crate habitat_eventsrv_client as eventsrv_client; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:66:1 | 66 | extern crate habitat_launcher_client as launcher_client; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:67:1 | 67 | extern crate habitat_sup_protocol as protocol; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:68:1 | 68 | extern crate handlebars; | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:71:1 | 71 | extern crate libc; | ^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:74:1 | 74 | extern crate notify; | ^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:75:1 | 75 | extern crate num_cpus; | ^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:76:1 | 76 | extern crate prost; | ^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: unused extern crate --> components/sup/src/lib.rs:77:1 | 77 | extern crate protobuf; | ^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:78:1 | 78 | extern crate rand; | ^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:79:1 | 79 | extern crate regex; | ^^^^^^^^^^^^^^^^^^^ help: remove it warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:80:1 | 80 | extern crate rustls; | ^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:81:1 | 81 | extern crate serde; | ^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:87:1 | 87 | extern crate serde_transcode; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:88:1 | 88 | extern crate serde_yaml; | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: unused extern crate --> components/sup/src/lib.rs:89:1 | 89 | extern crate tempfile; | ^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:90:1 | 90 | extern crate time as time_crate; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:91:1 | 91 | extern crate tokio; | ^^^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:92:1 | 92 | extern crate tokio_codec; | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it warning: `extern crate` is not idiomatic in the new edition --> components/sup/src/lib.rs:95:1 | 95 | extern crate toml; | ^^^^^^^^^^^^^^^^^^ help: convert it to a `use` warning: unused extern crate --> components/sup/src/lib.rs:96:1 | 96 | extern crate url; | ^^^^^^^^^^^^^^^^^ help: remove it warning: unused extern crate --> components/sup/src/lib.rs:97:1 | 97 | extern crate valico; | ^^^^^^^^^^^^^^^^^^^^ help: remove it error: aborting due to previous error For more information about this error, try `rustc --explain E0658`. error: Could not compile `habitat_sup`. To learn more, run the command again with --verbose.