[INFO] cloning repository https://github.com/ruth561/scx-rs-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ruth561/scx-rs-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruth561%2Fscx-rs-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruth561%2Fscx-rs-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa33cabd6c95710846d0596007df2bc5cf9ee15f [INFO] building ruth561/scx-rs-tutorial against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fruth561%2Fscx-rs-tutorial" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ruth561/scx-rs-tutorial [INFO] finished tweaking git repo https://github.com/ruth561/scx-rs-tutorial [INFO] tweaked toml for git repo https://github.com/ruth561/scx-rs-tutorial written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ruth561/scx-rs-tutorial on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ruth561/scx-rs-tutorial 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "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 xattr v1.3.1 [INFO] [stderr] Downloaded sscanf_macro v0.4.2 [INFO] [stderr] Downloaded scx_stats v1.0.5 [INFO] [stderr] Downloaded unicode-width v0.1.12 [INFO] [stderr] Downloaded tar v0.4.42 [INFO] [stderr] Downloaded vergen v8.3.2 [INFO] [stderr] Downloaded byteorder v0.5.3 [INFO] [stderr] Downloaded vsprintf v2.0.0 [INFO] [stderr] Downloaded sketches-ddsketch v0.2.2 [INFO] [stderr] Downloaded encode_unicode v0.2.0 [INFO] [stderr] Downloaded metrics v0.23.0 [INFO] [stderr] Downloaded libbpf-cargo v0.24.6 [INFO] [stderr] Downloaded metrics-util v0.17.0 [INFO] [stderr] Downloaded libbpf-rs v0.24.6 [INFO] [stderr] Downloaded sscanf v0.4.2 [INFO] [stderr] Downloaded raw-cpuid v11.2.0 [INFO] [stderr] Downloaded ordered-float v4.4.0 [INFO] [stderr] Downloaded quanta v0.12.3 [INFO] [stderr] Downloaded csv v0.14.7 [INFO] [stderr] Downloaded rustix v0.38.38 [INFO] [stderr] Downloaded scx_utils v1.0.5 [INFO] [stderr] Downloaded libbpf-sys v1.4.5+v1.4.5 [INFO] [stderr] Downloaded prettytable-rs v0.6.5 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8072986b3ed90b3a748f240bbb6a752b3be371b3737a18d0facbc9833ee7dead [INFO] running `Command { std: "docker" "start" "-a" "8072986b3ed90b3a748f240bbb6a752b3be371b3737a18d0facbc9833ee7dead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8072986b3ed90b3a748f240bbb6a752b3be371b3737a18d0facbc9833ee7dead", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8072986b3ed90b3a748f240bbb6a752b3be371b3737a18d0facbc9833ee7dead", kill_on_drop: false }` [INFO] [stdout] 8072986b3ed90b3a748f240bbb6a752b3be371b3737a18d0facbc9833ee7dead [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3c88ea023a4b6ed48485fc5b4781281ada5d49565df4157af5db5fa7ef59e6c [INFO] running `Command { std: "docker" "start" "-a" "f3c88ea023a4b6ed48485fc5b4781281ada5d49565df4157af5db5fa7ef59e6c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling rustix v0.38.38 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling anyhow v1.0.91 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling vergen v8.3.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling anstyle v1.0.9 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling anstream v0.6.17 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling raw-cpuid v11.2.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling metrics v0.23.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.31 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [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.23.0/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: raw pointer casts of trait objects cannot extend lifetimes [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/metrics-0.23.0/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" "f3c88ea023a4b6ed48485fc5b4781281ada5d49565df4157af5db5fa7ef59e6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3c88ea023a4b6ed48485fc5b4781281ada5d49565df4157af5db5fa7ef59e6c", kill_on_drop: false }` [INFO] [stdout] f3c88ea023a4b6ed48485fc5b4781281ada5d49565df4157af5db5fa7ef59e6c