[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] 5ae6f49bed92170170314251ea6b94ef2409ee44 [INFO] testing statsig-io/cloud-profiler-rust against master#1ddedbaa5919b7b3e70d984660e21e844c615c97 for pr-128400-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstatsig-io%2Fcloud-profiler-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/statsig-io/cloud-profiler-rust on toolchain 1ddedbaa5919b7b3e70d984660e21e844c615c97 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-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-4-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" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "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 pprof v0.13.0 [INFO] [stderr] Downloaded debugid v0.8.0 [INFO] [stderr] Downloaded google-cloud-metadata v0.5.0 [INFO] [stderr] Downloaded google-cloud-token v0.1.2 [INFO] [stderr] Downloaded google-cloud-auth v0.15.0 [INFO] [stderr] Downloaded findshlibs v0.10.2 [INFO] [stderr] Downloaded google-cloudprofiler2 v5.0.5+20240624 [INFO] [stderr] Downloaded envy v0.4.2 [INFO] [stderr] Downloaded serde_with_macros v3.9.0 [INFO] [stderr] Downloaded google-apis-common v6.0.4 [INFO] [stderr] Downloaded hyper-rustls v0.25.0 [INFO] [stderr] Downloaded protobuf-codegen-pure v2.28.0 [INFO] [stderr] Downloaded yup-oauth2 v9.0.0 [INFO] [stderr] Downloaded cpp_demangle v0.4.3 [INFO] [stderr] Downloaded cc v1.1.6 [INFO] [stderr] Downloaded serde_with v3.9.0 [INFO] [stderr] Downloaded protobuf v2.28.0 [INFO] [stderr] Downloaded symbolic-demangle v12.10.0 [INFO] [stderr] Downloaded rustls-webpki v0.102.6 [INFO] [stderr] Downloaded protobuf-codegen v2.28.0 [INFO] [stderr] Downloaded symbolic-common v12.10.0 [INFO] [stderr] Downloaded object v0.36.2 [INFO] [stderr] Downloaded tokio v1.39.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f441e3f410f7fbc9ef2e76e86566ee7af5bc91e5ac68257e7f18e9e70225546d [INFO] running `Command { std: "docker" "start" "-a" "f441e3f410f7fbc9ef2e76e86566ee7af5bc91e5ac68257e7f18e9e70225546d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f441e3f410f7fbc9ef2e76e86566ee7af5bc91e5ac68257e7f18e9e70225546d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f441e3f410f7fbc9ef2e76e86566ee7af5bc91e5ac68257e7f18e9e70225546d", kill_on_drop: false }` [INFO] [stdout] f441e3f410f7fbc9ef2e76e86566ee7af5bc91e5ac68257e7f18e9e70225546d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1d102b0b2184c0d68d5398e3258f98ce2e3474b8ad2fa8cb587f1f4f2e2b9ff [INFO] running `Command { std: "docker" "start" "-a" "b1d102b0b2184c0d68d5398e3258f98ce2e3474b8ad2fa8cb587f1f4f2e2b9ff", 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 cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.120 [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 http v1.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rustls-native-certs v0.7.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling cpp_demangle v0.4.3 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling symbolic-demangle v12.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling symbolic-common v12.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling object v0.36.2 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling bitflags v1.3.2 [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 itertools v0.13.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling rustls-webpki v0.102.6 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [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 async-trait v0.1.81 [INFO] [stderr] Compiling tokio v1.39.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling protobuf-codegen-pure v2.28.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling google-cloud-token v0.1.2 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Compiling pprof v0.13.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [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-rustls v0.25.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_with v3.9.0 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling google-cloud-metadata v0.5.0 [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-auth v0.15.0 [INFO] [stderr] Compiling hyper-rustls v0.25.0 [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.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.09s [INFO] running `Command { std: "docker" "inspect" "b1d102b0b2184c0d68d5398e3258f98ce2e3474b8ad2fa8cb587f1f4f2e2b9ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1d102b0b2184c0d68d5398e3258f98ce2e3474b8ad2fa8cb587f1f4f2e2b9ff", kill_on_drop: false }` [INFO] [stdout] b1d102b0b2184c0d68d5398e3258f98ce2e3474b8ad2fa8cb587f1f4f2e2b9ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 870846f0c9fffd4f1aac79ae174f5fe7a191967d4fef85c077abf6bbe21f652a [INFO] running `Command { std: "docker" "start" "-a" "870846f0c9fffd4f1aac79ae174f5fe7a191967d4fef85c077abf6bbe21f652a", kill_on_drop: false }` [INFO] [stderr] Compiling cloud_profiler_rust v1.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "870846f0c9fffd4f1aac79ae174f5fe7a191967d4fef85c077abf6bbe21f652a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "870846f0c9fffd4f1aac79ae174f5fe7a191967d4fef85c077abf6bbe21f652a", kill_on_drop: false }` [INFO] [stdout] 870846f0c9fffd4f1aac79ae174f5fe7a191967d4fef85c077abf6bbe21f652a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1ddedbaa5919b7b3e70d984660e21e844c615c97" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9844d4479596f885374cedb70deb7f9c186053a7590697bf5bf721bab1aa3209 [INFO] running `Command { std: "docker" "start" "-a" "9844d4479596f885374cedb70deb7f9c186053a7590697bf5bf721bab1aa3209", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cloud_profiler_rust-6d8a7b7c9d71f4ff) [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 49) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - maybe_start_profiling (line 49) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `should_run_profiler` in this scope [INFO] [stdout] --> src/lib.rs:52:69 [INFO] [stdout] | [INFO] [stdout] 6 | cloud_profiler_rust::maybe_start_profiling("my-service", "v1", || { should_run_profiler() }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 6 | cloud_profiler_rust::maybe_start_profiling("my-service", "v1", || { should_run_profiler() }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------ ---- expected `String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected `String`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn maybe_start_profiling(service: String, version: String, should_start: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 6 | cloud_profiler_rust::maybe_start_profiling("my-service".to_string(), "v1", || { should_run_profiler() }); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 6 | cloud_profiler_rust::maybe_start_profiling("my-service", "v1".to_string(), || { should_run_profiler() }); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - maybe_start_profiling (line 49) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9844d4479596f885374cedb70deb7f9c186053a7590697bf5bf721bab1aa3209", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9844d4479596f885374cedb70deb7f9c186053a7590697bf5bf721bab1aa3209", kill_on_drop: false }` [INFO] [stdout] 9844d4479596f885374cedb70deb7f9c186053a7590697bf5bf721bab1aa3209 [INFO] testing statsig-io/cloud-profiler-rust against try#33f1d8bb92813a1bfc23c093c9f443ab09290307 for pr-128400-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstatsig-io%2Fcloud-profiler-rust" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/statsig-io/cloud-profiler-rust on toolchain 33f1d8bb92813a1bfc23c093c9f443ab09290307 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/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-4-tc2/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" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04ca86e8cdea274c885e5ba60ded15677b05e923f67abb6cc87c9eefe28d38c2 [INFO] running `Command { std: "docker" "start" "-a" "04ca86e8cdea274c885e5ba60ded15677b05e923f67abb6cc87c9eefe28d38c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04ca86e8cdea274c885e5ba60ded15677b05e923f67abb6cc87c9eefe28d38c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04ca86e8cdea274c885e5ba60ded15677b05e923f67abb6cc87c9eefe28d38c2", kill_on_drop: false }` [INFO] [stdout] 04ca86e8cdea274c885e5ba60ded15677b05e923f67abb6cc87c9eefe28d38c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff2f38403312b552afecac6fcbd68df5f471fe9706dbb4ee29d65deb1eea6e48 [INFO] running `Command { std: "docker" "start" "-a" "ff2f38403312b552afecac6fcbd68df5f471fe9706dbb4ee29d65deb1eea6e48", 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 cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pkg-config v0.3.30 [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 want v0.3.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rustls-native-certs v0.7.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling cpp_demangle v0.4.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling findshlibs v0.10.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling gimli v0.29.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling symbolic-demangle v12.10.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling seahash v4.1.0 [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 pem v3.0.4 [INFO] [stderr] Compiling object v0.36.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling addr2line v0.22.0 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling protobuf-codegen-pure v2.28.0 [INFO] [stderr] Compiling tokio v1.39.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling google-cloud-token v0.1.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rustls-webpki v0.102.6 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Compiling pprof v0.13.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_with v3.9.0 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling google-cloud-metadata v0.5.0 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling google-cloud-auth v0.15.0 [INFO] [stderr] Compiling hyper-rustls v0.25.0 [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.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.51s [INFO] running `Command { std: "docker" "inspect" "ff2f38403312b552afecac6fcbd68df5f471fe9706dbb4ee29d65deb1eea6e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff2f38403312b552afecac6fcbd68df5f471fe9706dbb4ee29d65deb1eea6e48", kill_on_drop: false }` [INFO] [stdout] ff2f38403312b552afecac6fcbd68df5f471fe9706dbb4ee29d65deb1eea6e48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b946ab489a9db92501b91806c9dbf312afb5b012e419d15985d71ca76860c36 [INFO] running `Command { std: "docker" "start" "-a" "2b946ab489a9db92501b91806c9dbf312afb5b012e419d15985d71ca76860c36", kill_on_drop: false }` [INFO] [stderr] Compiling cloud_profiler_rust v1.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.63s [INFO] running `Command { std: "docker" "inspect" "2b946ab489a9db92501b91806c9dbf312afb5b012e419d15985d71ca76860c36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b946ab489a9db92501b91806c9dbf312afb5b012e419d15985d71ca76860c36", kill_on_drop: false }` [INFO] [stdout] 2b946ab489a9db92501b91806c9dbf312afb5b012e419d15985d71ca76860c36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+33f1d8bb92813a1bfc23c093c9f443ab09290307" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] df3a01093bdc1dd71856a2b9107dc501f39c2866e5b973f0b36882c02500f89d [INFO] running `Command { std: "docker" "start" "-a" "df3a01093bdc1dd71856a2b9107dc501f39c2866e5b973f0b36882c02500f89d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cloud_profiler_rust-6d8a7b7c9d71f4ff) [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 49) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - maybe_start_profiling (line 49) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `should_run_profiler` in this scope [INFO] [stdout] --> src/lib.rs:52:69 [INFO] [stdout] | [INFO] [stdout] 6 | cloud_profiler_rust::maybe_start_profiling("my-service", "v1", || { should_run_profiler() }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/lib.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 6 | cloud_profiler_rust::maybe_start_profiling("my-service", "v1", || { should_run_profiler() }); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------ ---- expected `String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | expected `String`, found `&str` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn maybe_start_profiling(service: String, version: String, should_start: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 6 | cloud_profiler_rust::maybe_start_profiling("my-service".to_string(), "v1", || { should_run_profiler() }); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 6 | cloud_profiler_rust::maybe_start_profiling("my-service", "v1".to_string(), || { should_run_profiler() }); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - maybe_start_profiling (line 49) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "df3a01093bdc1dd71856a2b9107dc501f39c2866e5b973f0b36882c02500f89d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df3a01093bdc1dd71856a2b9107dc501f39c2866e5b973f0b36882c02500f89d", kill_on_drop: false }` [INFO] [stdout] df3a01093bdc1dd71856a2b9107dc501f39c2866e5b973f0b36882c02500f89d