[INFO] fetching crate totp-auth 1.0.2... [INFO] testing totp-auth-1.0.2 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate totp-auth 1.0.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate totp-auth 1.0.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate totp-auth 1.0.2 [INFO] tweaked toml for crates.io crate totp-auth 1.0.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate totp-auth 1.0.2 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate totp-auth 1.0.2 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f5edaa65152e4c2a97414538e799fc12084b8fa4f4e021ec2895a532dfc6f0e [INFO] running `Command { std: "docker" "start" "-a" "4f5edaa65152e4c2a97414538e799fc12084b8fa4f4e021ec2895a532dfc6f0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f5edaa65152e4c2a97414538e799fc12084b8fa4f4e021ec2895a532dfc6f0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f5edaa65152e4c2a97414538e799fc12084b8fa4f4e021ec2895a532dfc6f0e", kill_on_drop: false }` [INFO] [stdout] 4f5edaa65152e4c2a97414538e799fc12084b8fa4f4e021ec2895a532dfc6f0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c649f82ae7840eaae9ac5148155e442a0ee00f62bde66d57f70994b1e11a116 [INFO] running `Command { std: "docker" "start" "-a" "9c649f82ae7840eaae9ac5148155e442a0ee00f62bde66d57f70994b1e11a116", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling totp-auth v1.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.55s [INFO] running `Command { std: "docker" "inspect" "9c649f82ae7840eaae9ac5148155e442a0ee00f62bde66d57f70994b1e11a116", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c649f82ae7840eaae9ac5148155e442a0ee00f62bde66d57f70994b1e11a116", kill_on_drop: false }` [INFO] [stdout] 9c649f82ae7840eaae9ac5148155e442a0ee00f62bde66d57f70994b1e11a116 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ec12d78eeb2ec0ee5953f7ebd9fb398c689ff15ce8c8d466410bce520c18858 [INFO] running `Command { std: "docker" "start" "-a" "7ec12d78eeb2ec0ee5953f7ebd9fb398c689ff15ce8c8d466410bce520c18858", kill_on_drop: false }` [INFO] [stderr] Compiling totp-auth v1.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "7ec12d78eeb2ec0ee5953f7ebd9fb398c689ff15ce8c8d466410bce520c18858", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ec12d78eeb2ec0ee5953f7ebd9fb398c689ff15ce8c8d466410bce520c18858", kill_on_drop: false }` [INFO] [stdout] 7ec12d78eeb2ec0ee5953f7ebd9fb398c689ff15ce8c8d466410bce520c18858 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1e6b4dd081beb192294ea694d06dcd29b1ba9b3b0413da6ccb96b0d1901076e2 [INFO] running `Command { std: "docker" "start" "-a" "1e6b4dd081beb192294ea694d06dcd29b1ba9b3b0413da6ccb96b0d1901076e2", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/totp-e87ff5db64682a3d) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests totp [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 4 tests [INFO] [stdout] test src/totp.rs - totp::verify_combined_token (line 84) ... FAILED [INFO] [stdout] test src/totp.rs - totp::generate_token (line 23) ... FAILED [INFO] [stdout] test src/totp.rs - totp::generate_combined_token (line 54) ... FAILED [INFO] [stdout] test src/totp.rs - totp::current_unix_time (line 133) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/totp.rs - totp::verify_combined_token (line 84) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `current_unix_time` in this scope [INFO] [stdout] --> src/totp.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | let now = current_unix_time(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 84 + use totp::current_unix_time; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_combined_token` in this scope [INFO] [stdout] --> src/totp.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let token = generate_combined_token(seeds, now, 30); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 84 + use totp::generate_combined_token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `verify_combined_token` in this scope [INFO] [stdout] --> src/totp.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | assert!(verify_combined_token(seeds, now, &token, 30, 1, "s")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 84 + use totp::verify_combined_token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/totp.rs - totp::generate_token (line 23) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `generate_token` in this scope [INFO] [stdout] --> src/totp.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let token = generate_token("secret", 1700000000, 30); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/totp.rs - totp::generate_combined_token (line 54) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `generate_combined_token` in this scope [INFO] [stdout] --> src/totp.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let token = generate_combined_token(seeds, 1700000000, 30); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 54 + use totp::generate_combined_token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/totp.rs - totp::current_unix_time (line 133) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `current_unix_time` in this scope [INFO] [stdout] --> src/totp.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 134 | let now = current_unix_time(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 133 + use totp::current_unix_time; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/totp.rs - totp::current_unix_time (line 133) [INFO] [stdout] src/totp.rs - totp::generate_combined_token (line 54) [INFO] [stdout] src/totp.rs - totp::generate_token (line 23) [INFO] [stdout] src/totp.rs - totp::verify_combined_token (line 84) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.35s; merged doctests compilation took 0.11s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1e6b4dd081beb192294ea694d06dcd29b1ba9b3b0413da6ccb96b0d1901076e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e6b4dd081beb192294ea694d06dcd29b1ba9b3b0413da6ccb96b0d1901076e2", kill_on_drop: false }` [INFO] [stdout] 1e6b4dd081beb192294ea694d06dcd29b1ba9b3b0413da6ccb96b0d1901076e2