[INFO] fetching crate kodept 0.2.3... [INFO] checking kodept-0.2.3 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate kodept 0.2.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate kodept 0.2.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate kodept 0.2.3 [INFO] tweaked toml for crates.io crate kodept 0.2.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kodept 0.2.3 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kodept 0.2.3 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 492eba9f2f68b274212774c606df97a1c5fce9cba1a6b3380bf0e30ff6833087 [INFO] running `Command { std: "docker" "start" "-a" "492eba9f2f68b274212774c606df97a1c5fce9cba1a6b3380bf0e30ff6833087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "492eba9f2f68b274212774c606df97a1c5fce9cba1a6b3380bf0e30ff6833087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "492eba9f2f68b274212774c606df97a1c5fce9cba1a6b3380bf0e30ff6833087", kill_on_drop: false }` [INFO] [stdout] 492eba9f2f68b274212774c606df97a1c5fce9cba1a6b3380bf0e30ff6833087 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03a5f9129690aa4915f479c661c0afad15216c7eb34a50d6e21d0b62476b302b [INFO] running `Command { std: "docker" "start" "-a" "03a5f9129690aa4915f479c661c0afad15216c7eb34a50d6e21d0b62476b302b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking constcat v0.5.0 [INFO] [stderr] Checking nonempty-collections v0.2.7 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking qcell v0.5.4 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling peg-runtime v0.8.3 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking codespan v0.11.1 [INFO] [stderr] Checking snowflake v1.3.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking id_tree v1.8.0 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Checking replace_with v0.1.7 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking clap_builder v4.5.13 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling peg-macros v0.8.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking insta v1.39.0 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking chashmap v2.2.2 [INFO] [stderr] Checking slotgraph v0.1.0 [INFO] [stderr] Checking peg v0.8.4 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling derive_more-impl v1.0.0-beta.7 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling extend v1.2.0 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Checking kodept-inference v0.2.3 [INFO] [stderr] Checking derive_more v1.0.0-beta.7 [INFO] [stderr] Checking kodept-core v0.2.8 [INFO] [stderr] Checking kodept-ast v0.4.1 [INFO] [stderr] Checking kodept-parse v0.3.0 [INFO] [stderr] Checking kodept-macros v0.1.6 [INFO] [stderr] Checking kodept-interpret v0.1.2 [INFO] [stderr] Checking kodept v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/read_code_source.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | fn get_chunk(&self, at: CodePoint) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 73 | fn get_chunk(&self, at: CodePoint) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/read_code_source.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | fn get_chunk(&self, at: CodePoint) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 73 | fn get_chunk(&self, at: CodePoint) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> tests/infrastructure.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | fn get_chunk(&self, at: CodePoint) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided 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] 36 | fn get_chunk(&self, at: CodePoint) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/utils.rs:27:53 [INFO] [stdout] | [INFO] [stdout] 27 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 28 | | Ok(match s { [INFO] [stdout] 29 | | "*" => Extension::Any, [INFO] [stdout] 30 | | _ => Extension::Specified(OsString::from(s)), [INFO] [stdout] 31 | | }) [INFO] [stdout] 32 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/utils.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | / Ok(match s { [INFO] [stdout] 29 | | "*" => Extension::Any, [INFO] [stdout] 30 | | _ => Extension::Specified(OsString::from(s)), [INFO] [stdout] 31 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cli/commands/mod.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | fn tokenize(source: &ReadCodeSource) -> Result, ParseErrors<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided 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] 68 | fn tokenize(source: &ReadCodeSource) -> Result>, ParseErrors<&str>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kodept` (bin "kodept" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/utils.rs:27:53 [INFO] [stdout] | [INFO] [stdout] 27 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 28 | | Ok(match s { [INFO] [stdout] 29 | | "*" => Extension::Any, [INFO] [stdout] 30 | | _ => Extension::Specified(OsString::from(s)), [INFO] [stdout] 31 | | }) [INFO] [stdout] 32 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cli/utils.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | / Ok(match s { [INFO] [stdout] 29 | | "*" => Extension::Any, [INFO] [stdout] 30 | | _ => Extension::Specified(OsString::from(s)), [INFO] [stdout] 31 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cli/commands/mod.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | fn tokenize(source: &ReadCodeSource) -> Result, ParseErrors<&str>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided 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] 68 | fn tokenize(source: &ReadCodeSource) -> Result>, ParseErrors<&str>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kodept` (bin "kodept") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "03a5f9129690aa4915f479c661c0afad15216c7eb34a50d6e21d0b62476b302b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03a5f9129690aa4915f479c661c0afad15216c7eb34a50d6e21d0b62476b302b", kill_on_drop: false }` [INFO] [stdout] 03a5f9129690aa4915f479c661c0afad15216c7eb34a50d6e21d0b62476b302b