[INFO] fetching crate cloud_profiler_rust 1.2.3... [INFO] testing cloud_profiler_rust-1.2.3 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] extracting crate cloud_profiler_rust 1.2.3 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate cloud_profiler_rust 1.2.3 [INFO] finished tweaking crates.io crate cloud_profiler_rust 1.2.3 [INFO] tweaked toml for crates.io crate cloud_profiler_rust 1.2.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cloud_profiler_rust 1.2.3 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 280 packages to latest compatible versions [INFO] [stderr] Adding google-cloud-auth v0.15.0 (available: v1.0.0) [INFO] [stderr] Adding google-cloudprofiler2 v5.0.5+20240624 (available: v6.0.0+20240624) [INFO] [stderr] Adding hyper-rustls v0.23.2 (available: v0.27.7) [INFO] [stderr] Adding pprof v0.14.1 (available: v0.15.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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 protobuf-codegen v2.28.0 [INFO] [stderr] Downloaded protobuf-codegen-pure v2.28.0 [INFO] [stderr] Downloaded google-cloud-token v0.1.2 [INFO] [stderr] Downloaded google-cloud-metadata v0.5.1 [INFO] [stderr] Downloaded google-cloud-auth v0.15.0 [INFO] [stderr] Downloaded hyper-rustls v0.25.0 [INFO] [stderr] Downloaded yup-oauth2 v9.0.0 [INFO] [stderr] Downloaded google-apis-common v6.0.4 [INFO] [stderr] Downloaded cpp_demangle v0.4.4 [INFO] [stderr] Downloaded pprof v0.14.1 [INFO] [stderr] Downloaded memmap2 v0.9.8 [INFO] [stderr] Downloaded symbolic-common v12.16.2 [INFO] [stderr] Downloaded symbolic-demangle v12.16.2 [INFO] [stderr] Downloaded google-cloudprofiler2 v5.0.5+20240624 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a34a3f044891783b3cb5757b3b879656720e103010d9d92b0e50293242363d1 [INFO] running `Command { std: "docker" "start" "-a" "4a34a3f044891783b3cb5757b3b879656720e103010d9d92b0e50293242363d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a34a3f044891783b3cb5757b3b879656720e103010d9d92b0e50293242363d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a34a3f044891783b3cb5757b3b879656720e103010d9d92b0e50293242363d1", kill_on_drop: false }` [INFO] [stdout] 4a34a3f044891783b3cb5757b3b879656720e103010d9d92b0e50293242363d1 [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=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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62ff7f98e978dbb3331c7332afd857734ba1d8a90c4ed72b55f9fbd59a3d7eaf [INFO] running `Command { std: "docker" "start" "-a" "62ff7f98e978dbb3331c7332afd857734ba1d8a90c4ed72b55f9fbd59a3d7eaf", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling protobuf-codegen-pure v2.28.0 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling symbolic-demangle v12.16.2 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling symbolic-common v12.16.2 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling pprof v0.14.1 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling hyper-rustls v0.25.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling yup-oauth2 v9.0.0 [INFO] [stderr] Compiling pem v3.0.5 [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 tokio-rustls v0.23.4 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling google-apis-common v6.0.4 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling google-cloud-metadata v0.5.1 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling google-cloud-token v0.1.2 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling google-cloud-auth v0.15.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling google-cloudprofiler2 v5.0.5+20240624 [INFO] [stderr] Compiling cloud_profiler_rust v1.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 27s [INFO] running `Command { std: "docker" "inspect" "62ff7f98e978dbb3331c7332afd857734ba1d8a90c4ed72b55f9fbd59a3d7eaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62ff7f98e978dbb3331c7332afd857734ba1d8a90c4ed72b55f9fbd59a3d7eaf", kill_on_drop: false }` [INFO] [stdout] 62ff7f98e978dbb3331c7332afd857734ba1d8a90c4ed72b55f9fbd59a3d7eaf [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=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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55b4836e9f2fcb47e0d8d158ffc9436d3fea46fb19f1ee0ed9501f080759348c [INFO] running `Command { std: "docker" "start" "-a" "55b4836e9f2fcb47e0d8d158ffc9436d3fea46fb19f1ee0ed9501f080759348c", kill_on_drop: false }` [INFO] [stderr] Compiling cloud_profiler_rust v1.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.39s [INFO] running `Command { std: "docker" "inspect" "55b4836e9f2fcb47e0d8d158ffc9436d3fea46fb19f1ee0ed9501f080759348c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55b4836e9f2fcb47e0d8d158ffc9436d3fea46fb19f1ee0ed9501f080759348c", kill_on_drop: false }` [INFO] [stdout] 55b4836e9f2fcb47e0d8d158ffc9436d3fea46fb19f1ee0ed9501f080759348c [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=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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cafc37f9850f0c7c5d8f644e6d26f81fb9e0a76fe78197d1915b447ce4a90ae3 [INFO] running `Command { std: "docker" "start" "-a" "cafc37f9850f0c7c5d8f644e6d26f81fb9e0a76fe78197d1915b447ce4a90ae3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cloud_profiler_rust-41c6e138316b5bb4) [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("my-gcp-project-id", "my-service", "v1", || { should_run_profiler() }); [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.39s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cafc37f9850f0c7c5d8f644e6d26f81fb9e0a76fe78197d1915b447ce4a90ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cafc37f9850f0c7c5d8f644e6d26f81fb9e0a76fe78197d1915b447ce4a90ae3", kill_on_drop: false }` [INFO] [stdout] cafc37f9850f0c7c5d8f644e6d26f81fb9e0a76fe78197d1915b447ce4a90ae3