[INFO] fetching crate cloud_profiler_rust 1.2.3... [INFO] testing cloud_profiler_rust-1.2.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate cloud_profiler_rust 1.2.3 into /workspace/builds/worker-7-tc1/source [INFO] removed /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cloud_profiler_rust 1.2.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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 287 packages to latest compatible versions [INFO] [stderr] Adding google-cloud-auth v0.15.0 (available: v0.22.4) [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded google-cloud-auth v0.15.0 [INFO] [stderr] Downloaded pprof v0.14.1 [INFO] [stderr] Downloaded google-cloudprofiler2 v5.0.5+20240624 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90d2873ebe7405a4a95313d2b7ad7c67bdac56184274940ad0fb9d1d1263c139 [INFO] running `Command { std: "docker" "start" "-a" "90d2873ebe7405a4a95313d2b7ad7c67bdac56184274940ad0fb9d1d1263c139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90d2873ebe7405a4a95313d2b7ad7c67bdac56184274940ad0fb9d1d1263c139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90d2873ebe7405a4a95313d2b7ad7c67bdac56184274940ad0fb9d1d1263c139", kill_on_drop: false }` [INFO] [stdout] 90d2873ebe7405a4a95313d2b7ad7c67bdac56184274940ad0fb9d1d1263c139 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f59413ed14112538174ef0655c9110715d2ac8289328e83ec677fd6b342433d1 [INFO] running `Command { std: "docker" "start" "-a" "f59413ed14112538174ef0655c9110715d2ac8289328e83ec677fd6b342433d1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling time-core v0.1.5 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling cpp_demangle v0.4.4 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling time-macros v0.2.23 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling symbolic-demangle v12.16.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling seahash v4.1.0 [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 num-bigint v0.4.6 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling symbolic-common v12.16.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling getrandom v0.3.3 [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 deranged v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling sct v0.7.1 [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 idna_adapter v1.2.1 [INFO] [stderr] Compiling time v0.3.42 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling protobuf-codegen-pure v2.28.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling pprof v0.14.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling google-cloud-metadata v0.5.1 [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.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.53s [INFO] running `Command { std: "docker" "inspect" "f59413ed14112538174ef0655c9110715d2ac8289328e83ec677fd6b342433d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f59413ed14112538174ef0655c9110715d2ac8289328e83ec677fd6b342433d1", kill_on_drop: false }` [INFO] [stdout] f59413ed14112538174ef0655c9110715d2ac8289328e83ec677fd6b342433d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2029a1d1cb98de0208e93dc06dda1fea3dacfdea1cffe622d438f8572943b1e1 [INFO] running `Command { std: "docker" "start" "-a" "2029a1d1cb98de0208e93dc06dda1fea3dacfdea1cffe622d438f8572943b1e1", 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 1.95s [INFO] running `Command { std: "docker" "inspect" "2029a1d1cb98de0208e93dc06dda1fea3dacfdea1cffe622d438f8572943b1e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2029a1d1cb98de0208e93dc06dda1fea3dacfdea1cffe622d438f8572943b1e1", kill_on_drop: false }` [INFO] [stdout] 2029a1d1cb98de0208e93dc06dda1fea3dacfdea1cffe622d438f8572943b1e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9499582ff0ae6481be86e857e508b55eddc3aed24ff485562e4dbb57f1e4350c [INFO] running `Command { std: "docker" "start" "-a" "9499582ff0ae6481be86e857e508b55eddc3aed24ff485562e4dbb57f1e4350c", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cloud_profiler_rust-50248f82ffa5e013) [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.13s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9499582ff0ae6481be86e857e508b55eddc3aed24ff485562e4dbb57f1e4350c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9499582ff0ae6481be86e857e508b55eddc3aed24ff485562e4dbb57f1e4350c", kill_on_drop: false }` [INFO] [stdout] 9499582ff0ae6481be86e857e508b55eddc3aed24ff485562e4dbb57f1e4350c