[INFO] fetching crate prom 0.1.0... [INFO] testing prom-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate prom 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate prom 0.1.0 [INFO] finished tweaking crates.io crate prom 0.1.0 [INFO] tweaked toml for crates.io crate prom 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate prom 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 73 packages to latest compatible versions [INFO] [stderr] Adding hyper v0.9.18 (available: v1.6.0) [INFO] [stderr] Adding protobuf v1.7.5 (available: v3.7.2) [INFO] [stderr] Adding quick-error v0.2.2 (available: v2.0.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protobuf v1.7.5 [INFO] [stderr] Downloaded quick-error v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5057f1c3cff0aa1a8f26c2fbb565cde28771fa7062d277df4eb798d3961fce4 [INFO] running `Command { std: "docker" "start" "-a" "a5057f1c3cff0aa1a8f26c2fbb565cde28771fa7062d277df4eb798d3961fce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5057f1c3cff0aa1a8f26c2fbb565cde28771fa7062d277df4eb798d3961fce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5057f1c3cff0aa1a8f26c2fbb565cde28771fa7062d277df4eb798d3961fce4", kill_on_drop: false }` [INFO] [stdout] a5057f1c3cff0aa1a8f26c2fbb565cde28771fa7062d277df4eb798d3961fce4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 829746a6a1c288e915d4af2327f675f7fd4ebf03ef90939af28fa17dc08f4c33 [INFO] running `Command { std: "docker" "start" "-a" "829746a6a1c288e915d4af2327f675f7fd4ebf03ef90939af28fa17dc08f4c33", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling protobuf v1.7.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling quick-error v0.2.2 [INFO] [stderr] Compiling prom v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/proto.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:138:45 [INFO] [stdout] | [INFO] [stdout] 138 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | try!(::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | try!(::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | try!(os.write_string(1, &v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | try!(os.write_string(2, &v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:319:16 [INFO] [stdout] | [INFO] [stdout] 319 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:320:45 [INFO] [stdout] | [INFO] [stdout] 320 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:326:31 [INFO] [stdout] | [INFO] [stdout] 326 | let tmp = try!(is.read_double()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | try!(os.write_double(1, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:489:16 [INFO] [stdout] | [INFO] [stdout] 489 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:490:45 [INFO] [stdout] | [INFO] [stdout] 490 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:496:31 [INFO] [stdout] | [INFO] [stdout] 496 | let tmp = try!(is.read_double()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:500:21 [INFO] [stdout] | [INFO] [stdout] 500 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 521 | try!(os.write_double(1, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:680:16 [INFO] [stdout] | [INFO] [stdout] 680 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:681:45 [INFO] [stdout] | [INFO] [stdout] 681 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:687:31 [INFO] [stdout] | [INFO] [stdout] 687 | let tmp = try!(is.read_double()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:694:31 [INFO] [stdout] | [INFO] [stdout] 694 | let tmp = try!(is.read_double()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:698:21 [INFO] [stdout] | [INFO] [stdout] 698 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:727:9 [INFO] [stdout] | [INFO] [stdout] 727 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:722:13 [INFO] [stdout] | [INFO] [stdout] 722 | try!(os.write_double(1, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | try!(os.write_double(2, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:918:16 [INFO] [stdout] | [INFO] [stdout] 918 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:919:45 [INFO] [stdout] | [INFO] [stdout] 919 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:925:31 [INFO] [stdout] | [INFO] [stdout] 925 | let tmp = try!(is.read_uint64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:932:31 [INFO] [stdout] | [INFO] [stdout] 932 | let tmp = try!(is.read_double()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:936:21 [INFO] [stdout] | [INFO] [stdout] 936 | try!(::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.quantile)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:939:21 [INFO] [stdout] | [INFO] [stdout] 939 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:977:9 [INFO] [stdout] | [INFO] [stdout] 977 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:967:13 [INFO] [stdout] | [INFO] [stdout] 967 | try!(os.write_uint64(1, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:970:13 [INFO] [stdout] | [INFO] [stdout] 970 | try!(os.write_double(2, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:973:13 [INFO] [stdout] | [INFO] [stdout] 973 | try!(os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:974:13 [INFO] [stdout] | [INFO] [stdout] 974 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:975:13 [INFO] [stdout] | [INFO] [stdout] 975 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1126:16 [INFO] [stdout] | [INFO] [stdout] 1126 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1127:45 [INFO] [stdout] | [INFO] [stdout] 1127 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1133:31 [INFO] [stdout] | [INFO] [stdout] 1133 | let tmp = try!(is.read_double()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1137:21 [INFO] [stdout] | [INFO] [stdout] 1137 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1160:9 [INFO] [stdout] | [INFO] [stdout] 1160 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1158:13 [INFO] [stdout] | [INFO] [stdout] 1158 | try!(os.write_double(1, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1344:16 [INFO] [stdout] | [INFO] [stdout] 1344 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1345:45 [INFO] [stdout] | [INFO] [stdout] 1345 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1351:31 [INFO] [stdout] | [INFO] [stdout] 1351 | let tmp = try!(is.read_uint64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1358:31 [INFO] [stdout] | [INFO] [stdout] 1358 | let tmp = try!(is.read_double()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1362:21 [INFO] [stdout] | [INFO] [stdout] 1362 | try!(::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.bucket)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1365:21 [INFO] [stdout] | [INFO] [stdout] 1365 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1403:9 [INFO] [stdout] | [INFO] [stdout] 1403 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1393:13 [INFO] [stdout] | [INFO] [stdout] 1393 | try!(os.write_uint64(1, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1396:13 [INFO] [stdout] | [INFO] [stdout] 1396 | try!(os.write_double(2, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1399:13 [INFO] [stdout] | [INFO] [stdout] 1399 | try!(os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1400:13 [INFO] [stdout] | [INFO] [stdout] 1400 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1401:13 [INFO] [stdout] | [INFO] [stdout] 1401 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1573:16 [INFO] [stdout] | [INFO] [stdout] 1573 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1574:45 [INFO] [stdout] | [INFO] [stdout] 1574 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1580:31 [INFO] [stdout] | [INFO] [stdout] 1580 | let tmp = try!(is.read_uint64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1587:31 [INFO] [stdout] | [INFO] [stdout] 1587 | let tmp = try!(is.read_double()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1591:21 [INFO] [stdout] | [INFO] [stdout] 1591 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1620:9 [INFO] [stdout] | [INFO] [stdout] 1620 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1615:13 [INFO] [stdout] | [INFO] [stdout] 1615 | try!(os.write_uint64(1, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1618:13 [INFO] [stdout] | [INFO] [stdout] 1618 | try!(os.write_double(2, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1965:16 [INFO] [stdout] | [INFO] [stdout] 1965 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1966:45 [INFO] [stdout] | [INFO] [stdout] 1966 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1969:21 [INFO] [stdout] | [INFO] [stdout] 1969 | try!(::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.label)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1972:21 [INFO] [stdout] | [INFO] [stdout] 1972 | try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.gauge)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1975:21 [INFO] [stdout] | [INFO] [stdout] 1975 | try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.counter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1978:21 [INFO] [stdout] | [INFO] [stdout] 1978 | try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.summary)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1981:21 [INFO] [stdout] | [INFO] [stdout] 1981 | try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.untyped)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1984:21 [INFO] [stdout] | [INFO] [stdout] 1984 | try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.histogram)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1990:31 [INFO] [stdout] | [INFO] [stdout] 1990 | let tmp = try!(is.read_int64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1994:21 [INFO] [stdout] | [INFO] [stdout] 1994 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2071:9 [INFO] [stdout] | [INFO] [stdout] 2071 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2039:13 [INFO] [stdout] | [INFO] [stdout] 2039 | try!(os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2040:13 [INFO] [stdout] | [INFO] [stdout] 2040 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2041:13 [INFO] [stdout] | [INFO] [stdout] 2041 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2044:13 [INFO] [stdout] | [INFO] [stdout] 2044 | try!(os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2045:13 [INFO] [stdout] | [INFO] [stdout] 2045 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2046:13 [INFO] [stdout] | [INFO] [stdout] 2046 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2049:13 [INFO] [stdout] | [INFO] [stdout] 2049 | try!(os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2050:13 [INFO] [stdout] | [INFO] [stdout] 2050 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2051:13 [INFO] [stdout] | [INFO] [stdout] 2051 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2054:13 [INFO] [stdout] | [INFO] [stdout] 2054 | try!(os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2055:13 [INFO] [stdout] | [INFO] [stdout] 2055 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2056:13 [INFO] [stdout] | [INFO] [stdout] 2056 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2059:13 [INFO] [stdout] | [INFO] [stdout] 2059 | try!(os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2060:13 [INFO] [stdout] | [INFO] [stdout] 2060 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2061:13 [INFO] [stdout] | [INFO] [stdout] 2061 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2064:13 [INFO] [stdout] | [INFO] [stdout] 2064 | try!(os.write_tag(7, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2065:13 [INFO] [stdout] | [INFO] [stdout] 2065 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2066:13 [INFO] [stdout] | [INFO] [stdout] 2066 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2069:13 [INFO] [stdout] | [INFO] [stdout] 2069 | try!(os.write_int64(6, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2351:16 [INFO] [stdout] | [INFO] [stdout] 2351 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2352:45 [INFO] [stdout] | [INFO] [stdout] 2352 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2355:21 [INFO] [stdout] | [INFO] [stdout] 2355 | try!(::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2358:21 [INFO] [stdout] | [INFO] [stdout] 2358 | try!(::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.help)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2364:31 [INFO] [stdout] | [INFO] [stdout] 2364 | let tmp = try!(is.read_enum()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2368:21 [INFO] [stdout] | [INFO] [stdout] 2368 | try!(::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.metric)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2371:21 [INFO] [stdout] | [INFO] [stdout] 2371 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2415:9 [INFO] [stdout] | [INFO] [stdout] 2415 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2402:13 [INFO] [stdout] | [INFO] [stdout] 2402 | try!(os.write_string(1, &v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2405:13 [INFO] [stdout] | [INFO] [stdout] 2405 | try!(os.write_string(2, &v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2408:13 [INFO] [stdout] | [INFO] [stdout] 2408 | try!(os.write_enum(3, v.value())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2411:13 [INFO] [stdout] | [INFO] [stdout] 2411 | try!(os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2412:13 [INFO] [stdout] | [INFO] [stdout] 2412 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2413:13 [INFO] [stdout] | [INFO] [stdout] 2413 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/encoder.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | fn encode(&self, &[MetricFamily], &mut Write) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[MetricFamily]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/encoder.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | fn encode(&self, &[MetricFamily], &mut Write) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | try!(write!(writer, "# TYPE {} {}\n", name, lowercase_type)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | try!(write!(writer, "# HELP {} {}\n", name, escape_string(help, false))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | try!(write_sample(name, m, "", "", m.get_counter().get_value(), writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | try!(writer.write_all(name.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | try!(label_pairs_to_text(mc.get_label(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | try!(write!(writer, " {}", value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | try!(writer.write_all(b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | try!(write!(writer, " {}", timestamp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | try!(writer.write_all(b"}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | try!(write!(writer, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | try!(write!(writer, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let desc = try!(Desc::new(opts.fq_name(), opts.help, vec![], opts.const_labels)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let v = try!(Value::new(desc, ValueType::Counter, 0.0, label_values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | let desc = try!(Desc::new(opts.fq_name(), opts.help, variable_names, opts.const_labels)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/vec.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | fn build(&self, &Desc, &[&str]) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Desc` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/vec.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | fn build(&self, &Desc, &[&str]) -> Result; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[&str]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vec.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let h = try!(self.hash_label_values(&vals)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vec.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let h = try!(self.hash_labels(labels)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vec.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let h = try!(self.hash_label_values(&vals)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vec.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let h = try!(self.hash_labels(labels)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vec.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | let metric = try!(self.new_metric.build(&self.desc, label_values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::reflect::accessor::make_repeated_message_accessor` [INFO] [stdout] --> src/proto.rs:1029:60 [INFO] [stdout] | [INFO] [stdout] 1029 | fields.push(::protobuf::reflect::accessor::make_repeated_message_accessor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::reflect::accessor::make_repeated_message_accessor` [INFO] [stdout] --> src/proto.rs:1455:60 [INFO] [stdout] | [INFO] [stdout] 1455 | fields.push(::protobuf::reflect::accessor::make_repeated_message_accessor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::reflect::accessor::make_repeated_message_accessor` [INFO] [stdout] --> src/proto.rs:2113:60 [INFO] [stdout] | [INFO] [stdout] 2113 | fields.push(::protobuf::reflect::accessor::make_repeated_message_accessor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::reflect::accessor::make_repeated_message_accessor` [INFO] [stdout] --> src/proto.rs:2472:60 [INFO] [stdout] | [INFO] [stdout] 2472 | fields.push(::protobuf::reflect::accessor::make_repeated_message_accessor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / quick_error!{ [INFO] [stdout] 18 | | #[derive(Debug)] [INFO] [stdout] 19 | | pub enum Error { [INFO] [stdout] 20 | | AlreadyReg { [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registry.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | pub colloctors_by_id: HashMap>, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | pub colloctors_by_id: HashMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:373:26 [INFO] [stdout] | [INFO] [stdout] 373 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 373 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:543:26 [INFO] [stdout] | [INFO] [stdout] 543 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 543 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:747:26 [INFO] [stdout] | [INFO] [stdout] 747 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 747 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:997:26 [INFO] [stdout] | [INFO] [stdout] 997 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 997 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:1180:26 [INFO] [stdout] | [INFO] [stdout] 1180 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1180 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:1423:26 [INFO] [stdout] | [INFO] [stdout] 1423 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1423 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:1640:26 [INFO] [stdout] | [INFO] [stdout] 1640 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1640 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:2091:26 [INFO] [stdout] | [INFO] [stdout] 2091 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 2091 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:2435:26 [INFO] [stdout] | [INFO] [stdout] 2435 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 2435 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:49:68 [INFO] [stdout] | [INFO] [stdout] 49 | fn encode(&self, metric_familys: &[MetricFamily], writer: &mut Write) -> Result<()> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | fn encode(&self, metric_familys: &[MetricFamily], writer: &mut dyn Write) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | fn encode(&self, &[MetricFamily], &mut Write) -> Result<()>; [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | fn encode(&self, &[MetricFamily], &mut dyn Write) -> Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | writer: &mut Write) [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | writer: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | writer: &mut Write) [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 | writer: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registry.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | fn register(&mut self, c: Box) -> Result<()> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | fn register(&mut self, c: Box) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registry.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | fn unregister(&mut self, c: Box) -> Result<()> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | fn unregister(&mut self, c: Box) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registry.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn register(&self, c: Box) -> Result<()> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 | pub fn register(&self, c: Box) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registry.rs:123:37 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn unregister(&self, c: Box) -> Result<()> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 | pub fn unregister(&self, c: Box) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:197:18 [INFO] [stdout] | [INFO] [stdout] 197 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:374:18 [INFO] [stdout] | [INFO] [stdout] 374 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 374 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:544:18 [INFO] [stdout] | [INFO] [stdout] 544 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 544 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:748:18 [INFO] [stdout] | [INFO] [stdout] 748 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 748 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:998:18 [INFO] [stdout] | [INFO] [stdout] 998 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 998 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:1181:18 [INFO] [stdout] | [INFO] [stdout] 1181 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1181 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:1424:18 [INFO] [stdout] | [INFO] [stdout] 1424 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1424 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:1641:18 [INFO] [stdout] | [INFO] [stdout] 1641 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1641 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:2092:18 [INFO] [stdout] | [INFO] [stdout] 2092 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 2092 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:2436:18 [INFO] [stdout] | [INFO] [stdout] 2436 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 2436 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/registry.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | let mut existent_mf = entry.get_mut(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/registry.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | let mut existent_metrics = existent_mf.mut_metric(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | / instance.get(|| { [INFO] [stdout] 48 | | LabelPair { [INFO] [stdout] 49 | | name: ::protobuf::SingularField::none(), [INFO] [stdout] 50 | | value: ::protobuf::SingularField::none(), [INFO] [stdout] ... | [INFO] [stdout] 54 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | / descriptor.get(|| { [INFO] [stdout] 217 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 218 | | fields.push(::protobuf::reflect::accessor::make_singular_string_accessor( [INFO] [stdout] 219 | | "name", [INFO] [stdout] ... | [INFO] [stdout] 233 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | / instance.get(|| { [INFO] [stdout] 284 | | Gauge { [INFO] [stdout] 285 | | value: ::std::option::Option::None, [INFO] [stdout] 286 | | unknown_fields: ::protobuf::UnknownFields::new(), [INFO] [stdout] ... | [INFO] [stdout] 289 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | / descriptor.get(|| { [INFO] [stdout] 394 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 395 | | fields.push(::protobuf::reflect::accessor::make_singular_f64_accessor( [INFO] [stdout] 396 | | "value", [INFO] [stdout] ... | [INFO] [stdout] 405 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | / instance.get(|| { [INFO] [stdout] 454 | | Counter { [INFO] [stdout] 455 | | value: ::std::option::Option::None, [INFO] [stdout] 456 | | unknown_fields: ::protobuf::UnknownFields::new(), [INFO] [stdout] ... | [INFO] [stdout] 459 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:563:13 [INFO] [stdout] | [INFO] [stdout] 563 | / descriptor.get(|| { [INFO] [stdout] 564 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 565 | | fields.push(::protobuf::reflect::accessor::make_singular_f64_accessor( [INFO] [stdout] 566 | | "value", [INFO] [stdout] ... | [INFO] [stdout] 575 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:624:13 [INFO] [stdout] | [INFO] [stdout] 624 | / instance.get(|| { [INFO] [stdout] 625 | | Quantile { [INFO] [stdout] 626 | | quantile: ::std::option::Option::None, [INFO] [stdout] 627 | | value: ::std::option::Option::None, [INFO] [stdout] ... | [INFO] [stdout] 631 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:767:13 [INFO] [stdout] | [INFO] [stdout] 767 | / descriptor.get(|| { [INFO] [stdout] 768 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 769 | | fields.push(::protobuf::reflect::accessor::make_singular_f64_accessor( [INFO] [stdout] 770 | | "quantile", [INFO] [stdout] ... | [INFO] [stdout] 784 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 836 | / instance.get(|| { [INFO] [stdout] 837 | | Summary { [INFO] [stdout] 838 | | sample_count: ::std::option::Option::None, [INFO] [stdout] 839 | | sample_sum: ::std::option::Option::None, [INFO] [stdout] ... | [INFO] [stdout] 844 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/proto.rs:950:22 [INFO] [stdout] | [INFO] [stdout] 950 | for value in &self.sample_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 950 - for value in &self.sample_count { [INFO] [stdout] 950 + while let Some(value) = &self.sample_count { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 950 - for value in &self.sample_count { [INFO] [stdout] 950 + if let Some(value) = &self.sample_count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:1017:13 [INFO] [stdout] | [INFO] [stdout] 1017 | / descriptor.get(|| { [INFO] [stdout] 1018 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 1019 | | fields.push(::protobuf::reflect::accessor::make_singular_u64_accessor( [INFO] [stdout] 1020 | | "sample_count", [INFO] [stdout] ... | [INFO] [stdout] 1038 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:1090:13 [INFO] [stdout] | [INFO] [stdout] 1090 | / instance.get(|| { [INFO] [stdout] 1091 | | Untyped { [INFO] [stdout] 1092 | | value: ::std::option::Option::None, [INFO] [stdout] 1093 | | unknown_fields: ::protobuf::UnknownFields::new(), [INFO] [stdout] ... | [INFO] [stdout] 1096 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:1200:13 [INFO] [stdout] | [INFO] [stdout] 1200 | / descriptor.get(|| { [INFO] [stdout] 1201 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 1202 | | fields.push(::protobuf::reflect::accessor::make_singular_f64_accessor( [INFO] [stdout] 1203 | | "value", [INFO] [stdout] ... | [INFO] [stdout] 1212 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:1262:13 [INFO] [stdout] | [INFO] [stdout] 1262 | / instance.get(|| { [INFO] [stdout] 1263 | | Histogram { [INFO] [stdout] 1264 | | sample_count: ::std::option::Option::None, [INFO] [stdout] 1265 | | sample_sum: ::std::option::Option::None, [INFO] [stdout] ... | [INFO] [stdout] 1270 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/proto.rs:1376:22 [INFO] [stdout] | [INFO] [stdout] 1376 | for value in &self.sample_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 1376 - for value in &self.sample_count { [INFO] [stdout] 1376 + while let Some(value) = &self.sample_count { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 1376 - for value in &self.sample_count { [INFO] [stdout] 1376 + if let Some(value) = &self.sample_count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:1443:13 [INFO] [stdout] | [INFO] [stdout] 1443 | / descriptor.get(|| { [INFO] [stdout] 1444 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 1445 | | fields.push(::protobuf::reflect::accessor::make_singular_u64_accessor( [INFO] [stdout] 1446 | | "sample_count", [INFO] [stdout] ... | [INFO] [stdout] 1464 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:1517:13 [INFO] [stdout] | [INFO] [stdout] 1517 | / instance.get(|| { [INFO] [stdout] 1518 | | Bucket { [INFO] [stdout] 1519 | | cumulative_count: ::std::option::Option::None, [INFO] [stdout] 1520 | | upper_bound: ::std::option::Option::None, [INFO] [stdout] ... | [INFO] [stdout] 1524 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/proto.rs:1602:22 [INFO] [stdout] | [INFO] [stdout] 1602 | for value in &self.cumulative_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 1602 - for value in &self.cumulative_count { [INFO] [stdout] 1602 + while let Some(value) = &self.cumulative_count { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 1602 - for value in &self.cumulative_count { [INFO] [stdout] 1602 + if let Some(value) = &self.cumulative_count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:1660:13 [INFO] [stdout] | [INFO] [stdout] 1660 | / descriptor.get(|| { [INFO] [stdout] 1661 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 1662 | | fields.push(::protobuf::reflect::accessor::make_singular_u64_accessor( [INFO] [stdout] 1663 | | "cumulative_count", [INFO] [stdout] ... | [INFO] [stdout] 1677 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:1733:13 [INFO] [stdout] | [INFO] [stdout] 1733 | / instance.get(|| { [INFO] [stdout] 1734 | | Metric { [INFO] [stdout] 1735 | | label: ::protobuf::RepeatedField::new(), [INFO] [stdout] 1736 | | gauge: ::protobuf::SingularPtrField::none(), [INFO] [stdout] ... | [INFO] [stdout] 1745 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/proto.rs:2029:22 [INFO] [stdout] | [INFO] [stdout] 2029 | for value in &self.timestamp_ms { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 2029 - for value in &self.timestamp_ms { [INFO] [stdout] 2029 + while let Some(value) = &self.timestamp_ms { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 2029 - for value in &self.timestamp_ms { [INFO] [stdout] 2029 + if let Some(value) = &self.timestamp_ms { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:2111:13 [INFO] [stdout] | [INFO] [stdout] 2111 | / descriptor.get(|| { [INFO] [stdout] 2112 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 2113 | | fields.push(::protobuf::reflect::accessor::make_repeated_message_accessor( [INFO] [stdout] 2114 | | "label", [INFO] [stdout] ... | [INFO] [stdout] 2152 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:2215:13 [INFO] [stdout] | [INFO] [stdout] 2215 | / instance.get(|| { [INFO] [stdout] 2216 | | MetricFamily { [INFO] [stdout] 2217 | | name: ::protobuf::SingularField::none(), [INFO] [stdout] 2218 | | help: ::protobuf::SingularField::none(), [INFO] [stdout] ... | [INFO] [stdout] 2224 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/proto.rs:2388:22 [INFO] [stdout] | [INFO] [stdout] 2388 | for value in &self.field_type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 2388 - for value in &self.field_type { [INFO] [stdout] 2388 + while let Some(value) = &self.field_type { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 2388 - for value in &self.field_type { [INFO] [stdout] 2388 + if let Some(value) = &self.field_type { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:2455:13 [INFO] [stdout] | [INFO] [stdout] 2455 | / descriptor.get(|| { [INFO] [stdout] 2456 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 2457 | | fields.push(::protobuf::reflect::accessor::make_singular_string_accessor( [INFO] [stdout] 2458 | | "name", [INFO] [stdout] ... | [INFO] [stdout] 2481 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:2554:13 [INFO] [stdout] | [INFO] [stdout] 2554 | / descriptor.get(|| { [INFO] [stdout] 2555 | | ::protobuf::reflect::EnumDescriptor::new("MetricType", file_descriptor_proto()) [INFO] [stdout] 2556 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:2798:9 [INFO] [stdout] | [INFO] [stdout] 2798 | / file_descriptor_proto_lazy.get(|| { [INFO] [stdout] 2799 | | parse_descriptor_proto() [INFO] [stdout] 2800 | | }) [INFO] [stdout] | |__________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.73s [INFO] running `Command { std: "docker" "inspect" "829746a6a1c288e915d4af2327f675f7fd4ebf03ef90939af28fa17dc08f4c33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "829746a6a1c288e915d4af2327f675f7fd4ebf03ef90939af28fa17dc08f4c33", kill_on_drop: false }` [INFO] [stdout] 829746a6a1c288e915d4af2327f675f7fd4ebf03ef90939af28fa17dc08f4c33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7828a9f5cb5cfcaaf245be93f3d02be24eac0e1eb813bb6bbf8639e64157e1bf [INFO] running `Command { std: "docker" "start" "-a" "7828a9f5cb5cfcaaf245be93f3d02be24eac0e1eb813bb6bbf8639e64157e1bf", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling traitobject v0.0.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/proto.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:138:45 [INFO] [stdout] | [INFO] [stdout] 138 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:141:21 [INFO] [stdout] | [INFO] [stdout] 141 | try!(::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:144:21 [INFO] [stdout] | [INFO] [stdout] 144 | try!(::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | try!(os.write_string(1, &v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | try!(os.write_string(2, &v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:319:16 [INFO] [stdout] | [INFO] [stdout] 319 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:320:45 [INFO] [stdout] | [INFO] [stdout] 320 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:326:31 [INFO] [stdout] | [INFO] [stdout] 326 | let tmp = try!(is.read_double()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 330 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | try!(os.write_double(1, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:489:16 [INFO] [stdout] | [INFO] [stdout] 489 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:490:45 [INFO] [stdout] | [INFO] [stdout] 490 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:496:31 [INFO] [stdout] | [INFO] [stdout] 496 | let tmp = try!(is.read_double()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:500:21 [INFO] [stdout] | [INFO] [stdout] 500 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:523:9 [INFO] [stdout] | [INFO] [stdout] 523 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:521:13 [INFO] [stdout] | [INFO] [stdout] 521 | try!(os.write_double(1, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:680:16 [INFO] [stdout] | [INFO] [stdout] 680 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:681:45 [INFO] [stdout] | [INFO] [stdout] 681 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:687:31 [INFO] [stdout] | [INFO] [stdout] 687 | let tmp = try!(is.read_double()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:694:31 [INFO] [stdout] | [INFO] [stdout] 694 | let tmp = try!(is.read_double()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:698:21 [INFO] [stdout] | [INFO] [stdout] 698 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:727:9 [INFO] [stdout] | [INFO] [stdout] 727 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:722:13 [INFO] [stdout] | [INFO] [stdout] 722 | try!(os.write_double(1, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:725:13 [INFO] [stdout] | [INFO] [stdout] 725 | try!(os.write_double(2, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:918:16 [INFO] [stdout] | [INFO] [stdout] 918 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:919:45 [INFO] [stdout] | [INFO] [stdout] 919 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:925:31 [INFO] [stdout] | [INFO] [stdout] 925 | let tmp = try!(is.read_uint64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:932:31 [INFO] [stdout] | [INFO] [stdout] 932 | let tmp = try!(is.read_double()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:936:21 [INFO] [stdout] | [INFO] [stdout] 936 | try!(::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.quantile)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:939:21 [INFO] [stdout] | [INFO] [stdout] 939 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:977:9 [INFO] [stdout] | [INFO] [stdout] 977 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:967:13 [INFO] [stdout] | [INFO] [stdout] 967 | try!(os.write_uint64(1, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:970:13 [INFO] [stdout] | [INFO] [stdout] 970 | try!(os.write_double(2, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:973:13 [INFO] [stdout] | [INFO] [stdout] 973 | try!(os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:974:13 [INFO] [stdout] | [INFO] [stdout] 974 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:975:13 [INFO] [stdout] | [INFO] [stdout] 975 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1126:16 [INFO] [stdout] | [INFO] [stdout] 1126 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1127:45 [INFO] [stdout] | [INFO] [stdout] 1127 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1133:31 [INFO] [stdout] | [INFO] [stdout] 1133 | let tmp = try!(is.read_double()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1137:21 [INFO] [stdout] | [INFO] [stdout] 1137 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1160:9 [INFO] [stdout] | [INFO] [stdout] 1160 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1158:13 [INFO] [stdout] | [INFO] [stdout] 1158 | try!(os.write_double(1, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1344:16 [INFO] [stdout] | [INFO] [stdout] 1344 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1345:45 [INFO] [stdout] | [INFO] [stdout] 1345 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1351:31 [INFO] [stdout] | [INFO] [stdout] 1351 | let tmp = try!(is.read_uint64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1358:31 [INFO] [stdout] | [INFO] [stdout] 1358 | let tmp = try!(is.read_double()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1362:21 [INFO] [stdout] | [INFO] [stdout] 1362 | try!(::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.bucket)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1365:21 [INFO] [stdout] | [INFO] [stdout] 1365 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1403:9 [INFO] [stdout] | [INFO] [stdout] 1403 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1393:13 [INFO] [stdout] | [INFO] [stdout] 1393 | try!(os.write_uint64(1, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1396:13 [INFO] [stdout] | [INFO] [stdout] 1396 | try!(os.write_double(2, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1399:13 [INFO] [stdout] | [INFO] [stdout] 1399 | try!(os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1400:13 [INFO] [stdout] | [INFO] [stdout] 1400 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1401:13 [INFO] [stdout] | [INFO] [stdout] 1401 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1573:16 [INFO] [stdout] | [INFO] [stdout] 1573 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1574:45 [INFO] [stdout] | [INFO] [stdout] 1574 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1580:31 [INFO] [stdout] | [INFO] [stdout] 1580 | let tmp = try!(is.read_uint64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1587:31 [INFO] [stdout] | [INFO] [stdout] 1587 | let tmp = try!(is.read_double()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1591:21 [INFO] [stdout] | [INFO] [stdout] 1591 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1620:9 [INFO] [stdout] | [INFO] [stdout] 1620 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1615:13 [INFO] [stdout] | [INFO] [stdout] 1615 | try!(os.write_uint64(1, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1618:13 [INFO] [stdout] | [INFO] [stdout] 1618 | try!(os.write_double(2, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1965:16 [INFO] [stdout] | [INFO] [stdout] 1965 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1966:45 [INFO] [stdout] | [INFO] [stdout] 1966 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1969:21 [INFO] [stdout] | [INFO] [stdout] 1969 | try!(::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.label)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1972:21 [INFO] [stdout] | [INFO] [stdout] 1972 | try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.gauge)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1975:21 [INFO] [stdout] | [INFO] [stdout] 1975 | try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.counter)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1978:21 [INFO] [stdout] | [INFO] [stdout] 1978 | try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.summary)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1981:21 [INFO] [stdout] | [INFO] [stdout] 1981 | try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.untyped)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1984:21 [INFO] [stdout] | [INFO] [stdout] 1984 | try!(::protobuf::rt::read_singular_message_into(wire_type, is, &mut self.histogram)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1990:31 [INFO] [stdout] | [INFO] [stdout] 1990 | let tmp = try!(is.read_int64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:1994:21 [INFO] [stdout] | [INFO] [stdout] 1994 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2071:9 [INFO] [stdout] | [INFO] [stdout] 2071 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2039:13 [INFO] [stdout] | [INFO] [stdout] 2039 | try!(os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2040:13 [INFO] [stdout] | [INFO] [stdout] 2040 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2041:13 [INFO] [stdout] | [INFO] [stdout] 2041 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2044:13 [INFO] [stdout] | [INFO] [stdout] 2044 | try!(os.write_tag(2, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2045:13 [INFO] [stdout] | [INFO] [stdout] 2045 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2046:13 [INFO] [stdout] | [INFO] [stdout] 2046 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2049:13 [INFO] [stdout] | [INFO] [stdout] 2049 | try!(os.write_tag(3, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2050:13 [INFO] [stdout] | [INFO] [stdout] 2050 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2051:13 [INFO] [stdout] | [INFO] [stdout] 2051 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2054:13 [INFO] [stdout] | [INFO] [stdout] 2054 | try!(os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2055:13 [INFO] [stdout] | [INFO] [stdout] 2055 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2056:13 [INFO] [stdout] | [INFO] [stdout] 2056 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2059:13 [INFO] [stdout] | [INFO] [stdout] 2059 | try!(os.write_tag(5, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2060:13 [INFO] [stdout] | [INFO] [stdout] 2060 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2061:13 [INFO] [stdout] | [INFO] [stdout] 2061 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2064:13 [INFO] [stdout] | [INFO] [stdout] 2064 | try!(os.write_tag(7, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2065:13 [INFO] [stdout] | [INFO] [stdout] 2065 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2066:13 [INFO] [stdout] | [INFO] [stdout] 2066 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2069:13 [INFO] [stdout] | [INFO] [stdout] 2069 | try!(os.write_int64(6, v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2351:16 [INFO] [stdout] | [INFO] [stdout] 2351 | while !try!(is.eof()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2352:45 [INFO] [stdout] | [INFO] [stdout] 2352 | let (field_number, wire_type) = try!(is.read_tag_unpack()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2355:21 [INFO] [stdout] | [INFO] [stdout] 2355 | try!(::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2358:21 [INFO] [stdout] | [INFO] [stdout] 2358 | try!(::protobuf::rt::read_singular_string_into(wire_type, is, &mut self.help)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2364:31 [INFO] [stdout] | [INFO] [stdout] 2364 | let tmp = try!(is.read_enum()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2368:21 [INFO] [stdout] | [INFO] [stdout] 2368 | try!(::protobuf::rt::read_repeated_message_into(wire_type, is, &mut self.metric)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2371:21 [INFO] [stdout] | [INFO] [stdout] 2371 | try!(::protobuf::rt::read_unknown_or_skip_group(field_number, wire_type, is, self.mut_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2415:9 [INFO] [stdout] | [INFO] [stdout] 2415 | try!(os.write_unknown_fields(self.get_unknown_fields())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2402:13 [INFO] [stdout] | [INFO] [stdout] 2402 | try!(os.write_string(1, &v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2405:13 [INFO] [stdout] | [INFO] [stdout] 2405 | try!(os.write_string(2, &v)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2408:13 [INFO] [stdout] | [INFO] [stdout] 2408 | try!(os.write_enum(3, v.value())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2411:13 [INFO] [stdout] | [INFO] [stdout] 2411 | try!(os.write_tag(4, ::protobuf::wire_format::WireTypeLengthDelimited)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2412:13 [INFO] [stdout] | [INFO] [stdout] 2412 | try!(os.write_raw_varint32(v.get_cached_size())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/proto.rs:2413:13 [INFO] [stdout] | [INFO] [stdout] 2413 | try!(v.write_to_with_cached_sizes(os)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/encoder.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | fn encode(&self, &[MetricFamily], &mut Write) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[MetricFamily]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/encoder.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | fn encode(&self, &[MetricFamily], &mut Write) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | try!(write!(writer, "# TYPE {} {}\n", name, lowercase_type)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | try!(write!(writer, "# HELP {} {}\n", name, escape_string(help, false))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | try!(write_sample(name, m, "", "", m.get_counter().get_value(), writer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | try!(writer.write_all(name.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | try!(label_pairs_to_text(mc.get_label(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | try!(write!(writer, " {}", value)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | try!(writer.write_all(b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | try!(write!(writer, " {}", timestamp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | try!(writer.write_all(b"}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | try!(write!(writer, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/encoder.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | try!(write!(writer, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | let desc = try!(Desc::new(opts.fq_name(), opts.help, vec![], opts.const_labels)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let v = try!(Value::new(desc, ValueType::Counter, 0.0, label_values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/counter.rs:107:20 [INFO] [stdout] | [INFO] [stdout] 107 | let desc = try!(Desc::new(opts.fq_name(), opts.help, variable_names, opts.const_labels)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/vec.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | fn build(&self, &Desc, &[&str]) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Desc` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/vec.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | fn build(&self, &Desc, &[&str]) -> Result; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[&str]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vec.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | let h = try!(self.hash_label_values(&vals)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vec.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let h = try!(self.hash_labels(labels)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vec.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let h = try!(self.hash_label_values(&vals)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vec.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | let h = try!(self.hash_labels(labels)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vec.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | let metric = try!(self.new_metric.build(&self.desc, label_values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::reflect::accessor::make_repeated_message_accessor` [INFO] [stdout] --> src/proto.rs:1029:60 [INFO] [stdout] | [INFO] [stdout] 1029 | fields.push(::protobuf::reflect::accessor::make_repeated_message_accessor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::reflect::accessor::make_repeated_message_accessor` [INFO] [stdout] --> src/proto.rs:1455:60 [INFO] [stdout] | [INFO] [stdout] 1455 | fields.push(::protobuf::reflect::accessor::make_repeated_message_accessor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::reflect::accessor::make_repeated_message_accessor` [INFO] [stdout] --> src/proto.rs:2113:60 [INFO] [stdout] | [INFO] [stdout] 2113 | fields.push(::protobuf::reflect::accessor::make_repeated_message_accessor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `protobuf::reflect::accessor::make_repeated_message_accessor` [INFO] [stdout] --> src/proto.rs:2472:60 [INFO] [stdout] | [INFO] [stdout] 2472 | fields.push(::protobuf::reflect::accessor::make_repeated_message_accessor( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / quick_error!{ [INFO] [stdout] 18 | | #[derive(Debug)] [INFO] [stdout] 19 | | pub enum Error { [INFO] [stdout] 20 | | AlreadyReg { [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `quick_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registry.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | pub colloctors_by_id: HashMap>, [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | pub colloctors_by_id: HashMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:196:26 [INFO] [stdout] | [INFO] [stdout] 196 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 196 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:373:26 [INFO] [stdout] | [INFO] [stdout] 373 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 373 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:543:26 [INFO] [stdout] | [INFO] [stdout] 543 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 543 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:747:26 [INFO] [stdout] | [INFO] [stdout] 747 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 747 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:997:26 [INFO] [stdout] | [INFO] [stdout] 997 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 997 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:1180:26 [INFO] [stdout] | [INFO] [stdout] 1180 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1180 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:1423:26 [INFO] [stdout] | [INFO] [stdout] 1423 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1423 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:1640:26 [INFO] [stdout] | [INFO] [stdout] 1640 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1640 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:2091:26 [INFO] [stdout] | [INFO] [stdout] 2091 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 2091 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:2435:26 [INFO] [stdout] | [INFO] [stdout] 2435 | fn as_any(&self) -> &::std::any::Any { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 2435 | fn as_any(&self) -> &dyn (::std::any::Any) { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:49:68 [INFO] [stdout] | [INFO] [stdout] 49 | fn encode(&self, metric_familys: &[MetricFamily], writer: &mut Write) -> Result<()> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | fn encode(&self, metric_familys: &[MetricFamily], writer: &mut dyn Write) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:27:44 [INFO] [stdout] | [INFO] [stdout] 27 | fn encode(&self, &[MetricFamily], &mut Write) -> Result<()>; [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | fn encode(&self, &[MetricFamily], &mut dyn Write) -> Result<()>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:97:30 [INFO] [stdout] | [INFO] [stdout] 97 | writer: &mut Write) [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 | writer: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/encoder.rs:128:37 [INFO] [stdout] | [INFO] [stdout] 128 | writer: &mut Write) [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 128 | writer: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registry.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | fn register(&mut self, c: Box) -> Result<()> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 | fn register(&mut self, c: Box) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registry.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | fn unregister(&mut self, c: Box) -> Result<()> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | fn unregister(&mut self, c: Box) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registry.rs:119:35 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn register(&self, c: Box) -> Result<()> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 119 | pub fn register(&self, c: Box) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/registry.rs:123:37 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn unregister(&self, c: Box) -> Result<()> { [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 | pub fn unregister(&self, c: Box) -> Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:197:18 [INFO] [stdout] | [INFO] [stdout] 197 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 197 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:374:18 [INFO] [stdout] | [INFO] [stdout] 374 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 374 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:544:18 [INFO] [stdout] | [INFO] [stdout] 544 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 544 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:748:18 [INFO] [stdout] | [INFO] [stdout] 748 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 748 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:998:18 [INFO] [stdout] | [INFO] [stdout] 998 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 998 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:1181:18 [INFO] [stdout] | [INFO] [stdout] 1181 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1181 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:1424:18 [INFO] [stdout] | [INFO] [stdout] 1424 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1424 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:1641:18 [INFO] [stdout] | [INFO] [stdout] 1641 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 1641 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:2092:18 [INFO] [stdout] | [INFO] [stdout] 2092 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 2092 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/proto.rs:2436:18 [INFO] [stdout] | [INFO] [stdout] 2436 | self as &::std::any::Any [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: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 2436 | self as &dyn (::std::any::Any) [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | description(err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/registry.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | let mut existent_mf = entry.get_mut(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/registry.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | let mut existent_metrics = existent_mf.mut_metric(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | / instance.get(|| { [INFO] [stdout] 48 | | LabelPair { [INFO] [stdout] 49 | | name: ::protobuf::SingularField::none(), [INFO] [stdout] 50 | | value: ::protobuf::SingularField::none(), [INFO] [stdout] ... | [INFO] [stdout] 54 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | / descriptor.get(|| { [INFO] [stdout] 217 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 218 | | fields.push(::protobuf::reflect::accessor::make_singular_string_accessor( [INFO] [stdout] 219 | | "name", [INFO] [stdout] ... | [INFO] [stdout] 233 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | / instance.get(|| { [INFO] [stdout] 284 | | Gauge { [INFO] [stdout] 285 | | value: ::std::option::Option::None, [INFO] [stdout] 286 | | unknown_fields: ::protobuf::UnknownFields::new(), [INFO] [stdout] ... | [INFO] [stdout] 289 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | / descriptor.get(|| { [INFO] [stdout] 394 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 395 | | fields.push(::protobuf::reflect::accessor::make_singular_f64_accessor( [INFO] [stdout] 396 | | "value", [INFO] [stdout] ... | [INFO] [stdout] 405 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | / instance.get(|| { [INFO] [stdout] 454 | | Counter { [INFO] [stdout] 455 | | value: ::std::option::Option::None, [INFO] [stdout] 456 | | unknown_fields: ::protobuf::UnknownFields::new(), [INFO] [stdout] ... | [INFO] [stdout] 459 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:563:13 [INFO] [stdout] | [INFO] [stdout] 563 | / descriptor.get(|| { [INFO] [stdout] 564 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 565 | | fields.push(::protobuf::reflect::accessor::make_singular_f64_accessor( [INFO] [stdout] 566 | | "value", [INFO] [stdout] ... | [INFO] [stdout] 575 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:624:13 [INFO] [stdout] | [INFO] [stdout] 624 | / instance.get(|| { [INFO] [stdout] 625 | | Quantile { [INFO] [stdout] 626 | | quantile: ::std::option::Option::None, [INFO] [stdout] 627 | | value: ::std::option::Option::None, [INFO] [stdout] ... | [INFO] [stdout] 631 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:767:13 [INFO] [stdout] | [INFO] [stdout] 767 | / descriptor.get(|| { [INFO] [stdout] 768 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 769 | | fields.push(::protobuf::reflect::accessor::make_singular_f64_accessor( [INFO] [stdout] 770 | | "quantile", [INFO] [stdout] ... | [INFO] [stdout] 784 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 836 | / instance.get(|| { [INFO] [stdout] 837 | | Summary { [INFO] [stdout] 838 | | sample_count: ::std::option::Option::None, [INFO] [stdout] 839 | | sample_sum: ::std::option::Option::None, [INFO] [stdout] ... | [INFO] [stdout] 844 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/proto.rs:950:22 [INFO] [stdout] | [INFO] [stdout] 950 | for value in &self.sample_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 950 - for value in &self.sample_count { [INFO] [stdout] 950 + while let Some(value) = &self.sample_count { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 950 - for value in &self.sample_count { [INFO] [stdout] 950 + if let Some(value) = &self.sample_count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:1017:13 [INFO] [stdout] | [INFO] [stdout] 1017 | / descriptor.get(|| { [INFO] [stdout] 1018 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 1019 | | fields.push(::protobuf::reflect::accessor::make_singular_u64_accessor( [INFO] [stdout] 1020 | | "sample_count", [INFO] [stdout] ... | [INFO] [stdout] 1038 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:1090:13 [INFO] [stdout] | [INFO] [stdout] 1090 | / instance.get(|| { [INFO] [stdout] 1091 | | Untyped { [INFO] [stdout] 1092 | | value: ::std::option::Option::None, [INFO] [stdout] 1093 | | unknown_fields: ::protobuf::UnknownFields::new(), [INFO] [stdout] ... | [INFO] [stdout] 1096 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:1200:13 [INFO] [stdout] | [INFO] [stdout] 1200 | / descriptor.get(|| { [INFO] [stdout] 1201 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 1202 | | fields.push(::protobuf::reflect::accessor::make_singular_f64_accessor( [INFO] [stdout] 1203 | | "value", [INFO] [stdout] ... | [INFO] [stdout] 1212 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:1262:13 [INFO] [stdout] | [INFO] [stdout] 1262 | / instance.get(|| { [INFO] [stdout] 1263 | | Histogram { [INFO] [stdout] 1264 | | sample_count: ::std::option::Option::None, [INFO] [stdout] 1265 | | sample_sum: ::std::option::Option::None, [INFO] [stdout] ... | [INFO] [stdout] 1270 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/proto.rs:1376:22 [INFO] [stdout] | [INFO] [stdout] 1376 | for value in &self.sample_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 1376 - for value in &self.sample_count { [INFO] [stdout] 1376 + while let Some(value) = &self.sample_count { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 1376 - for value in &self.sample_count { [INFO] [stdout] 1376 + if let Some(value) = &self.sample_count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:1443:13 [INFO] [stdout] | [INFO] [stdout] 1443 | / descriptor.get(|| { [INFO] [stdout] 1444 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 1445 | | fields.push(::protobuf::reflect::accessor::make_singular_u64_accessor( [INFO] [stdout] 1446 | | "sample_count", [INFO] [stdout] ... | [INFO] [stdout] 1464 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:1517:13 [INFO] [stdout] | [INFO] [stdout] 1517 | / instance.get(|| { [INFO] [stdout] 1518 | | Bucket { [INFO] [stdout] 1519 | | cumulative_count: ::std::option::Option::None, [INFO] [stdout] 1520 | | upper_bound: ::std::option::Option::None, [INFO] [stdout] ... | [INFO] [stdout] 1524 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/proto.rs:1602:22 [INFO] [stdout] | [INFO] [stdout] 1602 | for value in &self.cumulative_count { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 1602 - for value in &self.cumulative_count { [INFO] [stdout] 1602 + while let Some(value) = &self.cumulative_count { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 1602 - for value in &self.cumulative_count { [INFO] [stdout] 1602 + if let Some(value) = &self.cumulative_count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:1660:13 [INFO] [stdout] | [INFO] [stdout] 1660 | / descriptor.get(|| { [INFO] [stdout] 1661 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 1662 | | fields.push(::protobuf::reflect::accessor::make_singular_u64_accessor( [INFO] [stdout] 1663 | | "cumulative_count", [INFO] [stdout] ... | [INFO] [stdout] 1677 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:1733:13 [INFO] [stdout] | [INFO] [stdout] 1733 | / instance.get(|| { [INFO] [stdout] 1734 | | Metric { [INFO] [stdout] 1735 | | label: ::protobuf::RepeatedField::new(), [INFO] [stdout] 1736 | | gauge: ::protobuf::SingularPtrField::none(), [INFO] [stdout] ... | [INFO] [stdout] 1745 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/proto.rs:2029:22 [INFO] [stdout] | [INFO] [stdout] 2029 | for value in &self.timestamp_ms { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 2029 - for value in &self.timestamp_ms { [INFO] [stdout] 2029 + while let Some(value) = &self.timestamp_ms { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 2029 - for value in &self.timestamp_ms { [INFO] [stdout] 2029 + if let Some(value) = &self.timestamp_ms { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:2111:13 [INFO] [stdout] | [INFO] [stdout] 2111 | / descriptor.get(|| { [INFO] [stdout] 2112 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 2113 | | fields.push(::protobuf::reflect::accessor::make_repeated_message_accessor( [INFO] [stdout] 2114 | | "label", [INFO] [stdout] ... | [INFO] [stdout] 2152 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:2215:13 [INFO] [stdout] | [INFO] [stdout] 2215 | / instance.get(|| { [INFO] [stdout] 2216 | | MetricFamily { [INFO] [stdout] 2217 | | name: ::protobuf::SingularField::none(), [INFO] [stdout] 2218 | | help: ::protobuf::SingularField::none(), [INFO] [stdout] ... | [INFO] [stdout] 2224 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/proto.rs:2388:22 [INFO] [stdout] | [INFO] [stdout] 2388 | for value in &self.field_type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 2388 - for value in &self.field_type { [INFO] [stdout] 2388 + while let Some(value) = &self.field_type { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 2388 - for value in &self.field_type { [INFO] [stdout] 2388 + if let Some(value) = &self.field_type { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:2455:13 [INFO] [stdout] | [INFO] [stdout] 2455 | / descriptor.get(|| { [INFO] [stdout] 2456 | | let mut fields = ::std::vec::Vec::new(); [INFO] [stdout] 2457 | | fields.push(::protobuf::reflect::accessor::make_singular_string_accessor( [INFO] [stdout] 2458 | | "name", [INFO] [stdout] ... | [INFO] [stdout] 2481 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:2554:13 [INFO] [stdout] | [INFO] [stdout] 2554 | / descriptor.get(|| { [INFO] [stdout] 2555 | | ::protobuf::reflect::EnumDescriptor::new("MetricType", file_descriptor_proto()) [INFO] [stdout] 2556 | | }) [INFO] [stdout] | |______________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/proto.rs:2798:9 [INFO] [stdout] | [INFO] [stdout] 2798 | / file_descriptor_proto_lazy.get(|| { [INFO] [stdout] 2799 | | parse_descriptor_proto() [INFO] [stdout] 2800 | | }) [INFO] [stdout] | |__________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling hpack v0.2.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling openssl-sys v0.7.17 [INFO] [stderr] Compiling solicit v0.4.4 [INFO] [stderr] Compiling openssl-sys-extras v0.7.14 [INFO] [stderr] Compiling openssl v0.7.14 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] warning: openssl@0.7.14: src/c_helpers.c:1:10: fatal error: openssl/ssl.h: No such file or directory [INFO] [stderr] warning: openssl@0.7.14: 1 | #include [INFO] [stderr] warning: openssl@0.7.14: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: openssl@0.7.14: compilation terminated. [INFO] [stderr] error: failed to run custom build command for `openssl v0.7.14` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/openssl-839d0b8a385d78dc/build-script-build` (exit status: 101) [INFO] [stderr] --- stdout [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-musl") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-musl") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-musl") [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-musl") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CC_x86_64-unknown-linux-musl = None [INFO] [stderr] CC_x86_64_unknown_linux_musl = None [INFO] [stderr] TARGET_CC = None [INFO] [stderr] CC = None [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CROSS_COMPILE = None [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-musl") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] CFLAGS_x86_64-unknown-linux-musl = None [INFO] [stderr] CFLAGS_x86_64_unknown_linux_musl = None [INFO] [stderr] TARGET_CFLAGS = None [INFO] [stderr] CFLAGS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] running: "musl-gcc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-static" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/openssl-fc3477fba450e8c0/out/src/c_helpers.o" "-c" "src/c_helpers.c" [INFO] [stderr] cargo:warning=src/c_helpers.c:1:10: fatal error: openssl/ssl.h: No such file or directory [INFO] [stderr] cargo:warning= 1 | #include [INFO] [stderr] cargo:warning= | ^~~~~~~~~~~~~~~ [INFO] [stderr] cargo:warning=compilation terminated. [INFO] [stderr] exit status: 1 [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] thread 'main' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gcc-0.3.55/src/lib.rs:1672:5: [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] Internal error occurred: Command "musl-gcc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-static" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/openssl-fc3477fba450e8c0/out/src/c_helpers.o" "-c" "src/c_helpers.c" with args "musl-gcc" did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5aa1755846d2 - std::backtrace_rs::backtrace::libunwind::trace::h7c95ef939f65c294 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5aa1755846d2 - std::backtrace_rs::backtrace::trace_unsynchronized::h32c948083968be8c [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5aa1755846d2 - std::sys::backtrace::_print_fmt::hbce1ec88d06e088c [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5aa1755846d2 - ::fmt::hb9fc0e74cd3e2ce7 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5aa1755a6b93 - core::fmt::rt::Argument::fmt::h6807405d250eb341 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5aa1755a6b93 - core::fmt::write::h44c4c28224d1d425 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stderr] 6: 0x5aa1755812b3 - std::io::default_write_fmt::h2bbef4d99fdfa1fb [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5aa1755812b3 - std::io::Write::write_fmt::h7c137d8faa040f47 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5aa175584522 - std::sys::backtrace::BacktraceLock::print::hdd765023e0895687 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5aa1755860a2 - std::panicking::default_hook::{{closure}}::h3703709d08ff9881 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stderr] 10: 0x5aa175585ea5 - std::panicking::default_hook::h52db45a3301fd26f [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:327:9 [INFO] [stderr] 11: 0x5aa1755869b2 - std::panicking::rust_panic_with_hook::h6c4d7d69d053bb09 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:833:13 [INFO] [stderr] 12: 0x5aa17558684a - std::panicking::begin_panic_handler::{{closure}}::h7b56674cf0518b4b [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stderr] 13: 0x5aa175584bc9 - std::sys::backtrace::__rust_end_short_backtrace::h3266312f35a9262a [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stderr] 14: 0x5aa1755864dd - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stderr] 15: 0x5aa1755a5af0 - core::panicking::panic_fmt::h42f13c80076c805d [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stderr] 16: 0x5aa17553ce2b - gcc::fail::hc4a674915271e610 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gcc-0.3.55/src/lib.rs:1672:5 [INFO] [stderr] 17: 0x5aa175530710 - gcc::Build::compile::hc5e6f20266a09838 [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/gcc-0.3.55/src/lib.rs:785:13 [INFO] [stderr] 18: 0x5aa17552cc67 - build_script_build::main::h5bf5542e9ce708fe [INFO] [stderr] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/openssl-0.7.14/build.rs:15:36 [INFO] [stderr] 19: 0x5aa17552c6eb - core::ops::function::FnOnce::call_once::hbc5f85c000ba0f54 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 20: 0x5aa17552c66e - std::sys::backtrace::__rust_begin_short_backtrace::ha480c7794840fd82 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stderr] 21: 0x5aa17552c641 - std::rt::lang_start::{{closure}}::h1953f2b46844347f [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:206:18 [INFO] [stderr] 22: 0x5aa17557cb10 - core::ops::function::impls:: for &F>::call_once::h776d28ad5d8e3065 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:284:21 [INFO] [stderr] 23: 0x5aa17557cb10 - std::panicking::catch_unwind::do_call::hc52b7f8762002282 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stderr] 24: 0x5aa17557cb10 - std::panicking::catch_unwind::h65ae6675cb87c293 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stderr] 25: 0x5aa17557cb10 - std::panic::catch_unwind::h4bf88f8de30a831e [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stderr] 26: 0x5aa17557cb10 - std::rt::lang_start_internal::{{closure}}::he18cde089aa4ecf1 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:175:24 [INFO] [stderr] 27: 0x5aa17557cb10 - std::panicking::catch_unwind::do_call::h8d614f4790efaa4f [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stderr] 28: 0x5aa17557cb10 - std::panicking::catch_unwind::he616f21a5745eff4 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stderr] 29: 0x5aa17557cb10 - std::panic::catch_unwind::ha12dd71f2a653c0c [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stderr] 30: 0x5aa17557cb10 - std::rt::lang_start_internal::hacfd5a6cee565422 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:171:5 [INFO] [stderr] 31: 0x5aa17552c627 - std::rt::lang_start::h28896437ea0cadd5 [INFO] [stderr] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/rt.rs:205:5 [INFO] [stderr] 32: 0x5aa17552ccae - main [INFO] [stderr] 33: 0x79197946e1ca - [INFO] [stderr] 34: 0x79197946e28b - __libc_start_main [INFO] [stderr] 35: 0x5aa17552c405 - _start [INFO] [stderr] 36: 0x0 - [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7828a9f5cb5cfcaaf245be93f3d02be24eac0e1eb813bb6bbf8639e64157e1bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7828a9f5cb5cfcaaf245be93f3d02be24eac0e1eb813bb6bbf8639e64157e1bf", kill_on_drop: false }` [INFO] [stdout] 7828a9f5cb5cfcaaf245be93f3d02be24eac0e1eb813bb6bbf8639e64157e1bf