[INFO] cloning repository https://github.com/grahambrooks/dev-shell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/grahambrooks/dev-shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrahambrooks%2Fdev-shell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrahambrooks%2Fdev-shell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae3b6a7550c500201272b9af182d2e40d840aaa9 [INFO] testing grahambrooks/dev-shell against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrahambrooks%2Fdev-shell" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/grahambrooks/dev-shell [INFO] finished tweaking git repo https://github.com/grahambrooks/dev-shell [INFO] tweaked toml for git repo https://github.com/grahambrooks/dev-shell written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/grahambrooks/dev-shell on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/grahambrooks/dev-shell 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded unic-ucd-segment v0.9.0 [INFO] [stderr] Downloaded termion v4.0.3 [INFO] [stderr] Downloaded globset v0.4.15 [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded eventsource-stream v0.2.3 [INFO] [stderr] Downloaded backoff v0.4.0 [INFO] [stderr] Downloaded reqwest-eventsource v0.6.0 [INFO] [stderr] Downloaded ollama-rs v0.2.5 [INFO] [stderr] Downloaded clap v4.5.29 [INFO] [stderr] Downloaded miniz_oxide v0.8.4 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded cc v1.2.14 [INFO] [stderr] Downloaded deunicode v1.6.0 [INFO] [stderr] Downloaded tinyvec v1.8.1 [INFO] [stderr] Downloaded clap_builder v4.5.29 [INFO] [stderr] Downloaded reqwest v0.12.12 [INFO] [stderr] Downloaded h2 v0.4.7 [INFO] [stderr] Downloaded async-trait v0.1.86 [INFO] [stderr] Downloaded os_info v3.10.0 [INFO] [stderr] Downloaded tokio-rustls v0.26.1 [INFO] [stderr] Downloaded unic-segment v0.9.0 [INFO] [stderr] Downloaded rustls v0.23.23 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] [stderr] Downloaded bstr v1.11.3 [INFO] [stderr] Downloaded ring v0.17.9 [INFO] [stderr] Downloaded async-openai v0.27.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f146866cb75a8000be4914ab04ca0c254190f9b0d41964127c1a4610ac8df05d [INFO] running `Command { std: "docker" "start" "-a" "f146866cb75a8000be4914ab04ca0c254190f9b0d41964127c1a4610ac8df05d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f146866cb75a8000be4914ab04ca0c254190f9b0d41964127c1a4610ac8df05d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f146866cb75a8000be4914ab04ca0c254190f9b0d41964127c1a4610ac8df05d", kill_on_drop: false }` [INFO] [stdout] f146866cb75a8000be4914ab04ca0c254190f9b0d41964127c1a4610ac8df05d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26a822a2687ba82c62a7252862dc802488220b88d3056fb3bfc4a40ca80b1262 [INFO] running `Command { std: "docker" "start" "-a" "26a822a2687ba82c62a7252862dc802488220b88d3056fb3bfc4a40ca80b1262", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling cc v1.2.14 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling rustls v0.23.23 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling ring v0.17.9 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling dyn-clone v1.0.18 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling clap_builder v4.5.29 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling genie v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling numtoa v0.2.4 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling termion v4.0.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling clap v4.5.29 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling os_info v3.10.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling ollama-rs v0.2.5 [INFO] [stderr] Compiling async-openai v0.27.2 [INFO] [stdout] warning: unused import: `ResponseFormat` [INFO] [stdout] --> src/adapters/openai.rs:4:133 [INFO] [stdout] | [INFO] [stdout] 4 | ...CompletionRequestArgs, CreateImageRequestArgs, ImageSize, ResponseFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ShellExecutor` is never used [INFO] [stdout] --> src/model.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait ShellExecutor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BashExecutor` is never constructed [INFO] [stdout] --> src/actions/shell.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct BashExecutor {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filesystem/mod.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(root: &Path) -> FileSystemContext { [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] 10 | pub fn new(root: &Path) -> FileSystemContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "26a822a2687ba82c62a7252862dc802488220b88d3056fb3bfc4a40ca80b1262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26a822a2687ba82c62a7252862dc802488220b88d3056fb3bfc4a40ca80b1262", kill_on_drop: false }` [INFO] [stdout] 26a822a2687ba82c62a7252862dc802488220b88d3056fb3bfc4a40ca80b1262 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 127037e6648e823c98d8d08a4d538b1ab4b2efe6467c828b35435d1f5819e318 [INFO] running `Command { std: "docker" "start" "-a" "127037e6648e823c98d8d08a4d538b1ab4b2efe6467c828b35435d1f5819e318", kill_on_drop: false }` [INFO] [stderr] Compiling genie v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ResponseFormat` [INFO] [stdout] --> src/adapters/openai.rs:4:133 [INFO] [stdout] | [INFO] [stdout] 4 | ...CompletionRequestArgs, CreateImageRequestArgs, ImageSize, ResponseFormat}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ShellExecutor` is never used [INFO] [stdout] --> src/model.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) trait ShellExecutor { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BashExecutor` is never constructed [INFO] [stdout] --> src/actions/shell.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct BashExecutor {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/filesystem/mod.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(root: &Path) -> FileSystemContext { [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] 10 | pub fn new(root: &Path) -> FileSystemContext<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.50s [INFO] running `Command { std: "docker" "inspect" "127037e6648e823c98d8d08a4d538b1ab4b2efe6467c828b35435d1f5819e318", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "127037e6648e823c98d8d08a4d538b1ab4b2efe6467c828b35435d1f5819e318", kill_on_drop: false }` [INFO] [stdout] 127037e6648e823c98d8d08a4d538b1ab4b2efe6467c828b35435d1f5819e318 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 16a4e17f054293f68dc6005e056fe97832e34b7fa3a17e06b01707f4b99adb47 [INFO] running `Command { std: "docker" "start" "-a" "16a4e17f054293f68dc6005e056fe97832e34b7fa3a17e06b01707f4b99adb47", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ResponseFormat` [INFO] [stderr] --> src/adapters/openai.rs:4:133 [INFO] [stderr] | [INFO] [stderr] 4 | ...CompletionRequestArgs, CreateImageRequestArgs, ImageSize, ResponseFormat}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 21 tests [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait `ShellExecutor` is never used [INFO] [stderr] --> src/model.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | pub(crate) trait ShellExecutor { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `BashExecutor` is never constructed [INFO] [stderr] --> src/actions/shell.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | struct BashExecutor {} [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/filesystem/mod.rs:10:22 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new(root: &Path) -> FileSystemContext { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new(root: &Path) -> FileSystemContext<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `genie` (bin "genie" test) generated 4 warnings (run `cargo fix --bin "genie" -p genie --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/genie-d73501ca9905252a) [INFO] [stdout] test context::tests::test_shell_detection ... ok [INFO] [stdout] test errors::tests::test_genie_error_from_method ... ok [INFO] [stdout] test filesystem::tests::test_walk_dir_not_found ... ok [INFO] [stdout] test errors::tests::test_genie_error ... ok [INFO] [stdout] test messages::template::tests::test_template_missing_field ... ok [INFO] [stdout] test model::tests::test_model_adapter ... ok [INFO] [stdout] test model::tests::test_model_adapter_error ... ok [INFO] [stdout] test model::tests::test_model_from_string ... ok [INFO] [stdout] test model::tests::test_model_from_string_failure ... ok [INFO] [stdout] test run::file_extensions::tests::test_get_language_from_extension ... ok [INFO] [stdout] test run::script::tests::test_parse_script ... ok [INFO] [stdout] test run::script::tests::test_parse_script_no_model ... ok [INFO] [stdout] test run::script::tests::test_parse_script_no_template ... ok [INFO] [stdout] test run::script::tests::test_parse_script_no_source_path ... ok [INFO] [stdout] test run::script::tests::test_parses_project_analysis ... ok [INFO] [stdout] test run::template::tests::test_expand_template ... ok [INFO] [stdout] test run::template::tests::test_project_context_expansion ... ok [INFO] [stdout] test messages::template::tests::test_template ... ok [INFO] [stdout] test filesystem::tests::test_walk_dir ... ok [INFO] [stdout] test messages::tests::test_shell_template ... ok [INFO] [stdout] test filesystem::tests::test_walk_dir_nested_dir ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- filesystem::tests::test_walk_dir_nested_dir stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'filesystem::tests::test_walk_dir_nested_dir' (22) panicked at src/filesystem/mod.rs:103:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: "/root_directory/\n docs/\n docs/README.md\n docs/CONTRIBUTING.md\n src/\n src/main.py\n src/helper.py\n tests/\n tests/test_main.py\n tests/test_helper.py\n requirements.txt\n" [INFO] [stdout] right: "/root_directory/\n requirements.txt\n tests/\n tests/test_helper.py\n tests/test_main.py\n docs/\n docs/README.md\n docs/CONTRIBUTING.md\n src/\n src/helper.py\n src/main.py\n" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5dea237ceb6a - std[31e582c13f4e914f]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5dea237ceb6a - std[31e582c13f4e914f]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5dea237ceb6a - std[31e582c13f4e914f]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5dea237ceb6a - <::print::DisplayBacktrace as core[fa0eadad68403074]::fmt::Display>::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5dea237e7b6a - ::fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5dea237e7b6a - core[fa0eadad68403074]::fmt::write [INFO] [stdout] 6: 0x5dea237d3ed2 - std[31e582c13f4e914f]::io::default_write_fmt::> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5dea237d3ed2 - as std[31e582c13f4e914f]::io::Write>::write_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5dea237aa79f - ::print [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5dea237aa79f - std[31e582c13f4e914f]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5dea237c5799 - std[31e582c13f4e914f]::panicking::default_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5dea22c1f5ac - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x5dea22c1f5ac - test[7530e63dc052480e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5dea237c5a12 - core[fa0eadad68403074]::ops::function::Fn<(&'a std[31e582c13f4e914f]::panic::PanicHookInfo<'b>,), Output = ()> + core[fa0eadad68403074]::marker::Sync + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::Fn<(&std[31e582c13f4e914f]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x5dea237c5a12 - std[31e582c13f4e914f]::panicking::panic_with_hook [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5dea237aa858 - std[31e582c13f4e914f]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5dea2379f599 - std[31e582c13f4e914f]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5dea237ab8ed - __rustc[fc8e3a9f23f26cb]::rust_begin_unwind [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5dea237e83ac - core[fa0eadad68403074]::panicking::panic_fmt [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5dea237e8263 - core[fa0eadad68403074]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5dea22aed30c - core[fa0eadad68403074]::panicking::assert_failed:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5dea22b847eb - genie[6d3fcbf2ad38aa36]::filesystem::tests::test_walk_dir_nested_dir [INFO] [stdout] at /opt/rustwide/workdir/src/filesystem/mod.rs:103:9 [INFO] [stdout] 22: 0x5dea22b7a527 - genie[6d3fcbf2ad38aa36]::filesystem::tests::test_walk_dir_nested_dir::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/filesystem/mod.rs:64:34 [INFO] [stdout] 23: 0x5dea22b25416 - >::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5dea22c1368b - core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5dea22c1368b - test[7530e63dc052480e]::__rust_begin_short_backtrace::, fn() -> core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5dea22c2007b - test[7530e63dc052480e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5dea22c2007b - as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x5dea22c2007b - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5dea22c2007b - std[31e582c13f4e914f]::panicking::catch_unwind::, core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5dea22c2007b - std[31e582c13f4e914f]::panic::catch_unwind::, core[fa0eadad68403074]::result::Result<(), alloc[49b8922c36ca62de]::string::String>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5dea22c2007b - test[7530e63dc052480e]::run_test_in_process [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5dea22c2007b - test[7530e63dc052480e]::run_test::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5dea22c1a4d4 - test[7530e63dc052480e]::run_test::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5dea22c1a4d4 - std[31e582c13f4e914f]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5dea22c22c82 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x5dea22c22c82 - ::{closure#1}::{closure#0}> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x5dea22c22c82 - std[31e582c13f4e914f]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5dea22c22c82 - std[31e582c13f4e914f]::panicking::catch_unwind::<(), core[fa0eadad68403074]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5dea22c22c82 - std[31e582c13f4e914f]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5dea22c22c82 - std[31e582c13f4e914f]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x5dea22c22c82 - ::{closure#1} as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5dea237cdc1f - + core[fa0eadad68403074]::marker::Send> as core[fa0eadad68403074]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 43: 0x5dea237cdc1f - ::new::thread_start [INFO] [stdout] at /rustc/562dee4820c458d823175268e41601d4c060588a/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x7ccd58164aa4 - [INFO] [stdout] 45: 0x7ccd581f1a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] filesystem::tests::test_walk_dir_nested_dir [INFO] [stdout] [INFO] [stdout] test result: FAILED. 20 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin genie` [INFO] running `Command { std: "docker" "inspect" "16a4e17f054293f68dc6005e056fe97832e34b7fa3a17e06b01707f4b99adb47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16a4e17f054293f68dc6005e056fe97832e34b7fa3a17e06b01707f4b99adb47", kill_on_drop: false }` [INFO] [stdout] 16a4e17f054293f68dc6005e056fe97832e34b7fa3a17e06b01707f4b99adb47