[INFO] fetching crate aquatic_bencher 0.9.0... [INFO] checking aquatic_bencher-0.9.0 against try#7424ce9ff9baac3e9d9f5dd3c85828cddea0134d for pr-136776-2 [INFO] extracting crate aquatic_bencher 0.9.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate aquatic_bencher 0.9.0 [INFO] finished tweaking crates.io crate aquatic_bencher 0.9.0 [INFO] tweaked toml for crates.io crate aquatic_bencher 0.9.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate aquatic_bencher 0.9.0 on toolchain 7424ce9ff9baac3e9d9f5dd3c85828cddea0134d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate aquatic_bencher 0.9.0 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" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54b19aa0da7a2c0edcbe3de1ca1435b7496ae8724d19dc704ab531b610397b8f [INFO] running `Command { std: "docker" "start" "-a" "54b19aa0da7a2c0edcbe3de1ca1435b7496ae8724d19dc704ab531b610397b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54b19aa0da7a2c0edcbe3de1ca1435b7496ae8724d19dc704ab531b610397b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54b19aa0da7a2c0edcbe3de1ca1435b7496ae8724d19dc704ab531b610397b8f", kill_on_drop: false }` [INFO] [stdout] 54b19aa0da7a2c0edcbe3de1ca1435b7496ae8724d19dc704ab531b610397b8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+7424ce9ff9baac3e9d9f5dd3c85828cddea0134d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e7a264c5d6ebb5b5281d06eb29b5e36f34828cf34802bd78b183872d790f6d0 [INFO] running `Command { std: "docker" "start" "-a" "9e7a264c5d6ebb5b5281d06eb29b5e36f34828cf34802bd78b183872d790f6d0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking raw-cpuid v11.0.2 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking castaway v0.2.2 [INFO] [stderr] Compiling libmimalloc-sys v0.1.37 [INFO] [stderr] Checking ordered-float v4.2.0 [INFO] [stderr] Checking quanta v0.12.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking sketches-ddsketch v0.2.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Compiling aquatic_toml_config_derive v0.9.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking simplelog v0.12.2 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling duplicate v1.0.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.32 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling git-testament-derive v0.2.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking git-testament v0.2.5 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Compiling io-uring v0.6.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking metrics v0.22.3 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stdout] error[E0521]: borrowed data escapes outside of associated function [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.22.3/src/recorder/mod.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 71 | fn new(recorder: &dyn Recorder) -> Self { [INFO] [stdout] | -------- - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | `recorder` is a reference that is only valid in the associated function body [INFO] [stdout] ... [INFO] [stdout] 77 | / LOCAL_RECORDER.with(|local_recorder| { [INFO] [stdout] 78 | | local_recorder.set(Some(recorder_ptr)); [INFO] [stdout] 79 | | }); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |__________`recorder` escapes the associated function body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] | [INFO] [stdout] = note: requirement occurs because of the type `Cell>>`, which makes the generic argument `Option>` invariant [INFO] [stdout] = note: the struct `Cell` is invariant over the parameter `T` [INFO] [stdout] = help: see for more information about variance [INFO] [stdout] note: raw pointer casts of trait objects do not cast away lifetimes [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.22.3/src/recorder/mod.rs:75:60 [INFO] [stdout] | [INFO] [stdout] 75 | let recorder_ptr = unsafe { NonNull::new_unchecked(recorder as *const _ as *mut _) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this was previously accepted by the compiler but was changed recently [INFO] [stdout] = help: see for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0521`. [INFO] [stdout] [INFO] [stderr] error: could not compile `metrics` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9e7a264c5d6ebb5b5281d06eb29b5e36f34828cf34802bd78b183872d790f6d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e7a264c5d6ebb5b5281d06eb29b5e36f34828cf34802bd78b183872d790f6d0", kill_on_drop: false }` [INFO] [stdout] 9e7a264c5d6ebb5b5281d06eb29b5e36f34828cf34802bd78b183872d790f6d0