[INFO] fetching crate cobalt 0.22.0... [INFO] checking cobalt-0.22.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate cobalt 0.22.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate cobalt 0.22.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cobalt 0.22.0 [INFO] finished tweaking crates.io crate cobalt 0.22.0 [INFO] tweaked toml for crates.io crate cobalt 0.22.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 132ca111a30ef400be779a3d3c0052c17e70cdbcf2723f96ab4ccad2de4280d8 [INFO] running `Command { std: "docker" "start" "-a" "132ca111a30ef400be779a3d3c0052c17e70cdbcf2723f96ab4ccad2de4280d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "132ca111a30ef400be779a3d3c0052c17e70cdbcf2723f96ab4ccad2de4280d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "132ca111a30ef400be779a3d3c0052c17e70cdbcf2723f96ab4ccad2de4280d8", kill_on_drop: false }` [INFO] [stdout] 132ca111a30ef400be779a3d3c0052c17e70cdbcf2723f96ab4ccad2de4280d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cddac85e8074ffda8c3ab2ea54c2d159fc5844c32cbf5c9046113f5df1ac5faf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cddac85e8074ffda8c3ab2ea54c2d159fc5844c32cbf5c9046113f5df1ac5faf", kill_on_drop: false }` [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking cobalt v0.22.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/shared/binary_rate_limiter.rs:165:45 [INFO] [stdout] | [INFO] [stdout] 165 | self.last_bad_time = Instant::now();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shared/connection.rs:129:59 [INFO] [stdout] | [INFO] [stdout] 129 | pub type ConnectionMap = HashMap>; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn RateLimiter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shared/connection.rs:129:72 [INFO] [stdout] | [INFO] [stdout] 129 | pub type ConnectionMap = HashMap>; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn PacketModifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/shared/connection.rs:425:25 [INFO] [stdout] | [INFO] [stdout] 425 | (cmp::max(self.last_receive_time - ack.time, tick_delay) - tick_delay) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shared/udp_socket.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | let socket = try!(net::UdpSocket::bind(address)); [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/shared/udp_socket.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | try!(socket.set_nonblocking(true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits/packet_modifier.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | impl fmt::Debug for PacketModifier { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn PacketModifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits/rate_limiter.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | impl fmt::Debug for RateLimiter { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn RateLimiter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:198:26 [INFO] [stdout] | [INFO] [stdout] 198 | let socket = try!(S::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:203:29 [INFO] [stdout] | [INFO] [stdout] 203 | let peer_addr = try!(addr.to_socket_addrs()).nth(0).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:204:30 [INFO] [stdout] | [INFO] [stdout] 204 | let local_addr = try!(socket.local_addr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | let local_addr = try!(addr.to_socket_addrs()).nth(0).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | let socket = try!(S::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/shared/binary_rate_limiter.rs:165:45 [INFO] [stdout] | [INFO] [stdout] 165 | self.last_bad_time = Instant::now();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shared/connection.rs:129:59 [INFO] [stdout] | [INFO] [stdout] 129 | pub type ConnectionMap = HashMap>; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn RateLimiter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shared/connection.rs:129:72 [INFO] [stdout] | [INFO] [stdout] 129 | pub type ConnectionMap = HashMap>; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn PacketModifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/shared/connection.rs:425:25 [INFO] [stdout] | [INFO] [stdout] 425 | (cmp::max(self.last_receive_time - ack.time, tick_delay) - tick_delay) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shared/udp_socket.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 36 | let socket = try!(net::UdpSocket::bind(address)); [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/shared/udp_socket.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | try!(socket.set_nonblocking(true)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits/packet_modifier.rs:43:21 [INFO] [stdout] | [INFO] [stdout] 43 | impl fmt::Debug for PacketModifier { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn PacketModifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits/rate_limiter.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | impl fmt::Debug for RateLimiter { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn RateLimiter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:198:26 [INFO] [stdout] | [INFO] [stdout] 198 | let socket = try!(S::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:203:29 [INFO] [stdout] | [INFO] [stdout] 203 | let peer_addr = try!(addr.to_socket_addrs()).nth(0).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:204:30 [INFO] [stdout] | [INFO] [stdout] 204 | let local_addr = try!(socket.local_addr()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | let local_addr = try!(addr.to_socket_addrs()).nth(0).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/server.rs:204:26 [INFO] [stdout] | [INFO] [stdout] 204 | let socket = try!(S::new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> examples/client.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | client.send(true).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> examples/server.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | server.send(true).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test/client.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(format!("Value {} not in range {} - {}", actual, min, max)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | assert_millis_since!(start, 0, 16); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 | panic!("Value {} not in range {} - {}", actual, min, max); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test/client.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(format!("Value {} not in range {} - {}", actual, min, max)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 630 | assert_millis_since!(start, 167, 33); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 | panic!("Value {} not in range {} - {}", actual, min, max); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test/client.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(format!("Value {} not in range {} - {}", actual, min, max)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 648 | assert_millis_since!(start, 330, 16); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 | panic!("Value {} not in range {} - {}", actual, min, max); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test/client.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(format!("Value {} not in range {} - {}", actual, min, max)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 658 | assert_millis_since!(start, 330, 16); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 | panic!("Value {} not in range {} - {}", actual, min, max); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test/client.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(format!("Value {} not in range {} - {}", actual, min, max)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 668 | assert_millis_since!(start, 330, 16); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 | panic!("Value {} not in range {} - {}", actual, min, max); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test/mock_socket.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | panic!(format!("Expected no more packet(s) to be sent, but {} additional ones.", sent.len())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 115 | panic!("Expected no more packet(s) to be sent, but {} additional ones.", sent.len()); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test/mock_socket.rs:151:24 [INFO] [stdout] | [INFO] [stdout] 151 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 152 | | "{}) Packet destination address ({:?}) does not match expected one: {:?}.", [INFO] [stdout] 153 | | i, sent_addr, expected_addr [INFO] [stdout] 154 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 151 | panic!( [INFO] [stdout] 152 | "{}) Packet destination address ({:?}) does not match expected one: {:?}.", [INFO] [stdout] 153 | i, sent_addr, expected_addr [INFO] [stdout] 154 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test/mock_socket.rs:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 161 | | "{}) Packet protocol header of sent packet ({:?}) does not match expected one: {:?}.", [INFO] [stdout] 162 | | i, sent.1[0..4].to_vec(), expected.1[0..4].to_vec() [INFO] [stdout] 163 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 160 | panic!( [INFO] [stdout] 161 | "{}) Packet protocol header of sent packet ({:?}) does not match expected one: {:?}.", [INFO] [stdout] 162 | i, sent.1[0..4].to_vec(), expected.1[0..4].to_vec() [INFO] [stdout] 163 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test/mock_socket.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 168 | | "{}) Packet body data of sent packet ({:?}) does not match expected one: {:?}.", [INFO] [stdout] 169 | | i, sent.1[8..].to_vec(), expected.1[8..].to_vec() [INFO] [stdout] 170 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 167 | panic!( [INFO] [stdout] 168 | "{}) Packet body data of sent packet ({:?}) does not match expected one: {:?}.", [INFO] [stdout] 169 | i, sent.1[8..].to_vec(), expected.1[8..].to_vec() [INFO] [stdout] 170 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test/mock_socket.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | panic!(format!("Expected at least {} packet(s) to be sent, but only got a total of {}.", expected_total, sent_total)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 176 | panic!("Expected at least {} packet(s) to be sent, but only got a total of {}.", expected_total, sent_total); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test/mock_socket.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | panic!(format!("Expected no more than {} packet(s) to be sent, but got a total of {}.", expected_total, sent_total)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 179 | panic!("Expected no more than {} packet(s) to be sent, but got a total of {}.", expected_total, sent_total); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test/server.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(format!("Value {} not in range {} - {}", actual, min, max)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | assert_millis_since!(start, 0, 16); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 | panic!("Value {} not in range {} - {}", actual, min, max); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test/server.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(format!("Value {} not in range {} - {}", actual, min, max)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 683 | assert_millis_since!(start, 167, 33); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 | panic!("Value {} not in range {} - {}", actual, min, max); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test/server.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(format!("Value {} not in range {} - {}", actual, min, max)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 701 | assert_millis_since!(start, 330, 16); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 | panic!("Value {} not in range {} - {}", actual, min, max); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test/server.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(format!("Value {} not in range {} - {}", actual, min, max)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 711 | assert_millis_since!(start, 330, 16); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 | panic!("Value {} not in range {} - {}", actual, min, max); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test/server.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | panic!(format!("Value {} not in range {} - {}", actual, min, max)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 721 | assert_millis_since!(start, 330, 16); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 35 | panic!("Value {} not in range {} - {}", actual, min, max); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.38s [INFO] running `Command { std: "docker" "inspect" "cddac85e8074ffda8c3ab2ea54c2d159fc5844c32cbf5c9046113f5df1ac5faf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cddac85e8074ffda8c3ab2ea54c2d159fc5844c32cbf5c9046113f5df1ac5faf", kill_on_drop: false }` [INFO] [stdout] cddac85e8074ffda8c3ab2ea54c2d159fc5844c32cbf5c9046113f5df1ac5faf