[INFO] fetching crate rust-eureka 0.1.1... [INFO] testing rust-eureka-0.1.1 against try#c3758fdc4730d7700b25a13cccff296a08f42c00 for pr-91743 [INFO] extracting crate rust-eureka 0.1.1 into /workspace/builds/worker-66/source [INFO] validating manifest of crates.io crate rust-eureka 0.1.1 on toolchain c3758fdc4730d7700b25a13cccff296a08f42c00 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust-eureka 0.1.1 [INFO] finished tweaking crates.io crate rust-eureka 0.1.1 [INFO] tweaked toml for crates.io crate rust-eureka 0.1.1 written to /workspace/builds/worker-66/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00f2ec29e2888662c4ecf3fdfa1efa0c7e39a275b88182efab6289bcf712a33f [INFO] running `Command { std: "docker" "start" "-a" "00f2ec29e2888662c4ecf3fdfa1efa0c7e39a275b88182efab6289bcf712a33f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00f2ec29e2888662c4ecf3fdfa1efa0c7e39a275b88182efab6289bcf712a33f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00f2ec29e2888662c4ecf3fdfa1efa0c7e39a275b88182efab6289bcf712a33f", kill_on_drop: false }` [INFO] [stdout] 00f2ec29e2888662c4ecf3fdfa1efa0c7e39a275b88182efab6289bcf712a33f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e70a9576699eb570efe3c650e8ab3a0ec172c1beb9cfcf504cc783079df9cf5 [INFO] running `Command { std: "docker" "start" "-a" "6e70a9576699eb570efe3c650e8ab3a0ec172c1beb9cfcf504cc783079df9cf5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.80 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling try-lock v0.1.0 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling option-filter v1.0.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling test-logger v0.1.0 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling rust-eureka v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/request/amazonmetadata.rs:60:168 [INFO] [stdout] | [INFO] [stdout] 60 | ...ifestPath, LocalIp4, Hostname, AmiId, InstanceType }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/request/datacenterinfo.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | enum Field { Name, Metadata, Class }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/request/leaseinfo.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | enum Field { EvictionDurationInSecs }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/request/instance.rs:80:43 [INFO] [stdout] | [INFO] [stdout] 80 | enum Field { DollarSign, Enabled }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/request/register.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | enum Field { Instance }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/response/datacenterinfo.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | enum Field { Name, Metadata, Class }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/response/instance.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | enum Field { DollarSign, Enabled }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/response/instance.rs:454:137 [INFO] [stdout] | [INFO] [stdout] 454 | let last_updated_timestamp = maybe_last_updated_timestamp.ok_or_else(|| DeError::missing_field(LAST_UPDATED_TIMESTAMP));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/response/instance.rs:455:131 [INFO] [stdout] | [INFO] [stdout] 455 | let last_dirty_timestamp = maybe_last_dirty_timestamp.ok_or_else(|| DeError::missing_field(LAST_DIRTY_TIMESTAMP));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/response/instance.rs:456:166 [INFO] [stdout] | [INFO] [stdout] 456 | ...or::missing_field(IS_COORDINATED_DISCOVERY_SERVER));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 40 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eureka_client.rs:39:93 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn register(&self, application_id: &str, register_request: &RegisterRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - pub fn register(&self, application_id: &str, register_request: &RegisterRequest) -> Box> { [INFO] [stdout] 39 + pub fn register(&self, application_id: &str, register_request: &RegisterRequest) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eureka_client.rs:67:68 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_application<'b>(&self, application_id: &str) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - pub fn get_application<'b>(&self, application_id: &str) -> Box> { [INFO] [stdout] 67 + pub fn get_application<'b>(&self, application_id: &str) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eureka_client.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_applications<'b>(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 - pub fn get_applications<'b>(&self) -> Box> { [INFO] [stdout] 113 + pub fn get_applications<'b>(&self) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:42:54 [INFO] [stdout] | [INFO] [stdout] 42 | ClientError(ref error) => Some(error as &Error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - ClientError(ref error) => Some(error as &Error), [INFO] [stdout] 42 + ClientError(ref error) => Some(error as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:43:52 [INFO] [stdout] | [INFO] [stdout] 43 | JsonError(ref error) => Some(error as &Error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - JsonError(ref error) => Some(error as &Error), [INFO] [stdout] 43 + JsonError(ref error) => Some(error as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 49.75s [INFO] running `Command { std: "docker" "inspect" "6e70a9576699eb570efe3c650e8ab3a0ec172c1beb9cfcf504cc783079df9cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e70a9576699eb570efe3c650e8ab3a0ec172c1beb9cfcf504cc783079df9cf5", kill_on_drop: false }` [INFO] [stdout] 6e70a9576699eb570efe3c650e8ab3a0ec172c1beb9cfcf504cc783079df9cf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0891e7951ffa239c6f77da9ba7691ed65cf76ac36e97b4ebf4e3454672116343 [INFO] running `Command { std: "docker" "start" "-a" "0891e7951ffa239c6f77da9ba7691ed65cf76ac36e97b4ebf4e3454672116343", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust-eureka v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/request/amazonmetadata.rs:60:168 [INFO] [stdout] | [INFO] [stdout] 60 | ...ifestPath, LocalIp4, Hostname, AmiId, InstanceType }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/request/datacenterinfo.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | enum Field { Name, Metadata, Class }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/request/leaseinfo.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | enum Field { EvictionDurationInSecs }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/request/instance.rs:80:43 [INFO] [stdout] | [INFO] [stdout] 80 | enum Field { DollarSign, Enabled }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/request/register.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | enum Field { Instance }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/response/datacenterinfo.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | enum Field { Name, Metadata, Class }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/response/instance.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | enum Field { DollarSign, Enabled }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/response/instance.rs:454:137 [INFO] [stdout] | [INFO] [stdout] 454 | let last_updated_timestamp = maybe_last_updated_timestamp.ok_or_else(|| DeError::missing_field(LAST_UPDATED_TIMESTAMP));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/response/instance.rs:455:131 [INFO] [stdout] | [INFO] [stdout] 455 | let last_dirty_timestamp = maybe_last_dirty_timestamp.ok_or_else(|| DeError::missing_field(LAST_DIRTY_TIMESTAMP));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/response/instance.rs:456:166 [INFO] [stdout] | [INFO] [stdout] 456 | ...or::missing_field(IS_COORDINATED_DISCOVERY_SERVER));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 40 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eureka_client.rs:39:93 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn register(&self, application_id: &str, register_request: &RegisterRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - pub fn register(&self, application_id: &str, register_request: &RegisterRequest) -> Box> { [INFO] [stdout] 39 + pub fn register(&self, application_id: &str, register_request: &RegisterRequest) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eureka_client.rs:67:68 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_application<'b>(&self, application_id: &str) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - pub fn get_application<'b>(&self, application_id: &str) -> Box> { [INFO] [stdout] 67 + pub fn get_application<'b>(&self, application_id: &str) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eureka_client.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_applications<'b>(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 - pub fn get_applications<'b>(&self) -> Box> { [INFO] [stdout] 113 + pub fn get_applications<'b>(&self) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:42:54 [INFO] [stdout] | [INFO] [stdout] 42 | ClientError(ref error) => Some(error as &Error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - ClientError(ref error) => Some(error as &Error), [INFO] [stdout] 42 + ClientError(ref error) => Some(error as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:43:52 [INFO] [stdout] | [INFO] [stdout] 43 | JsonError(ref error) => Some(error as &Error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - JsonError(ref error) => Some(error as &Error), [INFO] [stdout] 43 + JsonError(ref error) => Some(error as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/request/amazonmetadata.rs:60:168 [INFO] [stdout] | [INFO] [stdout] 60 | ...ifestPath, LocalIp4, Hostname, AmiId, InstanceType }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/request/datacenterinfo.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | enum Field { Name, Metadata, Class }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/request/leaseinfo.rs:28:46 [INFO] [stdout] | [INFO] [stdout] 28 | enum Field { EvictionDurationInSecs }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/request/instance.rs:80:43 [INFO] [stdout] | [INFO] [stdout] 80 | enum Field { DollarSign, Enabled }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/request/register.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | enum Field { Instance }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/response/datacenterinfo.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | enum Field { Name, Metadata, Class }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/response/instance.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | enum Field { DollarSign, Enabled }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/response/instance.rs:454:137 [INFO] [stdout] | [INFO] [stdout] 454 | let last_updated_timestamp = maybe_last_updated_timestamp.ok_or_else(|| DeError::missing_field(LAST_UPDATED_TIMESTAMP));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/response/instance.rs:455:131 [INFO] [stdout] | [INFO] [stdout] 455 | let last_dirty_timestamp = maybe_last_dirty_timestamp.ok_or_else(|| DeError::missing_field(LAST_DIRTY_TIMESTAMP));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/response/instance.rs:456:166 [INFO] [stdout] | [INFO] [stdout] 456 | ...or::missing_field(IS_COORDINATED_DISCOVERY_SERVER));; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 40 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eureka_client.rs:39:93 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn register(&self, application_id: &str, register_request: &RegisterRequest) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - pub fn register(&self, application_id: &str, register_request: &RegisterRequest) -> Box> { [INFO] [stdout] 39 + pub fn register(&self, application_id: &str, register_request: &RegisterRequest) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eureka_client.rs:67:68 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn get_application<'b>(&self, application_id: &str) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - pub fn get_application<'b>(&self, application_id: &str) -> Box> { [INFO] [stdout] 67 + pub fn get_application<'b>(&self, application_id: &str) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/eureka_client.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn get_applications<'b>(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 - pub fn get_applications<'b>(&self) -> Box> { [INFO] [stdout] 113 + pub fn get_applications<'b>(&self) -> Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:42:54 [INFO] [stdout] | [INFO] [stdout] 42 | ClientError(ref error) => Some(error as &Error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - ClientError(ref error) => Some(error as &Error), [INFO] [stdout] 42 + ClientError(ref error) => Some(error as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:43:52 [INFO] [stdout] | [INFO] [stdout] 43 | JsonError(ref error) => Some(error as &Error), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 - JsonError(ref error) => Some(error as &Error), [INFO] [stdout] 43 + JsonError(ref error) => Some(error as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.59s [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rust_eureka-048d13e41955b705) [INFO] [stderr] Executable tests/lib.rs (/opt/rustwide/target/debug/deps/lib-20247b521ee5d7b2) [INFO] running `Command { std: "docker" "inspect" "0891e7951ffa239c6f77da9ba7691ed65cf76ac36e97b4ebf4e3454672116343", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0891e7951ffa239c6f77da9ba7691ed65cf76ac36e97b4ebf4e3454672116343", kill_on_drop: false }` [INFO] [stdout] 0891e7951ffa239c6f77da9ba7691ed65cf76ac36e97b4ebf4e3454672116343 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-66/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d2a91c3b1299b33c619fca5657fa556e469792e99f9e564bc06b5b7e23ec8825 [INFO] running `Command { std: "docker" "start" "-a" "d2a91c3b1299b33c619fca5657fa556e469792e99f9e564bc06b5b7e23ec8825", kill_on_drop: false }` [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "d2a91c3b1299b33c619fca5657fa556e469792e99f9e564bc06b5b7e23ec8825", kill_on_drop: false }` [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "rm" "-f" "d2a91c3b1299b33c619fca5657fa556e469792e99f9e564bc06b5b7e23ec8825", kill_on_drop: false }` [ERROR] error running command: no output for 300 seconds [ERROR] failed to delete container d2a91c3b1299b33c619fca5657fa556e469792e99f9e564bc06b5b7e23ec8825 [ERROR] caused by: no output for 300 seconds