[INFO] fetching crate boringauth 0.9.0... [INFO] testing boringauth-0.9.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate boringauth 0.9.0 into /workspace/builds/worker-109/source [INFO] validating manifest of crates.io crate boringauth 0.9.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate boringauth 0.9.0 [INFO] finished tweaking crates.io crate boringauth 0.9.0 [INFO] tweaked toml for crates.io crate boringauth 0.9.0 written to /workspace/builds/worker-109/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 062bf70d6cd560e3813c50b2dca21c455b6c6a603cf755861ce05017bcf20d78 [INFO] running `Command { std: "docker" "start" "-a" "062bf70d6cd560e3813c50b2dca21c455b6c6a603cf755861ce05017bcf20d78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "062bf70d6cd560e3813c50b2dca21c455b6c6a603cf755861ce05017bcf20d78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "062bf70d6cd560e3813c50b2dca21c455b6c6a603cf755861ce05017bcf20d78", kill_on_drop: false }` [INFO] [stdout] 062bf70d6cd560e3813c50b2dca21c455b6c6a603cf755861ce05017bcf20d78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b451c71eb8331b492d6c73b7f514f6e52279a4e42292804b276df7385ea8c25e [INFO] running `Command { std: "docker" "start" "-a" "b451c71eb8331b492d6c73b7f514f6e52279a4e42292804b276df7385ea8c25e", kill_on_drop: false }` [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling boringauth v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/oath/hotp.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | Err(e) => panic!(e), [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 111 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 111 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/oath/totp.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | Err(e) => panic!(e), [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] help: add a "{:?}" format string to use the Debug implementation of `oath::ErrorCode` [INFO] [stdout] | [INFO] [stdout] 109 | Err(e) => panic!("{:?}", e), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 109 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/oath/totp.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | Err(e) => panic!(e), [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] help: add a "{:?}" format string to use the Debug implementation of `oath::ErrorCode` [INFO] [stdout] | [INFO] [stdout] 138 | Err(e) => panic!("{:?}", e), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 138 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pass/mod.rs:381:26 [INFO] [stdout] | [INFO] [stdout] 381 | Err(e) => panic!(e), [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] help: add a "{:?}" format string to use the Debug implementation of `pass::ErrorCode` [INFO] [stdout] | [INFO] [stdout] 381 | Err(e) => panic!("{:?}", e), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 381 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.14s [INFO] running `Command { std: "docker" "inspect" "b451c71eb8331b492d6c73b7f514f6e52279a4e42292804b276df7385ea8c25e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b451c71eb8331b492d6c73b7f514f6e52279a4e42292804b276df7385ea8c25e", kill_on_drop: false }` [INFO] [stdout] b451c71eb8331b492d6c73b7f514f6e52279a4e42292804b276df7385ea8c25e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7ce444c463f7020be1d4a2132dc8bf2afa5d63959b3207753208e72883ada3c [INFO] running `Command { std: "docker" "start" "-a" "c7ce444c463f7020be1d4a2132dc8bf2afa5d63959b3207753208e72883ada3c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling boringauth v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/oath/hotp.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | Err(e) => panic!(e), [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 111 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 111 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/oath/totp.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | Err(e) => panic!(e), [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] help: add a "{:?}" format string to use the Debug implementation of `oath::ErrorCode` [INFO] [stdout] | [INFO] [stdout] 109 | Err(e) => panic!("{:?}", e), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 109 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/oath/totp.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | Err(e) => panic!(e), [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] help: add a "{:?}" format string to use the Debug implementation of `oath::ErrorCode` [INFO] [stdout] | [INFO] [stdout] 138 | Err(e) => panic!("{:?}", e), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 138 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pass/mod.rs:381:26 [INFO] [stdout] | [INFO] [stdout] 381 | Err(e) => panic!(e), [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] help: add a "{:?}" format string to use the Debug implementation of `pass::ErrorCode` [INFO] [stdout] | [INFO] [stdout] 381 | Err(e) => panic!("{:?}", e), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 381 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stdout] --> src/oath/hotp.rs:751:42 [INFO] [stdout] | [INFO] [stdout] 751 | .hash_function(HashFunction::Sha1) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stdout] --> src/oath/hotp.rs:756:42 [INFO] [stdout] | [INFO] [stdout] 756 | .hash_function(HashFunction::Sha1) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stdout] --> src/oath/hotp.rs:762:42 [INFO] [stdout] | [INFO] [stdout] 762 | .hash_function(HashFunction::Sha1) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stdout] --> src/oath/hotp.rs:792:42 [INFO] [stdout] | [INFO] [stdout] 792 | .hash_function(HashFunction::Sha1) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stdout] --> src/oath/hotp.rs:831:42 [INFO] [stdout] | [INFO] [stdout] 831 | .hash_function(HashFunction::Sha1) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stdout] --> src/oath/totp.rs:722:32 [INFO] [stdout] | [INFO] [stdout] 722 | (59, HashFunction::Sha1, "94287082"), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stdout] --> src/oath/totp.rs:723:40 [INFO] [stdout] | [INFO] [stdout] 723 | (1111111109, HashFunction::Sha1, "07081804"), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stdout] --> src/oath/totp.rs:724:40 [INFO] [stdout] | [INFO] [stdout] 724 | (1111111111, HashFunction::Sha1, "14050471"), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stdout] --> src/oath/totp.rs:725:40 [INFO] [stdout] | [INFO] [stdout] 725 | (1234567890, HashFunction::Sha1, "89005924"), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stdout] --> src/oath/totp.rs:726:40 [INFO] [stdout] | [INFO] [stdout] 726 | (2000000000, HashFunction::Sha1, "69279037"), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stdout] --> src/oath/totp.rs:727:41 [INFO] [stdout] | [INFO] [stdout] 727 | (20000000000, HashFunction::Sha1, "65353130"), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/oath/hotp.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 111 | Err(e) => panic!(e), [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 111 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 111 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/oath/totp.rs:109:30 [INFO] [stdout] | [INFO] [stdout] 109 | Err(e) => panic!(e), [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] help: add a "{:?}" format string to use the Debug implementation of `oath::ErrorCode` [INFO] [stdout] | [INFO] [stdout] 109 | Err(e) => panic!("{:?}", e), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 109 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/oath/totp.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | Err(e) => panic!(e), [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] help: add a "{:?}" format string to use the Debug implementation of `oath::ErrorCode` [INFO] [stdout] | [INFO] [stdout] 138 | Err(e) => panic!("{:?}", e), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 138 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pass/mod.rs:381:26 [INFO] [stdout] | [INFO] [stdout] 381 | Err(e) => panic!(e), [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] help: add a "{:?}" format string to use the Debug implementation of `pass::ErrorCode` [INFO] [stdout] | [INFO] [stdout] 381 | Err(e) => panic!("{:?}", e), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 381 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pass/mod.rs:641:28 [INFO] [stdout] | [INFO] [stdout] 641 | panic!(e) [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] help: add a "{:?}" format string to use the Debug implementation of `pass::ErrorCode` [INFO] [stdout] | [INFO] [stdout] 641 | panic!("{:?}", e) [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 641 | std::panic::panic_any(e) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pass/mod.rs:672:28 [INFO] [stdout] | [INFO] [stdout] 672 | panic!(e) [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] help: add a "{:?}" format string to use the Debug implementation of `pass::ErrorCode` [INFO] [stdout] | [INFO] [stdout] 672 | panic!("{:?}", e) [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 672 | std::panic::panic_any(e) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/pass/mod.rs:750:34 [INFO] [stdout] | [INFO] [stdout] 750 | Err(e) => panic!(e), [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] help: add a "{:?}" format string to use the Debug implementation of `pass::ErrorCode` [INFO] [stdout] | [INFO] [stdout] 750 | Err(e) => panic!("{:?}", e), [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 750 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.16s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/boringauth-6c9d86144a63c1f8) [INFO] running `Command { std: "docker" "inspect" "c7ce444c463f7020be1d4a2132dc8bf2afa5d63959b3207753208e72883ada3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7ce444c463f7020be1d4a2132dc8bf2afa5d63959b3207753208e72883ada3c", kill_on_drop: false }` [INFO] [stdout] c7ce444c463f7020be1d4a2132dc8bf2afa5d63959b3207753208e72883ada3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-109/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 63f300d5b9fc90bd74dbc9ad579e392c956af8ae673ee3f6cf20562c36c90b1c [INFO] running `Command { std: "docker" "start" "-a" "63f300d5b9fc90bd74dbc9ad579e392c956af8ae673ee3f6cf20562c36c90b1c", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/oath/hotp.rs:111:30 [INFO] [stderr] | [INFO] [stderr] 111 | Err(e) => panic!(e), [INFO] [stderr] | ^ [INFO] [stderr] | [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] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 111 | Err(e) => panic!("{}", e), [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 111 | Err(e) => std::panic::panic_any(e), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/oath/totp.rs:109:30 [INFO] [stderr] | [INFO] [stderr] 109 | Err(e) => panic!(e), [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] help: add a "{:?}" format string to use the Debug implementation of `oath::ErrorCode` [INFO] [stderr] | [INFO] [stderr] 109 | Err(e) => panic!("{:?}", e), [INFO] [stderr] | +++++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 109 | Err(e) => std::panic::panic_any(e), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/oath/totp.rs:138:34 [INFO] [stderr] | [INFO] [stderr] 138 | Err(e) => panic!(e), [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] help: add a "{:?}" format string to use the Debug implementation of `oath::ErrorCode` [INFO] [stderr] | [INFO] [stderr] 138 | Err(e) => panic!("{:?}", e), [INFO] [stderr] | +++++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 138 | Err(e) => std::panic::panic_any(e), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/pass/mod.rs:381:26 [INFO] [stderr] | [INFO] [stderr] 381 | Err(e) => panic!(e), [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] help: add a "{:?}" format string to use the Debug implementation of `pass::ErrorCode` [INFO] [stderr] | [INFO] [stderr] 381 | Err(e) => panic!("{:?}", e), [INFO] [stderr] | +++++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 381 | Err(e) => std::panic::panic_any(e), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stderr] --> src/oath/hotp.rs:751:42 [INFO] [stderr] | [INFO] [stderr] 751 | .hash_function(HashFunction::Sha1) [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stderr] --> src/oath/hotp.rs:756:42 [INFO] [stderr] | [INFO] [stderr] 756 | .hash_function(HashFunction::Sha1) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stderr] --> src/oath/hotp.rs:762:42 [INFO] [stderr] | [INFO] [stderr] 762 | .hash_function(HashFunction::Sha1) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stderr] --> src/oath/hotp.rs:792:42 [INFO] [stderr] | [INFO] [stderr] 792 | .hash_function(HashFunction::Sha1) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stderr] --> src/oath/hotp.rs:831:42 [INFO] [stderr] | [INFO] [stderr] 831 | .hash_function(HashFunction::Sha1) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stderr] --> src/oath/totp.rs:722:32 [INFO] [stderr] | [INFO] [stderr] 722 | (59, HashFunction::Sha1, "94287082"), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stderr] --> src/oath/totp.rs:723:40 [INFO] [stderr] | [INFO] [stderr] 723 | (1111111109, HashFunction::Sha1, "07081804"), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stderr] --> src/oath/totp.rs:724:40 [INFO] [stderr] | [INFO] [stderr] 724 | (1111111111, HashFunction::Sha1, "14050471"), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stderr] --> src/oath/totp.rs:725:40 [INFO] [stderr] | [INFO] [stderr] 725 | (1234567890, HashFunction::Sha1, "89005924"), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stderr] --> src/oath/totp.rs:726:40 [INFO] [stderr] | [INFO] [stderr] 726 | (2000000000, HashFunction::Sha1, "69279037"), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `oath::HashFunction::Sha1` [INFO] [stderr] --> src/oath/totp.rs:727:41 [INFO] [stderr] | [INFO] [stderr] 727 | (20000000000, HashFunction::Sha1, "65353130"), [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/pass/mod.rs:641:28 [INFO] [stderr] | [INFO] [stderr] 641 | panic!(e) [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] help: add a "{:?}" format string to use the Debug implementation of `pass::ErrorCode` [INFO] [stderr] | [INFO] [stderr] 641 | panic!("{:?}", e) [INFO] [stderr] | +++++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 641 | std::panic::panic_any(e) [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/pass/mod.rs:672:28 [INFO] [stderr] | [INFO] [stderr] 672 | panic!(e) [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] help: add a "{:?}" format string to use the Debug implementation of `pass::ErrorCode` [INFO] [stderr] | [INFO] [stderr] 672 | panic!("{:?}", e) [INFO] [stderr] | +++++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 672 | std::panic::panic_any(e) [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/pass/mod.rs:750:34 [INFO] [stderr] | [INFO] [stderr] 750 | Err(e) => panic!(e), [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] help: add a "{:?}" format string to use the Debug implementation of `pass::ErrorCode` [INFO] [stderr] | [INFO] [stderr] 750 | Err(e) => panic!("{:?}", e), [INFO] [stderr] | +++++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 750 | Err(e) => std::panic::panic_any(e), [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: `boringauth` (lib) generated 4 warnings [INFO] [stderr] warning: `boringauth` (lib test) generated 18 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/boringauth-6c9d86144a63c1f8) [INFO] [stdout] [INFO] [stdout] running 70 tests [INFO] [stdout] test oath::hotp::tests::test_big_result_base10 ... ok [INFO] [stdout] test oath::hotp::tests::test_bad_code ... ok [INFO] [stdout] test oath::hotp::tests::test_hotp_base32key_full ... ok [INFO] [stdout] test oath::hotp::tests::test_big_result_base64 ... ok [INFO] [stdout] test oath::hotp::tests::test_hotp_key_simple ... ok [INFO] [stdout] test oath::hotp::tests::test_invalid_base32key ... ok [INFO] [stdout] test oath::hotp::tests::test_invalid_hexkey ... ok [INFO] [stdout] test oath::hotp::tests::test_invalid_output_base ... ok [INFO] [stdout] test oath::hotp::tests::test_invalid_sha1_code ... ok [INFO] [stdout] test oath::hotp::tests::test_hotp_hexkey_simple ... ok [INFO] [stdout] test oath::hotp::tests::test_invalid_sha512_code ... ok [INFO] [stdout] test oath::hotp::tests::test_valid_sha1_code ... ok [INFO] [stdout] test oath::hotp::tests::test_nokey ... ok [INFO] [stdout] test oath::hotp::tests::test_result_ok_base10 ... ok [INFO] [stdout] test oath::hotp::tests::test_valid_sha512_code ... ok [INFO] [stdout] test oath::hotp::tests::test_empty_output_base ... ok [INFO] [stdout] test oath::totp::tests::test_big_result_base10 ... ok [INFO] [stdout] test oath::hotp::tests::test_hotp_asciikey_full ... ok [INFO] [stdout] test oath::hotp::tests::test_hotp_base32key_simple ... ok [INFO] [stdout] test oath::hotp::tests::test_hotp_asciikey_simple ... ok [INFO] [stdout] test oath::hotp::tests::test_hotp_key_full ... ok [INFO] [stdout] test oath::hotp::tests::test_hotp_hexkey_full ... ok [INFO] [stdout] test oath::totp::tests::test_invalid_code ... ok [INFO] [stdout] test oath::hotp::tests::test_empty_code ... ok [INFO] [stdout] test oath::hotp::tests::test_invalid_sha256_code ... ok [INFO] [stdout] test oath::hotp::tests::test_small_result_base10 ... ok [INFO] [stdout] test oath::hotp::tests::test_small_result_base64 ... ok [INFO] [stdout] test oath::totp::tests::test_big_result_base64 ... ok [INFO] [stdout] test oath::totp::tests::test_empty_code ... ok [INFO] [stdout] test oath::hotp::tests::test_result_ok_base64 ... ok [INFO] [stdout] test oath::totp::tests::test_invalid_base32key ... ok [INFO] [stdout] test oath::totp::tests::test_invalid_hexkey ... ok [INFO] [stdout] test oath::totp::tests::test_bad_code ... ok [INFO] [stdout] test oath::totp::tests::test_negative_tolerance ... ok [INFO] [stdout] test oath::hotp::tests::test_rfc4226_examples ... ok [INFO] [stdout] test oath::hotp::tests::test_valid_sha256_code ... ok [INFO] [stdout] test oath::totp::tests::test_nokey ... ok [INFO] [stdout] test oath::totp::tests::test_rfc6238_examples_sha1 ... ok [INFO] [stdout] test oath::totp::tests::test_rfc6238_examples_sha256 ... ok [INFO] [stdout] test oath::totp::tests::test_result_ok_base10 ... ok [INFO] [stdout] test oath::totp::tests::test_result_ok_base64 ... ok [INFO] [stdout] test oath::totp::tests::test_positive_tolerance ... ok [INFO] [stdout] test oath::totp::tests::test_rfc6238_examples_sha512 ... ok [INFO] [stdout] test oath::totp::tests::test_small_result_base10 ... ok [INFO] [stdout] test oath::totp::tests::test_totp_asciikey_simple ... ok [INFO] [stdout] test oath::totp::tests::test_tolerance ... ok [INFO] [stdout] test oath::totp::tests::test_totp_asciikeu_full ... ok [INFO] [stdout] test oath::totp::tests::test_totp_base32key_full ... ok [INFO] [stdout] test oath::totp::tests::test_small_result_base64 ... ok [INFO] [stdout] test oath::totp::tests::test_totp_base32key_simple ... ok [INFO] [stdout] test oath::totp::tests::test_totp_keu_full ... ok [INFO] [stdout] test oath::totp::tests::test_totp_kexkey_simple ... ok [INFO] [stdout] test parser::hex::tests::test_invalid_size ... ok [INFO] [stdout] test parser::hex::tests::test_no_data ... ok [INFO] [stdout] test oath::totp::tests::test_valid_code ... ok [INFO] [stdout] test oath::totp::tests::test_totp_key_simple ... ok [INFO] [stdout] test parser::hex::tests::test_valid_data ... ok [INFO] [stdout] test oath::totp::tests::test_totp_hexkey_full ... ok [INFO] [stdout] test parser::hex::tests::test_invalid_data ... ok [INFO] [stdout] test pass::tests::test_short_password_deriv - should panic ... ok [INFO] [stdout] test pass::tests::test_empty_password_deriv - should panic ... ok [INFO] [stdout] test pass::tests::test_short_password_validation ... ok [INFO] [stdout] test pass::tests::test_empty_password_validation ... ok [INFO] [stdout] test pass::tests::test_format_without_salt ... ok [INFO] [stdout] test pass::tests::test_default_derivation ... ok [INFO] [stdout] test pass::tests::test_random_salt ... ok [INFO] [stdout] test pass::tests::test_password_with_null_byte ... ok [INFO] [stdout] test pass::tests::test_format_with_salt ... ok [INFO] [stdout] test pass::tests::test_utf8_passwords ... ok [INFO] [stdout] test pass::tests::test_algos ... ok [INFO] [stderr] Doc-tests boringauth [INFO] [stdout] [INFO] [stdout] test result: ok. 70 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 12.70s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test src/oath/hotp.rs - oath::hotp::HOTPBuilder (line 188) ... ok [INFO] [stdout] test src/oath/hotp.rs - oath::hotp::HOTP::generate (line 118) ... ok [INFO] [stdout] test src/oath/hotp.rs - oath::hotp::HOTPBuilder (line 196) ... ok [INFO] [stdout] test src/oath/hotp.rs - oath::hotp::HOTP::is_valid (line 156) ... ok [INFO] [stdout] test src/oath/totp.rs - oath::totp::TOTPBuilder (line 160) ... ok [INFO] [stdout] test src/oath/totp.rs - oath::totp::TOTPBuilder (line 168) ... ok [INFO] [stdout] test src/oath/hotp.rs - oath::hotp::HOTPBuilder (line 205) ... ok [INFO] [stdout] test src/oath/totp.rs - oath::totp::TOTP::generate (line 88) ... ok [INFO] [stdout] test src/oath/totp.rs - oath::totp::TOTP::is_valid (line 116) ... ok [INFO] [stdout] test src/oath/totp.rs - oath::totp::TOTPBuilder (line 176) ... ok [INFO] [stdout] test src/oath/totp.rs - oath::totp::TOTPBuilder (line 152) ... ok [INFO] [stdout] test src/oath/hotp.rs - oath::hotp::HOTPBuilder (line 214) ... ok [INFO] [stdout] test src/pass/mod.rs - pass::derive_password (line 354) ... ok [INFO] [stdout] test src/pass/mod.rs - pass::is_valid (line 397) ... ok [INFO] [stdout] test src/pass/mod.rs - pass (line 119) ... ok [INFO] [stdout] test src/pass/mod.rs - pass::is_valid (line 390) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "63f300d5b9fc90bd74dbc9ad579e392c956af8ae673ee3f6cf20562c36c90b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63f300d5b9fc90bd74dbc9ad579e392c956af8ae673ee3f6cf20562c36c90b1c", kill_on_drop: false }` [INFO] [stdout] 63f300d5b9fc90bd74dbc9ad579e392c956af8ae673ee3f6cf20562c36c90b1c