[INFO] cloning repository https://github.com/ryansereno/rust-TOTP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryansereno/rust-TOTP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryansereno%2Frust-TOTP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryansereno%2Frust-TOTP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24eaed529360e95c40e322ae976cef8b5aa13297 [INFO] checking ryansereno/rust-TOTP against try#73ffebff6f34db7eb167bf9edcf2afa19c3073e9 for pr-147841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryansereno%2Frust-TOTP" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ryansereno/rust-TOTP [INFO] finished tweaking git repo https://github.com/ryansereno/rust-TOTP [INFO] tweaked toml for git repo https://github.com/ryansereno/rust-TOTP written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ryansereno/rust-TOTP on toolchain 73ffebff6f34db7eb167bf9edcf2afa19c3073e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ryansereno/rust-TOTP 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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae8465353854a4edd1f52bc61a05571a37fa9e2c6a4b6667bbc8074b419a12b0 [INFO] running `Command { std: "docker" "start" "-a" "ae8465353854a4edd1f52bc61a05571a37fa9e2c6a4b6667bbc8074b419a12b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae8465353854a4edd1f52bc61a05571a37fa9e2c6a4b6667bbc8074b419a12b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae8465353854a4edd1f52bc61a05571a37fa9e2c6a4b6667bbc8074b419a12b0", kill_on_drop: false }` [INFO] [stdout] ae8465353854a4edd1f52bc61a05571a37fa9e2c6a4b6667bbc8074b419a12b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a649f6e8477f998e4ccdf91aac78da59db689ac7de7ffd8e8e8619329d531ce1 [INFO] running `Command { std: "docker" "start" "-a" "a649f6e8477f998e4ccdf91aac78da59db689ac7de7ffd8e8e8619329d531ce1", kill_on_drop: false }` [INFO] [stderr] Checking sha1 v0.2.0 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking hmac-sha1 v0.1.3 [INFO] [stderr] Checking rust-totp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `encode` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use base32::{encode, decode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `encode` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use base32::{encode, decode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let decoded_key = decode(key.trim().to_uppercase().as_bytes()) [INFO] [stdout] | ^^^^^^-------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |expected `Alphabet`, found `&[u8]` [INFO] [stdout] | argument #2 of type `&str` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base32-0.4.0/src/lib.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn decode(alphabet: Alphabet, data: &str) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 20 - let decoded_key = decode(key.trim().to_uppercase().as_bytes()) [INFO] [stdout] 20 + let decoded_key = decode(/* Alphabet */, /* &str */) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | let decoded_key = decode(key.trim().to_uppercase().as_bytes()) [INFO] [stdout] | ^^^^^^-------------------------------------- [INFO] [stdout] | || [INFO] [stdout] | |expected `Alphabet`, found `&[u8]` [INFO] [stdout] | argument #2 of type `&str` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/base32-0.4.0/src/lib.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn decode(alphabet: Alphabet, data: &str) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 20 - let decoded_key = decode(key.trim().to_uppercase().as_bytes()) [INFO] [stdout] 20 + let decoded_key = decode(/* Alphabet */, /* &str */) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-totp` (bin "rust-totp" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-totp` (bin "rust-totp") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a649f6e8477f998e4ccdf91aac78da59db689ac7de7ffd8e8e8619329d531ce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a649f6e8477f998e4ccdf91aac78da59db689ac7de7ffd8e8e8619329d531ce1", kill_on_drop: false }` [INFO] [stdout] a649f6e8477f998e4ccdf91aac78da59db689ac7de7ffd8e8e8619329d531ce1