[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] 2362df576003121f4678a6af094462036632c650 [INFO] testing gzbakku/gcp-access-token against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgzbakku%2Fgcp-access-token" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gzbakku/gcp-access-token on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "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-2-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded reqwest v0.11.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90d2d58063a1081ff2b16dc32330695332fe774e1a443ab73a811fa8963b4f9c [INFO] running `Command { std: "docker" "start" "-a" "90d2d58063a1081ff2b16dc32330695332fe774e1a443ab73a811fa8963b4f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90d2d58063a1081ff2b16dc32330695332fe774e1a443ab73a811fa8963b4f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90d2d58063a1081ff2b16dc32330695332fe774e1a443ab73a811fa8963b4f9c", kill_on_drop: false }` [INFO] [stdout] 90d2d58063a1081ff2b16dc32330695332fe774e1a443ab73a811fa8963b4f9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66bd25f5f244924156d2d33a622635b3da52c798f48e69d0c8b472dcdd63e6c9 [INFO] running `Command { std: "docker" "start" "-a" "66bd25f5f244924156d2d33a622635b3da52c798f48e69d0c8b472dcdd63e6c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling urlencoding v2.1.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.4 [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.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.25s [INFO] running `Command { std: "docker" "inspect" "66bd25f5f244924156d2d33a622635b3da52c798f48e69d0c8b472dcdd63e6c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66bd25f5f244924156d2d33a622635b3da52c798f48e69d0c8b472dcdd63e6c9", kill_on_drop: false }` [INFO] [stdout] 66bd25f5f244924156d2d33a622635b3da52c798f48e69d0c8b472dcdd63e6c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 366272d2003749572caa1148c2b4881163ffe2b66bba98cc51d30f3da6ffdeb6 [INFO] running `Command { std: "docker" "start" "-a" "366272d2003749572caa1148c2b4881163ffe2b66bba98cc51d30f3da6ffdeb6", kill_on_drop: false }` [INFO] [stderr] Compiling gcp_access_token v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "366272d2003749572caa1148c2b4881163ffe2b66bba98cc51d30f3da6ffdeb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "366272d2003749572caa1148c2b4881163ffe2b66bba98cc51d30f3da6ffdeb6", kill_on_drop: false }` [INFO] [stdout] 366272d2003749572caa1148c2b4881163ffe2b66bba98cc51d30f3da6ffdeb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 464ee7f8281e37e7cfe282ce1df761ca04600a4321b311a658de4e3d0bb50d96 [INFO] running `Command { std: "docker" "start" "-a" "464ee7f8281e37e7cfe282ce1df761ca04600a4321b311a658de4e3d0bb50d96", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gcp_access_token-c768acd307a99f92) [INFO] [stdout] [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gcp_access_token-331e5f6a63c1a7cd) [INFO] [stdout] [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 gcp_access_token [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [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:7:5 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#gcp_access_token; [INFO] [stdout] | -------------------------------- previous import of the extern crate `gcp_access_token` here [INFO] [stdout] 4 | 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:12:11 [INFO] [stdout] | [INFO] [stdout] 9 | match gcp_access_token::generator::init("./credentials.json".to_string()).await{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------------- argument #2 of type `std::string::String` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/generator.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn init(file_path:String,scope:String)->Result{ [INFO] [stdout] | ^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 9 | match gcp_access_token::generator::init("./credentials.json".to_string(), /* std::string::String */).await{ [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.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "464ee7f8281e37e7cfe282ce1df761ca04600a4321b311a658de4e3d0bb50d96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "464ee7f8281e37e7cfe282ce1df761ca04600a4321b311a658de4e3d0bb50d96", kill_on_drop: false }` [INFO] [stdout] 464ee7f8281e37e7cfe282ce1df761ca04600a4321b311a658de4e3d0bb50d96