[INFO] cloning repository https://github.com/msedgren/totp-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/msedgren/totp-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsedgren%2Ftotp-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsedgren%2Ftotp-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a2be3817cb1bbadc7bc662d5c2fb9c558075629 [INFO] checking msedgren/totp-tool against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmsedgren%2Ftotp-tool" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/msedgren/totp-tool on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/msedgren/totp-tool [INFO] finished tweaking git repo https://github.com/msedgren/totp-tool [INFO] tweaked toml for git repo https://github.com/msedgren/totp-tool written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/msedgren/totp-tool already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d8e0512fa35a8fcfdd4b0a2d0a1082ec2951774b17a68c04fb43c14fdd70eec6 [INFO] running `Command { std: "docker" "start" "-a" "d8e0512fa35a8fcfdd4b0a2d0a1082ec2951774b17a68c04fb43c14fdd70eec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8e0512fa35a8fcfdd4b0a2d0a1082ec2951774b17a68c04fb43c14fdd70eec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8e0512fa35a8fcfdd4b0a2d0a1082ec2951774b17a68c04fb43c14fdd70eec6", kill_on_drop: false }` [INFO] [stdout] d8e0512fa35a8fcfdd4b0a2d0a1082ec2951774b17a68c04fb43c14fdd70eec6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d6c3ccc1b342bd2858b16e643ea9e7b5b6b67a6d51ad5476c93c2d614158904c [INFO] running `Command { std: "docker" "start" "-a" "d6c3ccc1b342bd2858b16e643ea9e7b5b6b67a6d51ad5476c93c2d614158904c", 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking totp-tool v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: can't compare `&str` with `Result` [INFO] [stdout] --> src/lib.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | assert_eq!("94287082", totp::calculate_totp_value(&secret, &t, 8)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `&str == Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `&str` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `Vec<{integer}>` with `Result, String>` [INFO] [stdout] --> src/lib.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(vec!(52, 33), totp::hex::hex_to_bytes("3421")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Vec<{integer}> == Result, String>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq, String>>` is not implemented for `Vec<{integer}>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `Vec<{integer}>` with `Result, String>` [INFO] [stdout] --> src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(vec!(4, 33), totp::hex::hex_to_bytes("0421")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `Vec<{integer}> == Result, String>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq, String>>` is not implemented for `Vec<{integer}>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `totp-tool` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d6c3ccc1b342bd2858b16e643ea9e7b5b6b67a6d51ad5476c93c2d614158904c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c3ccc1b342bd2858b16e643ea9e7b5b6b67a6d51ad5476c93c2d614158904c", kill_on_drop: false }` [INFO] [stdout] d6c3ccc1b342bd2858b16e643ea9e7b5b6b67a6d51ad5476c93c2d614158904c