[INFO] cloning repository https://github.com/gzbakku/gcp-access-token [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gzbakku/gcp-access-token" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgzbakku%2Fgcp-access-token", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgzbakku%2Fgcp-access-token'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e6c0b860105cf904518d3442285bbc246997430 [INFO] testing gzbakku/gcp-access-token against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgzbakku%2Fgcp-access-token" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gzbakku/gcp-access-token on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gzbakku/gcp-access-token [INFO] finished tweaking git repo https://github.com/gzbakku/gcp-access-token [INFO] tweaked toml for git repo https://github.com/gzbakku/gcp-access-token written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/gzbakku/gcp-access-token already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded urlencoding v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4008e75395f1492f52be9db323218d52ee5c7479be0adfce0d2c0105bab43935 [INFO] running `Command { std: "docker" "start" "-a" "4008e75395f1492f52be9db323218d52ee5c7479be0adfce0d2c0105bab43935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4008e75395f1492f52be9db323218d52ee5c7479be0adfce0d2c0105bab43935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4008e75395f1492f52be9db323218d52ee5c7479be0adfce0d2c0105bab43935", kill_on_drop: false }` [INFO] [stdout] 4008e75395f1492f52be9db323218d52ee5c7479be0adfce0d2c0105bab43935 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9f028d30fcdc3d5ddba49c3e754b9357be213e95a908b0052050c9015e761c6 [INFO] running `Command { std: "docker" "start" "-a" "d9f028d30fcdc3d5ddba49c3e754b9357be213e95a908b0052050c9015e761c6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling urlencoding v2.1.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.8 [INFO] [stderr] Compiling gcp_access_token v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.88s [INFO] running `Command { std: "docker" "inspect" "d9f028d30fcdc3d5ddba49c3e754b9357be213e95a908b0052050c9015e761c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9f028d30fcdc3d5ddba49c3e754b9357be213e95a908b0052050c9015e761c6", kill_on_drop: false }` [INFO] [stdout] d9f028d30fcdc3d5ddba49c3e754b9357be213e95a908b0052050c9015e761c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1912c33a47ae84b6ad93e53fcc1441684fdd84795e6d69083d08c57e272dec95 [INFO] running `Command { std: "docker" "start" "-a" "1912c33a47ae84b6ad93e53fcc1441684fdd84795e6d69083d08c57e272dec95", kill_on_drop: false }` [INFO] [stderr] Compiling gcp_access_token v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "1912c33a47ae84b6ad93e53fcc1441684fdd84795e6d69083d08c57e272dec95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1912c33a47ae84b6ad93e53fcc1441684fdd84795e6d69083d08c57e272dec95", kill_on_drop: false }` [INFO] [stdout] 1912c33a47ae84b6ad93e53fcc1441684fdd84795e6d69083d08c57e272dec95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e62ea8e678f9d4fb37b508cc72fe6ead932094292e0982068629fcff8fd9f670 [INFO] running `Command { std: "docker" "start" "-a" "e62ea8e678f9d4fb37b508cc72fe6ead932094292e0982068629fcff8fd9f670", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gcp_access_token-3098623f80dad62e) [INFO] [stdout] [INFO] [stderr] Doc-tests gcp_access_token [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error[E0254]: the name `gcp_access_token` is defined multiple times [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate r#gcp_access_token; [INFO] [stdout] | -------------------------------- previous import of the extern crate `gcp_access_token` here [INFO] [stdout] 3 | use gcp_access_token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `gcp_access_token` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `gcp_access_token` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 8 | match gcp_access_token::generator::init("./credentials.json".to_string()).await{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -------------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/generator.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn init(file_path:String,scope:String)->Result{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0254. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "e62ea8e678f9d4fb37b508cc72fe6ead932094292e0982068629fcff8fd9f670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e62ea8e678f9d4fb37b508cc72fe6ead932094292e0982068629fcff8fd9f670", kill_on_drop: false }` [INFO] [stdout] e62ea8e678f9d4fb37b508cc72fe6ead932094292e0982068629fcff8fd9f670