[INFO] fetching crate heron-rebuild-workflow 0.2.0... [INFO] checking heron-rebuild-workflow-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate heron-rebuild-workflow 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate heron-rebuild-workflow 0.2.0 [INFO] finished tweaking crates.io crate heron-rebuild-workflow 0.2.0 [INFO] tweaked toml for crates.io crate heron-rebuild-workflow 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate heron-rebuild-workflow 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 35 packages to latest compatible versions [INFO] [stderr] Adding colored v2.2.0 (available: v3.0.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.1.1) [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded heron-rebuild-syntax v0.2.0 [INFO] [stderr] Downloaded heron-rebuild-intern v0.2.0 [INFO] [stderr] Downloaded heron-rebuild-util v0.2.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3671d9f130f6a09ceee0b6bf0926beb9856c46a392bc622c9b738e3f70b728fa [INFO] running `Command { std: "docker" "start" "-a" "3671d9f130f6a09ceee0b6bf0926beb9856c46a392bc622c9b738e3f70b728fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3671d9f130f6a09ceee0b6bf0926beb9856c46a392bc622c9b738e3f70b728fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3671d9f130f6a09ceee0b6bf0926beb9856c46a392bc622c9b738e3f70b728fa", kill_on_drop: false }` [INFO] [stdout] 3671d9f130f6a09ceee0b6bf0926beb9856c46a392bc622c9b738e3f70b728fa [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eeec9b4a93c6407b3bd6711d6e96a0a01a468aa26546468b544399e82cce06ba [INFO] running `Command { std: "docker" "start" "-a" "eeec9b4a93c6407b3bd6711d6e96a0a01a468aa26546468b544399e82cce06ba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking heron-rebuild-intern v0.2.0 [INFO] [stderr] Checking heron-rebuild-util v0.2.0 [INFO] [stderr] Checking heron-rebuild-syntax v0.2.0 [INFO] [stderr] Checking heron-rebuild-workflow v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/strings.rs:207:35 [INFO] [stdout] | [INFO] [stdout] 207 | strings.make_interpolated(orig_id, vars, &mut buf)?; [INFO] [stdout] | ----------------- ^^^^^^^ expected `LiteralId`, found `Result` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `LiteralId` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/strings.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn make_interpolated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | &self, [INFO] [stdout] 148 | orig: LiteralId, [INFO] [stdout] | --------------- [INFO] [stdout] help: use the `?` operator to extract the `std::result::Result` value, propagating a `Result::Err` value to the caller [INFO] [stdout] | [INFO] [stdout] 207 | strings.make_interpolated(orig_id?, vars, &mut buf)?; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/strings.rs:216:45 [INFO] [stdout] | [INFO] [stdout] 216 | let res = strings.make_interpolated(orig_id, &[(v3, v1_val)], &mut buf); [INFO] [stdout] | ----------------- ^^^^^^^ expected `LiteralId`, found `Result` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `LiteralId` [INFO] [stdout] found enum `std::result::Result` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/strings.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn make_interpolated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | &self, [INFO] [stdout] 148 | orig: LiteralId, [INFO] [stdout] | --------------- [INFO] [stdout] help: use the `?` operator to extract the `std::result::Result` value, propagating a `Result::Err` value to the caller [INFO] [stdout] | [INFO] [stdout] 216 | let res = strings.make_interpolated(orig_id?, &[(v3, v1_val)], &mut buf); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/strings.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn get_full_branch_str(&self, branch: &BranchSpec) -> Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | pub fn get_full_branch_str(&self, branch: &BranchSpec) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/strings.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_real_task_str(&self, task: &RealTaskKey) -> Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_real_task_str(&self, task: &RealTaskKey) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/string_cache.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_or_insert(&self, val: &T, wf: &WorkflowStrings) -> Result> { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_or_insert(&self, val: &T, wf: &WorkflowStrings) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/string_cache.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | fn get_substr(&self, start: usize, end: usize) -> Ref { [INFO] [stdout] | ^^^^^ the lifetime is elided here -------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 53 | fn get_substr(&self, start: usize, end: usize) -> Ref<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `heron-rebuild-workflow` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "eeec9b4a93c6407b3bd6711d6e96a0a01a468aa26546468b544399e82cce06ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeec9b4a93c6407b3bd6711d6e96a0a01a468aa26546468b544399e82cce06ba", kill_on_drop: false }` [INFO] [stdout] eeec9b4a93c6407b3bd6711d6e96a0a01a468aa26546468b544399e82cce06ba