[INFO] cloning repository https://github.com/benstox/rust-signatures [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/benstox/rust-signatures" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenstox%2Frust-signatures", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenstox%2Frust-signatures'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3b29741895f13707dca40874f943c61be95ea30 [INFO] testing benstox/rust-signatures against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbenstox%2Frust-signatures" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/benstox/rust-signatures on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/benstox/rust-signatures [INFO] finished tweaking git repo https://github.com/benstox/rust-signatures [INFO] tweaked toml for git repo https://github.com/benstox/rust-signatures written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/benstox/rust-signatures already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2512913b1405d3cd60a152b1e064626b88b0ca2785b7d9ac5b1549b6d6abc0b1 [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" "2512913b1405d3cd60a152b1e064626b88b0ca2785b7d9ac5b1549b6d6abc0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2512913b1405d3cd60a152b1e064626b88b0ca2785b7d9ac5b1549b6d6abc0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2512913b1405d3cd60a152b1e064626b88b0ca2785b7d9ac5b1549b6d6abc0b1", kill_on_drop: false }` [INFO] [stdout] 2512913b1405d3cd60a152b1e064626b88b0ca2785b7d9ac5b1549b6d6abc0b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a88d4647f587d12bf9b2dcf3eaa2d0080fbcfc41d3f8ff6580925ad8f7558ba [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" "9a88d4647f587d12bf9b2dcf3eaa2d0080fbcfc41d3f8ff6580925ad8f7558ba", kill_on_drop: false }` [INFO] [stderr] Compiling rust-signatures v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.84s [INFO] running `Command { std: "docker" "inspect" "9a88d4647f587d12bf9b2dcf3eaa2d0080fbcfc41d3f8ff6580925ad8f7558ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a88d4647f587d12bf9b2dcf3eaa2d0080fbcfc41d3f8ff6580925ad8f7558ba", kill_on_drop: false }` [INFO] [stdout] 9a88d4647f587d12bf9b2dcf3eaa2d0080fbcfc41d3f8ff6580925ad8f7558ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60c65b856670c822a9c3fc809442838fca9dfe44e926e7e1378e26590ebd2098 [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" "60c65b856670c822a9c3fc809442838fca9dfe44e926e7e1378e26590ebd2098", kill_on_drop: false }` [INFO] [stderr] Compiling rust-signatures v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:272:41 [INFO] [stdout] | [INFO] [stdout] 272 | Err(result_error) => panic!(format!("{} Returned Err('{}').", error_msg, result_error)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 272 | Err(result_error) => panic!("{} Returned Err('{}').", error_msg, result_error), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:286:41 [INFO] [stdout] | [INFO] [stdout] 286 | Err(result_error) => panic!(format!("{} Returned Err('{}').", error_msg, result_error)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 286 | Err(result_error) => panic!("{} Returned Err('{}').", error_msg, result_error), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:301:41 [INFO] [stdout] | [INFO] [stdout] 301 | Err(result_error) => panic!(format!("{} Returned Err('{}').", error_msg, result_error)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 301 | Err(result_error) => panic!("{} Returned Err('{}').", error_msg, result_error), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:313:24 [INFO] [stdout] | [INFO] [stdout] 313 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 314 | | "Should have errored because of insufficient arguments! Got Ok(({}, {})).", [INFO] [stdout] 315 | | first_number, [INFO] [stdout] 316 | | second_number, [INFO] [stdout] 317 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 313 | panic!( [INFO] [stdout] 314 | "Should have errored because of insufficient arguments! Got Ok(({}, {})).", [INFO] [stdout] 315 | first_number, [INFO] [stdout] 316 | second_number, [INFO] [stdout] 317 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:335:24 [INFO] [stdout] | [INFO] [stdout] 335 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 336 | | "Should have errored because the first arg is not a number! Got Ok(({}, {})).", [INFO] [stdout] 337 | | first_number, [INFO] [stdout] 338 | | second_number, [INFO] [stdout] 339 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 335 | panic!( [INFO] [stdout] 336 | "Should have errored because the first arg is not a number! Got Ok(({}, {})).", [INFO] [stdout] 337 | first_number, [INFO] [stdout] 338 | second_number, [INFO] [stdout] 339 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:357:24 [INFO] [stdout] | [INFO] [stdout] 357 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 358 | | "Should have errored because the second arg is not a number! Got Ok(({}, {})).", [INFO] [stdout] 359 | | first_number, [INFO] [stdout] 360 | | second_number, [INFO] [stdout] 361 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 357 | panic!( [INFO] [stdout] 358 | "Should have errored because the second arg is not a number! Got Ok(({}, {})).", [INFO] [stdout] 359 | first_number, [INFO] [stdout] 360 | second_number, [INFO] [stdout] 361 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:379:24 [INFO] [stdout] | [INFO] [stdout] 379 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 380 | | "Should have errored because the first arg is zero! Got Ok(({}, {})).", [INFO] [stdout] 381 | | first_number, [INFO] [stdout] 382 | | second_number, [INFO] [stdout] 383 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 379 | panic!( [INFO] [stdout] 380 | "Should have errored because the first arg is zero! Got Ok(({}, {})).", [INFO] [stdout] 381 | first_number, [INFO] [stdout] 382 | second_number, [INFO] [stdout] 383 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:401:24 [INFO] [stdout] | [INFO] [stdout] 401 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 402 | | "Should have errored because first arg > second arg! Got Ok(({}, {})).", [INFO] [stdout] 403 | | first_number, [INFO] [stdout] 404 | | second_number, [INFO] [stdout] 405 | | )); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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] 401 | panic!( [INFO] [stdout] 402 | "Should have errored because first arg > second arg! Got Ok(({}, {})).", [INFO] [stdout] 403 | first_number, [INFO] [stdout] 404 | second_number, [INFO] [stdout] 405 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.76s [INFO] running `Command { std: "docker" "inspect" "60c65b856670c822a9c3fc809442838fca9dfe44e926e7e1378e26590ebd2098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60c65b856670c822a9c3fc809442838fca9dfe44e926e7e1378e26590ebd2098", kill_on_drop: false }` [INFO] [stdout] 60c65b856670c822a9c3fc809442838fca9dfe44e926e7e1378e26590ebd2098 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 06f9582c1df21e4cdbfb3e8e074f48887e7575adefa0d54c7daaed24430ab66c [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" "06f9582c1df21e4cdbfb3e8e074f48887e7575adefa0d54c7daaed24430ab66c", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] running 9 tests [INFO] [stderr] --> src/lib.rs:272:41 [INFO] [stdout] test tests::test_document_info_new ... ok [INFO] [stderr] | [INFO] [stdout] test tests::test_get_signature_key ... ok [INFO] [stderr] 272 | Err(result_error) => panic!(format!("{} Returned Err('{}').", error_msg, result_error)), [INFO] [stdout] test tests::test_get_signatures ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] test tests::test_parse_args ... ok [INFO] [stderr] | [INFO] [stdout] test tests::test_parse_args_first_arg_not_number ... ok [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 272 | Err(result_error) => panic!("{} Returned Err('{}').", error_msg, result_error), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:286:41 [INFO] [stderr] | [INFO] [stderr] 286 | Err(result_error) => panic!(format!("{} Returned Err('{}').", error_msg, result_error)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 286 | Err(result_error) => panic!("{} Returned Err('{}').", error_msg, result_error), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:301:41 [INFO] [stderr] | [INFO] [stderr] 301 | Err(result_error) => panic!(format!("{} Returned Err('{}').", error_msg, result_error)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 301 | Err(result_error) => panic!("{} Returned Err('{}').", error_msg, result_error), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:313:24 [INFO] [stderr] | [INFO] [stderr] 313 | panic!(format!( [INFO] [stderr] | ________________________^ [INFO] [stderr] 314 | | "Should have errored because of insufficient arguments! Got Ok(({}, {})).", [INFO] [stderr] 315 | | first_number, [INFO] [stderr] 316 | | second_number, [INFO] [stderr] 317 | | )); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 313 | panic!( [INFO] [stderr] 314 | "Should have errored because of insufficient arguments! Got Ok(({}, {})).", [INFO] [stderr] 315 | first_number, [INFO] [stderr] 316 | second_number, [INFO] [stderr] 317 | ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:335:24 [INFO] [stderr] | [INFO] [stderr] 335 | panic!(format!( [INFO] [stderr] | ________________________^ [INFO] [stderr] 336 | | "Should have errored because the first arg is not a number! Got Ok(({}, {})).", [INFO] [stderr] 337 | | first_number, [INFO] [stderr] 338 | | second_number, [INFO] [stderr] 339 | | )); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 335 | panic!( [INFO] [stderr] 336 | "Should have errored because the first arg is not a number! Got Ok(({}, {})).", [INFO] [stderr] 337 | first_number, [INFO] [stderr] 338 | second_number, [INFO] [stderr] 339 | ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:357:24 [INFO] [stderr] | [INFO] [stderr] 357 | panic!(format!( [INFO] [stderr] | ________________________^ [INFO] [stderr] 358 | | "Should have errored because the second arg is not a number! Got Ok(({}, {})).", [INFO] [stderr] 359 | | first_number, [INFO] [stderr] 360 | | second_number, [INFO] [stderr] 361 | | )); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 357 | panic!( [INFO] [stderr] 358 | "Should have errored because the second arg is not a number! Got Ok(({}, {})).", [INFO] [stderr] 359 | first_number, [INFO] [stderr] 360 | second_number, [INFO] [stderr] 361 | ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:379:24 [INFO] [stderr] | [INFO] [stderr] 379 | panic!(format!( [INFO] [stderr] | ________________________^ [INFO] [stderr] 380 | | "Should have errored because the first arg is zero! Got Ok(({}, {})).", [INFO] [stderr] 381 | | first_number, [INFO] [stderr] 382 | | second_number, [INFO] [stderr] 383 | | )); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 379 | panic!( [INFO] [stderr] 380 | "Should have errored because the first arg is zero! Got Ok(({}, {})).", [INFO] [stderr] 381 | first_number, [INFO] [stderr] 382 | second_number, [INFO] [stderr] 383 | ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:401:24 [INFO] [stderr] | [INFO] [stderr] 401 | panic!(format!( [INFO] [stderr] | ________________________^ [INFO] [stderr] 402 | | "Should have errored because first arg > second arg! Got Ok(({}, {})).", [INFO] [stderr] 403 | | first_number, [INFO] [stderr] 404 | | second_number, [INFO] [stderr] 405 | | )); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 401 | panic!( [INFO] [stderr] 402 | "Should have errored because first arg > second arg! Got Ok(({}, {})).", [INFO] [stderr] 403 | first_number, [INFO] [stderr] 404 | second_number, [INFO] [stderr] 405 | ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_signatures-68cf8449e889d711) [INFO] [stdout] test tests::test_parse_args_first_arg_zero ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_signatures-ce3078f49a6f996a) [INFO] [stdout] test tests::test_parse_args_insufficient_args ... ok [INFO] [stdout] test tests::test_parse_args_second_arg_not_number ... ok [INFO] [stdout] test tests::test_parse_args_second_arg_smaller ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rust-signatures [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "06f9582c1df21e4cdbfb3e8e074f48887e7575adefa0d54c7daaed24430ab66c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06f9582c1df21e4cdbfb3e8e074f48887e7575adefa0d54c7daaed24430ab66c", kill_on_drop: false }` [INFO] [stdout] 06f9582c1df21e4cdbfb3e8e074f48887e7575adefa0d54c7daaed24430ab66c