[INFO] cloning repository https://github.com/statsig-io/cloud-profiler-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/statsig-io/cloud-profiler-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstatsig-io%2Fcloud-profiler-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstatsig-io%2Fcloud-profiler-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa6c9b7cecd2defa3130a07dcba6086dd5de9703 [INFO] testing statsig-io/cloud-profiler-rust/aa6c9b7cecd2defa3130a07dcba6086dd5de9703 against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstatsig-io%2Fcloud-profiler-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/statsig-io/cloud-profiler-rust on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/statsig-io/cloud-profiler-rust [INFO] finished tweaking git repo https://github.com/statsig-io/cloud-profiler-rust [INFO] tweaked toml for git repo https://github.com/statsig-io/cloud-profiler-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/statsig-io/cloud-profiler-rust 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.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protobuf-codegen-pure v2.28.0 [INFO] [stderr] Downloaded yup-oauth2 v9.0.0 [INFO] [stderr] Downloaded google-cloud-auth v0.15.0 [INFO] [stderr] Downloaded pprof v0.13.0 [INFO] [stderr] Downloaded google-cloudprofiler2 v5.0.5+20240624 [INFO] [stderr] Downloaded symbolic-demangle v12.10.0 [INFO] [stderr] Downloaded google-cloud-metadata v0.5.0 [INFO] [stderr] Downloaded rustls-native-certs v0.7.1 [INFO] [stderr] Downloaded protobuf-codegen v2.28.0 [INFO] [stderr] Downloaded google-apis-common v6.0.4 [INFO] [stderr] Downloaded google-cloud-token v0.1.2 [INFO] [stderr] Downloaded symbolic-common v12.10.0 [INFO] [stderr] Downloaded hyper-rustls v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a3f19bb729ec2900e2cebbdff6511d8efa3f2606ee9ddbf57ecd08bc16156d0 [INFO] running `Command { std: "docker" "start" "-a" "4a3f19bb729ec2900e2cebbdff6511d8efa3f2606ee9ddbf57ecd08bc16156d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a3f19bb729ec2900e2cebbdff6511d8efa3f2606ee9ddbf57ecd08bc16156d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a3f19bb729ec2900e2cebbdff6511d8efa3f2606ee9ddbf57ecd08bc16156d0", kill_on_drop: false }` [INFO] [stdout] 4a3f19bb729ec2900e2cebbdff6511d8efa3f2606ee9ddbf57ecd08bc16156d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b935d9e413f9ae55dc388007afe84c7cfb19e58189248e12a57fcde53dd1af1 [INFO] running `Command { std: "docker" "start" "-a" "8b935d9e413f9ae55dc388007afe84c7cfb19e58189248e12a57fcde53dd1af1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rustls-native-certs v0.7.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling cpp_demangle v0.4.3 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling symbolic-demangle v12.10.0 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling symbolic-common v12.10.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling object v0.36.2 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling protobuf-codegen-pure v2.28.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling rustls-webpki v0.102.6 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tokio v1.39.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling google-cloud-token v0.1.2 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling pprof v0.13.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v3.9.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling google-cloud-metadata v0.5.0 [INFO] [stderr] Compiling google-cloud-auth v0.15.0 [INFO] [stderr] Compiling hyper-rustls v0.25.0 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling yup-oauth2 v9.0.0 [INFO] [stderr] Compiling google-apis-common v6.0.4 [INFO] [stderr] Compiling google-cloudprofiler2 v5.0.5+20240624 [INFO] [stderr] Compiling cloud_profiler_rust v1.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "8b935d9e413f9ae55dc388007afe84c7cfb19e58189248e12a57fcde53dd1af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b935d9e413f9ae55dc388007afe84c7cfb19e58189248e12a57fcde53dd1af1", kill_on_drop: false }` [INFO] [stdout] 8b935d9e413f9ae55dc388007afe84c7cfb19e58189248e12a57fcde53dd1af1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49c199b25a79147c04a6f5a12456480c59a50c3b58800b29f2a6762d5c334e82 [INFO] running `Command { std: "docker" "start" "-a" "49c199b25a79147c04a6f5a12456480c59a50c3b58800b29f2a6762d5c334e82", kill_on_drop: false }` [INFO] [stderr] Compiling cloud_profiler_rust v1.2.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.94s [INFO] running `Command { std: "docker" "inspect" "49c199b25a79147c04a6f5a12456480c59a50c3b58800b29f2a6762d5c334e82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49c199b25a79147c04a6f5a12456480c59a50c3b58800b29f2a6762d5c334e82", kill_on_drop: false }` [INFO] [stdout] 49c199b25a79147c04a6f5a12456480c59a50c3b58800b29f2a6762d5c334e82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 14b500338dd6c8edc81fe75f951e635a33f60054e388c5d35bdaa708ab7fd071 [INFO] running `Command { std: "docker" "start" "-a" "14b500338dd6c8edc81fe75f951e635a33f60054e388c5d35bdaa708ab7fd071", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cloud_profiler_rust-42aa7992349ee216) [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 cloud_profiler_rust [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - maybe_start_profiling (line 56) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - maybe_start_profiling (line 56) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `should_run_profiler` in this scope [INFO] [stdout] --> src/lib.rs:59:90 [INFO] [stdout] | [INFO] [stdout] 6 | cloud_profiler_rust::maybe_start_profiling("my-gcp-project-id", "my-service", "v1", || { should_run_profiler() }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 6 | cloud_profiler_rust::maybe_start_profiling("my-gcp-project-id", "my-service", "v1", || { should_run_profiler() }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --------------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | unexpected argument #3 of type `&'static str` [INFO] [stdout] | | unexpected argument #2 of type `&'static str` [INFO] [stdout] | three arguments of type `String`, `String`, and `String` are missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn maybe_start_profiling( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: did you mean [INFO] [stdout] | [INFO] [stdout] 6 | cloud_profiler_rust::maybe_start_profiling(/* String */, /* String */, /* String */, || { should_run_profiler() }, "my-gcp-project-id"); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0425. [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 - maybe_start_profiling (line 56) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "14b500338dd6c8edc81fe75f951e635a33f60054e388c5d35bdaa708ab7fd071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14b500338dd6c8edc81fe75f951e635a33f60054e388c5d35bdaa708ab7fd071", kill_on_drop: false }` [INFO] [stdout] 14b500338dd6c8edc81fe75f951e635a33f60054e388c5d35bdaa708ab7fd071