[INFO] cloning repository https://github.com/canmi21/totp-auth
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/canmi21/totp-auth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcanmi21%2Ftotp-auth", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcanmi21%2Ftotp-auth'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ddaa3026679f30db2614c1f479c94a7709a67304
[INFO] testing canmi21/totp-auth against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcanmi21%2Ftotp-auth" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/canmi21/totp-auth
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/canmi21/totp-auth
[INFO] tweaked toml for git repo https://github.com/canmi21/totp-auth written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/canmi21/totp-auth on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/canmi21/totp-auth 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3474b9c31fc4bc63ef95a557bd67253de866c81808fa7b162484b8f96f4c5e16
[INFO] running `Command { std: "docker" "start" "-a" "3474b9c31fc4bc63ef95a557bd67253de866c81808fa7b162484b8f96f4c5e16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3474b9c31fc4bc63ef95a557bd67253de866c81808fa7b162484b8f96f4c5e16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3474b9c31fc4bc63ef95a557bd67253de866c81808fa7b162484b8f96f4c5e16", kill_on_drop: false }`
[INFO] [stdout] 3474b9c31fc4bc63ef95a557bd67253de866c81808fa7b162484b8f96f4c5e16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ea6328920ff68a1a2d5e6c964e46a687068879f9031128191162a0002bfd213e
[INFO] running `Command { std: "docker" "start" "-a" "ea6328920ff68a1a2d5e6c964e46a687068879f9031128191162a0002bfd213e", kill_on_drop: false }`
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling typenum v1.19.0
[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 sha1 v0.10.6
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling totp-auth v1.0.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.79s
[INFO] running `Command { std: "docker" "inspect" "ea6328920ff68a1a2d5e6c964e46a687068879f9031128191162a0002bfd213e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea6328920ff68a1a2d5e6c964e46a687068879f9031128191162a0002bfd213e", kill_on_drop: false }`
[INFO] [stdout] ea6328920ff68a1a2d5e6c964e46a687068879f9031128191162a0002bfd213e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 951acc69cca0b91e9654795e87806d84145823dc1ef71ca5140655335209f688
[INFO] running `Command { std: "docker" "start" "-a" "951acc69cca0b91e9654795e87806d84145823dc1ef71ca5140655335209f688", 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.54s
[INFO] running `Command { std: "docker" "inspect" "951acc69cca0b91e9654795e87806d84145823dc1ef71ca5140655335209f688", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "951acc69cca0b91e9654795e87806d84145823dc1ef71ca5140655335209f688", kill_on_drop: false }`
[INFO] [stdout] 951acc69cca0b91e9654795e87806d84145823dc1ef71ca5140655335209f688
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3c779b080e9a102bf9736c5b2b93716d85784c81f0e1608f9f0cbd52cfb2d0fc
[INFO] running `Command { std: "docker" "start" "-a" "3c779b080e9a102bf9736c5b2b93716d85784c81f0e1608f9f0cbd52cfb2d0fc", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/totp-319f97f79eba4db3)
[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] [stderr]    Doc-tests totp
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/totp.rs - totp::generate_token (line 23) ... FAILED
[INFO] [stdout] test src/totp.rs - totp::verify_combined_token (line 84) ... FAILED
[INFO] [stdout] test src/totp.rs - totp::current_unix_time (line 133) ... FAILED
[INFO] [stdout] test src/totp.rs - totp::generate_combined_token (line 54) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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::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::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] ---- 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] 
[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.25s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.38s; merged doctests compilation took 0.13s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3c779b080e9a102bf9736c5b2b93716d85784c81f0e1608f9f0cbd52cfb2d0fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3c779b080e9a102bf9736c5b2b93716d85784c81f0e1608f9f0cbd52cfb2d0fc", kill_on_drop: false }`
[INFO] [stdout] 3c779b080e9a102bf9736c5b2b93716d85784c81f0e1608f9f0cbd52cfb2d0fc
