[INFO] fetching crate bcrypt-wasm 0.7.0... [INFO] testing bcrypt-wasm-0.7.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate bcrypt-wasm 0.7.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate bcrypt-wasm 0.7.0 [INFO] finished tweaking crates.io crate bcrypt-wasm 0.7.0 [INFO] tweaked toml for crates.io crate bcrypt-wasm 0.7.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bcrypt-wasm 0.7.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bcrypt-wasm 0.7.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38f8f22ed0aedd78a144488bc63da20cbccb011664a3e24c4130fd3df90a81af [INFO] running `Command { std: "docker" "start" "-a" "38f8f22ed0aedd78a144488bc63da20cbccb011664a3e24c4130fd3df90a81af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38f8f22ed0aedd78a144488bc63da20cbccb011664a3e24c4130fd3df90a81af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38f8f22ed0aedd78a144488bc63da20cbccb011664a3e24c4130fd3df90a81af", kill_on_drop: false }` [INFO] [stdout] 38f8f22ed0aedd78a144488bc63da20cbccb011664a3e24c4130fd3df90a81af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2c5729cefe799fcdf245afbe35a17d638744b27f7ce8df3e4fcd1f86467cac8 [INFO] running `Command { std: "docker" "start" "-a" "b2c5729cefe799fcdf245afbe35a17d638744b27f7ce8df3e4fcd1f86467cac8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling blowfish v0.4.0 [INFO] [stderr] Compiling bcrypt-wasm v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.83s [INFO] running `Command { std: "docker" "inspect" "b2c5729cefe799fcdf245afbe35a17d638744b27f7ce8df3e4fcd1f86467cac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2c5729cefe799fcdf245afbe35a17d638744b27f7ce8df3e4fcd1f86467cac8", kill_on_drop: false }` [INFO] [stdout] b2c5729cefe799fcdf245afbe35a17d638744b27f7ce8df3e4fcd1f86467cac8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 741d2f748d47a60f8f7955b82c17be593d6c61029f63e526dd3a43b6a47b2b97 [INFO] running `Command { std: "docker" "start" "-a" "741d2f748d47a60f8f7955b82c17be593d6c61029f63e526dd3a43b6a47b2b97", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Compiling bcrypt-wasm v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:324:33 [INFO] [stdout] | [INFO] [stdout] 324 | Ok(_) => panic!(format!( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 325 | | "NULL bytes must be forbidden, but {:?} is allowed.", [INFO] [stdout] 326 | | password [INFO] [stdout] 327 | | )), [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] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 324 ~ Ok(_) => panic!( [INFO] [stdout] 325 | "NULL bytes must be forbidden, but {:?} is allowed.", [INFO] [stdout] 326 | password [INFO] [stdout] 327 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:329:34 [INFO] [stdout] | [INFO] [stdout] 329 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 330 | | "NULL bytes are forbidden but error differs: {} for {:?}.", [INFO] [stdout] 331 | | e, password [INFO] [stdout] 332 | | )), [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] 329 ~ Err(e) => panic!( [INFO] [stdout] 330 | "NULL bytes are forbidden but error differs: {} for {:?}.", [INFO] [stdout] 331 | e, password [INFO] [stdout] 332 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.67s [INFO] running `Command { std: "docker" "inspect" "741d2f748d47a60f8f7955b82c17be593d6c61029f63e526dd3a43b6a47b2b97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "741d2f748d47a60f8f7955b82c17be593d6c61029f63e526dd3a43b6a47b2b97", kill_on_drop: false }` [INFO] [stdout] 741d2f748d47a60f8f7955b82c17be593d6c61029f63e526dd3a43b6a47b2b97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9fca293c30f991246725b44d81447bdc91c18c4f02f3b2486b2a03094e075709 [INFO] running `Command { std: "docker" "start" "-a" "9fca293c30f991246725b44d81447bdc91c18c4f02f3b2486b2a03094e075709", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:324:33 [INFO] [stderr] | [INFO] [stderr] 324 | Ok(_) => panic!(format!( [INFO] [stderr] | _________________________________^ [INFO] [stderr] 325 | | "NULL bytes must be forbidden, but {:?} is allowed.", [INFO] [stderr] 326 | | password [INFO] [stderr] 327 | | )), [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] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 324 ~ Ok(_) => panic!( [INFO] [stderr] 325 | "NULL bytes must be forbidden, but {:?} is allowed.", [INFO] [stderr] 326 | password [INFO] [stderr] 327 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:329:34 [INFO] [stderr] | [INFO] [stderr] 329 | Err(e) => panic!(format!( [INFO] [stderr] | __________________________________^ [INFO] [stderr] 330 | | "NULL bytes are forbidden but error differs: {} for {:?}.", [INFO] [stderr] 331 | | e, password [INFO] [stderr] 332 | | )), [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] 329 ~ Err(e) => panic!( [INFO] [stderr] 330 | "NULL bytes are forbidden but error differs: {} for {:?}.", [INFO] [stderr] 331 | e, password [INFO] [stderr] 332 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `bcrypt-wasm` (lib test) generated 2 warnings (run `cargo fix --lib -p bcrypt-wasm --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bcrypt_wasm-5d70a1534e0ba905) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test b64::tests::can_encode_to_bcrypt_base64 ... ok [INFO] [stdout] test tests::can_split_hash ... ok [INFO] [stdout] test tests::can_output_cost_and_salt_from_parsed_hash ... ok [INFO] [stdout] test tests::errors_with_non_number_cost ... ok [INFO] [stdout] test tests::a_wrong_password_is_false ... ok [INFO] [stdout] test b64::tests::can_decode_bcrypt_base64 ... ok [INFO] [stdout] test b64::tests::decode_errors_with_unknown_char ... ok [INFO] [stdout] test tests::errors_with_invalid_hash ... ok [INFO] [stdout] test tests::returns_an_error_if_a_parsed_hash_is_baddly_formated ... ok [INFO] [stdout] test tests::errors_with_a_hash_too_long ... ok [INFO] [stdout] test tests::forbid_null_bytes ... ok [INFO] [stdout] test tests::can_verify_hash_generated_from_some_online_tool ... ok [INFO] [stdout] test tests::long_passwords_truncate_correctly ... ok [INFO] [stdout] test tests::can_verify_hash_generated_from_python ... ok [INFO] [stdout] test tests::can_verify_hash_generated_from_node ... ok [INFO] [stdout] test tests::can_verify_own_generated ... ok [INFO] [stdout] test tests::hash_with_fixed_salt ... ok [INFO] [stdout] test tests::doesnt_verify_different_passwords ... ok [INFO] [stdout] test tests::can_verify_arbitrary_own_generated ... ok [INFO] [stdout] test tests::generate_versions ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.29s [INFO] [stdout] [INFO] [stderr] Doc-tests bcrypt_wasm [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" "9fca293c30f991246725b44d81447bdc91c18c4f02f3b2486b2a03094e075709", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fca293c30f991246725b44d81447bdc91c18c4f02f3b2486b2a03094e075709", kill_on_drop: false }` [INFO] [stdout] 9fca293c30f991246725b44d81447bdc91c18c4f02f3b2486b2a03094e075709