[INFO] fetching crate bcrypt-wasm 0.7.0... [INFO] testing bcrypt-wasm-0.7.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate bcrypt-wasm 0.7.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate bcrypt-wasm 0.7.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-15/source/Cargo.toml [INFO] crate crates.io crate bcrypt-wasm 0.7.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b1e73cb9740b158d00afe571cf5bdca880ec4f449cc188c4f6f1d22eaec09eb [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" "1b1e73cb9740b158d00afe571cf5bdca880ec4f449cc188c4f6f1d22eaec09eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b1e73cb9740b158d00afe571cf5bdca880ec4f449cc188c4f6f1d22eaec09eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b1e73cb9740b158d00afe571cf5bdca880ec4f449cc188c4f6f1d22eaec09eb", kill_on_drop: false }` [INFO] [stdout] 1b1e73cb9740b158d00afe571cf5bdca880ec4f449cc188c4f6f1d22eaec09eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 980dbce47523d9333fcbd213ff9a56cdc4d1bf63e24dacd19b3673af58f8742b [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" "980dbce47523d9333fcbd213ff9a56cdc4d1bf63e24dacd19b3673af58f8742b", 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 base64 v0.12.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling blowfish v0.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling bcrypt-wasm v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.89s [INFO] running `Command { std: "docker" "inspect" "980dbce47523d9333fcbd213ff9a56cdc4d1bf63e24dacd19b3673af58f8742b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "980dbce47523d9333fcbd213ff9a56cdc4d1bf63e24dacd19b3673af58f8742b", kill_on_drop: false }` [INFO] [stdout] 980dbce47523d9333fcbd213ff9a56cdc4d1bf63e24dacd19b3673af58f8742b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2f170ccf67c3182e5b0fd1f1e954d1fda3a526ac661d7eed934b27e24aa362f [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" "a2f170ccf67c3182e5b0fd1f1e954d1fda3a526ac661d7eed934b27e24aa362f", 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: `#[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] 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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.32s [INFO] running `Command { std: "docker" "inspect" "a2f170ccf67c3182e5b0fd1f1e954d1fda3a526ac661d7eed934b27e24aa362f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2f170ccf67c3182e5b0fd1f1e954d1fda3a526ac661d7eed934b27e24aa362f", kill_on_drop: false }` [INFO] [stdout] a2f170ccf67c3182e5b0fd1f1e954d1fda3a526ac661d7eed934b27e24aa362f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 89dc9d9e8df473665d954ed3ce7baf897b82022d92a6144bd9d3d35b1a99fe57 [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" "89dc9d9e8df473665d954ed3ce7baf897b82022d92a6144bd9d3d35b1a99fe57", 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: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [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] 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 is no longer accepted in Rust 2021 [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: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bcrypt_wasm-2b3d2441cc2dd15f) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test b64::tests::can_decode_bcrypt_base64 ... ok [INFO] [stdout] test tests::can_split_hash ... ok [INFO] [stdout] test tests::forbid_null_bytes ... ok [INFO] [stdout] test tests::errors_with_non_number_cost ... ok [INFO] [stdout] test b64::tests::decode_errors_with_unknown_char ... ok [INFO] [stdout] test b64::tests::can_encode_to_bcrypt_base64 ... ok [INFO] [stdout] test tests::can_verify_hash_generated_from_node ... 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::can_output_cost_and_salt_from_parsed_hash ... ok [INFO] [stdout] test tests::can_verify_hash_generated_from_some_online_tool ... ok [INFO] [stdout] test tests::a_wrong_password_is_false ... ok [INFO] [stdout] test tests::errors_with_invalid_hash ... ok [INFO] [stdout] test tests::can_verify_hash_generated_from_python ... ok [INFO] [stdout] test tests::hash_with_fixed_salt ... ok [INFO] [stdout] test tests::long_passwords_truncate_correctly ... ok [INFO] [stdout] test tests::can_verify_own_generated ... ok [INFO] [stdout] test tests::can_verify_arbitrary_own_generated ... ok [INFO] [stdout] test tests::doesnt_verify_different_passwords ... 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 6.78s [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" "89dc9d9e8df473665d954ed3ce7baf897b82022d92a6144bd9d3d35b1a99fe57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89dc9d9e8df473665d954ed3ce7baf897b82022d92a6144bd9d3d35b1a99fe57", kill_on_drop: false }` [INFO] [stdout] 89dc9d9e8df473665d954ed3ce7baf897b82022d92a6144bd9d3d35b1a99fe57