[INFO] fetching crate aws_sig_verify 0.6.1... [INFO] checking aws_sig_verify-0.6.1 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate aws_sig_verify 0.6.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate aws_sig_verify 0.6.1 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 aws_sig_verify 0.6.1 [INFO] finished tweaking crates.io crate aws_sig_verify 0.6.1 [INFO] tweaked toml for crates.io crate aws_sig_verify 0.6.1 written to /workspace/builds/worker-3/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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stdout] 45e74e56abc46abd6c06c09790816434beef40f37e1e96b1bf2df6058dc65d68 [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" "45e74e56abc46abd6c06c09790816434beef40f37e1e96b1bf2df6058dc65d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45e74e56abc46abd6c06c09790816434beef40f37e1e96b1bf2df6058dc65d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45e74e56abc46abd6c06c09790816434beef40f37e1e96b1bf2df6058dc65d68", kill_on_drop: false }` [INFO] [stdout] 45e74e56abc46abd6c06c09790816434beef40f37e1e96b1bf2df6058dc65d68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] c5a04fc11e9500b469c506af14d2145c53b366d623056ec6e58054fcde7a7a24 [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" "c5a04fc11e9500b469c506af14d2145c53b366d623056ec6e58054fcde7a7a24", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking aws_sig_verify v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/unittest.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(e) => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 93 | | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | | stringify!($expected), [INFO] [stdout] 95 | | e [INFO] [stdout] 96 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 155 | let e = expect_err!( [INFO] [stdout] | _____________- [INFO] [stdout] 156 | | canonicalize_uri_path(&"hello/world"), [INFO] [stdout] 157 | | ErrorKind::InvalidURIPath [INFO] [stdout] 158 | | ); [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] 92 | Ok(e) => panic!( [INFO] [stdout] 93 | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | stringify!($expected), [INFO] [stdout] 95 | e [INFO] [stdout] 96 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/unittest.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(e) => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 93 | | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | | stringify!($expected), [INFO] [stdout] 95 | | e [INFO] [stdout] 96 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 161 | / expect_err!( [INFO] [stdout] 162 | | canonicalize_uri_path(&"/hello/../../world"), [INFO] [stdout] 163 | | ErrorKind::InvalidURIPath [INFO] [stdout] 164 | | ); [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] 92 | Ok(e) => panic!( [INFO] [stdout] 93 | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | stringify!($expected), [INFO] [stdout] 95 | e [INFO] [stdout] 96 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/unittest.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(e) => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 93 | | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | | stringify!($expected), [INFO] [stdout] 95 | | e [INFO] [stdout] 96 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 204 | let e = expect_err!( [INFO] [stdout] | _____________- [INFO] [stdout] 205 | | normalize_uri_path_component("abcd%yy"), [INFO] [stdout] 206 | | ErrorKind::InvalidURIPath [INFO] [stdout] 207 | | ); [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] 92 | Ok(e) => panic!( [INFO] [stdout] 93 | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | stringify!($expected), [INFO] [stdout] 95 | e [INFO] [stdout] 96 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/unittest.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(e) => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 93 | | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | | stringify!($expected), [INFO] [stdout] 95 | | e [INFO] [stdout] 96 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 210 | / expect_err!( [INFO] [stdout] 211 | | normalize_uri_path_component("abcd%yy"), [INFO] [stdout] 212 | | ErrorKind::InvalidURIPath [INFO] [stdout] 213 | | ); [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] 92 | Ok(e) => panic!( [INFO] [stdout] 93 | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | stringify!($expected), [INFO] [stdout] 95 | e [INFO] [stdout] 96 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/unittest.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(e) => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 93 | | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | | stringify!($expected), [INFO] [stdout] 95 | | e [INFO] [stdout] 96 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 215 | / expect_err!( [INFO] [stdout] 216 | | normalize_uri_path_component("abcd%0"), [INFO] [stdout] 217 | | ErrorKind::InvalidURIPath [INFO] [stdout] 218 | | ); [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] 92 | Ok(e) => panic!( [INFO] [stdout] 93 | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | stringify!($expected), [INFO] [stdout] 95 | e [INFO] [stdout] 96 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/unittest.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(e) => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 93 | | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | | stringify!($expected), [INFO] [stdout] 95 | | e [INFO] [stdout] 96 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 220 | / expect_err!( [INFO] [stdout] 221 | | normalize_uri_path_component("abcd%"), [INFO] [stdout] 222 | | ErrorKind::InvalidURIPath [INFO] [stdout] 223 | | ); [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] 92 | Ok(e) => panic!( [INFO] [stdout] 93 | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | stringify!($expected), [INFO] [stdout] 95 | e [INFO] [stdout] 96 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/unittest.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(e) => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 93 | | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | | stringify!($expected), [INFO] [stdout] 95 | | e [INFO] [stdout] 96 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 255 | let e = expect_err!( [INFO] [stdout] | _____________- [INFO] [stdout] 256 | | sig.get_authorization_header_parameters(&request), [INFO] [stdout] 257 | | ErrorKind::MultipleHeaderValues); [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] 92 | Ok(e) => panic!( [INFO] [stdout] 93 | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | stringify!($expected), [INFO] [stdout] 95 | e [INFO] [stdout] 96 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/unittest.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(e) => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 93 | | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | | stringify!($expected), [INFO] [stdout] 95 | | e [INFO] [stdout] 96 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 437 | let e = expect_err!( [INFO] [stdout] | _____________- [INFO] [stdout] 438 | | sig.get_request_signature(&request), [INFO] [stdout] 439 | | ErrorKind::MultipleParameterValues); [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] 92 | Ok(e) => panic!( [INFO] [stdout] 93 | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | stringify!($expected), [INFO] [stdout] 95 | e [INFO] [stdout] 96 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/unittest.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(e) => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 93 | | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | | stringify!($expected), [INFO] [stdout] 95 | | e [INFO] [stdout] 96 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 464 | / expect_err!( [INFO] [stdout] 465 | | sig.get_authorization_header_parameters(&request), [INFO] [stdout] 466 | | ErrorKind::MalformedHeader); [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] 92 | Ok(e) => panic!( [INFO] [stdout] 93 | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | stringify!($expected), [INFO] [stdout] 95 | e [INFO] [stdout] 96 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/unittest.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(e) => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 93 | | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | | stringify!($expected), [INFO] [stdout] 95 | | e [INFO] [stdout] 96 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 488 | / expect_err!( [INFO] [stdout] 489 | | sig.get_authorization_header_parameters(&request), [INFO] [stdout] 490 | | ErrorKind::MissingHeader); [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] 92 | Ok(e) => panic!( [INFO] [stdout] 93 | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | stringify!($expected), [INFO] [stdout] 95 | e [INFO] [stdout] 96 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/unittest.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(e) => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 93 | | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | | stringify!($expected), [INFO] [stdout] 95 | | e [INFO] [stdout] 96 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 515 | let e = expect_err!( [INFO] [stdout] | _____________- [INFO] [stdout] 516 | | sig.get_signed_headers(&request), [INFO] [stdout] 517 | | ErrorKind::MissingHeader); [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] 92 | Ok(e) => panic!( [INFO] [stdout] 93 | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | stringify!($expected), [INFO] [stdout] 95 | e [INFO] [stdout] 96 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/unittest.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(e) => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 93 | | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | | stringify!($expected), [INFO] [stdout] 95 | | e [INFO] [stdout] 96 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 542 | let e = expect_err!( [INFO] [stdout] | _____________- [INFO] [stdout] 543 | | sig.get_request_timestamp(&request), [INFO] [stdout] 544 | | ErrorKind::MalformedHeader); [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] 92 | Ok(e) => panic!( [INFO] [stdout] 93 | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | stringify!($expected), [INFO] [stdout] 95 | e [INFO] [stdout] 96 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/unittest.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(e) => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 93 | | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | | stringify!($expected), [INFO] [stdout] 95 | | e [INFO] [stdout] 96 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 566 | / expect_err!( [INFO] [stdout] 567 | | sig.get_request_timestamp(&request), [INFO] [stdout] 568 | | ErrorKind::MissingHeader); [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] 92 | Ok(e) => panic!( [INFO] [stdout] 93 | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | stringify!($expected), [INFO] [stdout] 95 | e [INFO] [stdout] 96 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/unittest.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | Ok(e) => panic!(format!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 93 | | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | | stringify!($expected), [INFO] [stdout] 95 | | e [INFO] [stdout] 96 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 582 | let e = expect_err!( [INFO] [stdout] | _____________- [INFO] [stdout] 583 | | sig.get_request_timestamp(&request), [INFO] [stdout] 584 | | ErrorKind::MalformedParameter); [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] 92 | Ok(e) => panic!( [INFO] [stdout] 93 | "Expected Err({}); got Ok({:?})", [INFO] [stdout] 94 | stringify!($expected), [INFO] [stdout] 95 | e [INFO] [stdout] 96 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.79s [INFO] running `Command { std: "docker" "inspect" "c5a04fc11e9500b469c506af14d2145c53b366d623056ec6e58054fcde7a7a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5a04fc11e9500b469c506af14d2145c53b366d623056ec6e58054fcde7a7a24", kill_on_drop: false }` [INFO] [stdout] c5a04fc11e9500b469c506af14d2145c53b366d623056ec6e58054fcde7a7a24