[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#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgrahambrooks%2Fdev-shell" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/grahambrooks/dev-shell on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_termios v0.1.3 [INFO] [stderr] Downloaded numtoa v0.2.4 [INFO] [stderr] Downloaded pest_generator v2.7.15 [INFO] [stderr] Downloaded windows-registry v0.2.0 [INFO] [stderr] Downloaded pest_derive v2.7.15 [INFO] [stderr] Downloaded dyn-clone v1.0.18 [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded termion v4.0.3 [INFO] [stderr] Downloaded async-trait v0.1.86 [INFO] [stderr] Downloaded clap_derive v4.5.28 [INFO] [stderr] Downloaded async-openai v0.27.2 [INFO] [stderr] Downloaded quinn v0.11.6 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.1 [INFO] [stderr] Downloaded security-framework v3.2.0 [INFO] [stderr] Downloaded pest v2.7.15 [INFO] [stderr] Downloaded clap_builder v4.5.29 [INFO] [stderr] Downloaded quinn-proto v0.11.9 [INFO] [stderr] Downloaded reqwest v0.12.12 [INFO] [stderr] Downloaded deunicode v1.6.0 [INFO] [stderr] Downloaded clap v4.5.29 [INFO] [stderr] Downloaded pest_meta v2.7.15 [INFO] [stderr] Downloaded ollama-rs v0.2.5 [INFO] [stderr] Downloaded os_info v3.10.0 [INFO] [stderr] Downloaded quinn-udp v0.5.10 [INFO] [stderr] Downloaded miniz_oxide v0.8.4 [INFO] [stderr] Downloaded bstr v1.11.3 [INFO] [stderr] Downloaded rustls v0.23.23 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] [stderr] Downloaded tokio v1.43.0 [INFO] [stderr] Downloaded ring v0.17.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 190b9dfd343ddcd2b5a8cecb8ffd3727ee40df79374590db181b22dd81b48d54 [INFO] running `Command { std: "docker" "start" "-a" "190b9dfd343ddcd2b5a8cecb8ffd3727ee40df79374590db181b22dd81b48d54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "190b9dfd343ddcd2b5a8cecb8ffd3727ee40df79374590db181b22dd81b48d54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "190b9dfd343ddcd2b5a8cecb8ffd3727ee40df79374590db181b22dd81b48d54", kill_on_drop: false }` [INFO] [stdout] 190b9dfd343ddcd2b5a8cecb8ffd3727ee40df79374590db181b22dd81b48d54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d764fa4d34581c1a90fe7600ac462b26e3228c579015971e39c19f056ede346 [INFO] running `Command { std: "docker" "start" "-a" "9d764fa4d34581c1a90fe7600ac462b26e3228c579015971e39c19f056ede346", kill_on_drop: false }` [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 pkg-config v0.3.31 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling rustls v0.23.23 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [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 encoding_rs v0.8.35 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling dyn-clone v1.0.18 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling ring v0.17.9 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling clap_builder v4.5.29 [INFO] [stderr] Compiling genie v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling numtoa v0.2.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling termion v4.0.3 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling tempfile v3.16.0 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling chrono-tz v0.9.0 [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 ignore v0.4.23 [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 serde_derive v1.0.217 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling clap v4.5.29 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling pest_generator v2.7.15 [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 icu_properties v1.5.1 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling secrecy v0.10.3 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling os_info v3.10.0 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-rustls v0.26.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [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 h2 v0.4.7 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [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 46s [INFO] running `Command { std: "docker" "inspect" "9d764fa4d34581c1a90fe7600ac462b26e3228c579015971e39c19f056ede346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d764fa4d34581c1a90fe7600ac462b26e3228c579015971e39c19f056ede346", kill_on_drop: false }` [INFO] [stdout] 9d764fa4d34581c1a90fe7600ac462b26e3228c579015971e39c19f056ede346 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1f7bd4b5b83c2fd9df5f008d5dc7feea7dbd9a4a0d228845bf69a348a0f23ec [INFO] running `Command { std: "docker" "start" "-a" "d1f7bd4b5b83c2fd9df5f008d5dc7feea7dbd9a4a0d228845bf69a348a0f23ec", 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 5.86s [INFO] running `Command { std: "docker" "inspect" "d1f7bd4b5b83c2fd9df5f008d5dc7feea7dbd9a4a0d228845bf69a348a0f23ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1f7bd4b5b83c2fd9df5f008d5dc7feea7dbd9a4a0d228845bf69a348a0f23ec", kill_on_drop: false }` [INFO] [stdout] d1f7bd4b5b83c2fd9df5f008d5dc7feea7dbd9a4a0d228845bf69a348a0f23ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a4e36980b22d2592e4fc8c243619ffb737fd539ac7f70283754af2735868ca19 [INFO] running `Command { std: "docker" "start" "-a" "a4e36980b22d2592e4fc8c243619ffb737fd539ac7f70283754af2735868ca19", 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] [stderr] | [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.45s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/genie-d73501ca9905252a) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test errors::tests::test_genie_error_from_method ... ok [INFO] [stdout] test errors::tests::test_genie_error ... ok [INFO] [stdout] test context::tests::test_shell_detection ... ok [INFO] [stdout] test messages::template::tests::test_template_missing_field ... ok [INFO] [stdout] test messages::template::tests::test_template ... ok [INFO] [stdout] test model::tests::test_model_adapter_error ... ok [INFO] [stdout] test filesystem::tests::test_walk_dir_not_found ... ok [INFO] [stdout] test run::file_extensions::tests::test_get_language_from_extension ... 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::template::tests::test_expand_template ... ok [INFO] [stdout] test model::tests::test_model_adapter ... ok [INFO] [stdout] test filesystem::tests::test_walk_dir ... ok [INFO] [stdout] test messages::tests::test_shell_template ... ok [INFO] [stdout] test run::script::tests::test_parse_script_no_source_path ... ok [INFO] [stdout] test run::template::tests::test_project_context_expansion ... ok [INFO] [stdout] test run::script::tests::test_parses_project_analysis ... ok [INFO] [stdout] test run::script::tests::test_parse_script_no_template ... ok [INFO] [stdout] test run::script::tests::test_parse_script_no_model ... ok [INFO] [stdout] test run::script::tests::test_parse_script ... 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' (30) 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: 0x5e41bcfbae5a - std[69d51b4813ba037]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5e41bcfbae5a - std[69d51b4813ba037]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5e41bcfbae5a - std[69d51b4813ba037]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5e41bcfbae5a - <::print::DisplayBacktrace as core[51d4adbef590f61]::fmt::Display>::fmt [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5e41bcfd3dca - ::fmt [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5e41bcfd3dca - core[51d4adbef590f61]::fmt::write [INFO] [stdout] 6: 0x5e41bcfc01c2 - std[69d51b4813ba037]::io::default_write_fmt::> [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5e41bcfc01c2 - as std[69d51b4813ba037]::io::Write>::write_fmt [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x5e41bcf96a7f - ::print [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5e41bcf96a7f - std[69d51b4813ba037]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5e41bcfb1ad9 - std[69d51b4813ba037]::panicking::default_hook [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5e41bc41a80c - core[51d4adbef590f61]::ops::function::Fn<(&'a std[69d51b4813ba037]::panic::PanicHookInfo<'b>,), Output = ()> + core[51d4adbef590f61]::marker::Sync + core[51d4adbef590f61]::marker::Send> as core[51d4adbef590f61]::ops::function::Fn<(&std[69d51b4813ba037]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 12: 0x5e41bc41a80c - test[8fe65b9e05bf4c74]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5e41bcfb1d52 - core[51d4adbef590f61]::ops::function::Fn<(&'a std[69d51b4813ba037]::panic::PanicHookInfo<'b>,), Output = ()> + core[51d4adbef590f61]::marker::Sync + core[51d4adbef590f61]::marker::Send> as core[51d4adbef590f61]::ops::function::Fn<(&std[69d51b4813ba037]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/alloc/src/boxed.rs:2254:9 [INFO] [stdout] 14: 0x5e41bcfb1d52 - std[69d51b4813ba037]::panicking::panic_with_hook [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5e41bcf96b38 - std[69d51b4813ba037]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5e41bcf8e009 - std[69d51b4813ba037]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5e41bcf97bcd - __rustc[cb16bc19fc993bd7]::rust_begin_unwind [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5e41bcfd472c - core[51d4adbef590f61]::panicking::panic_fmt [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5e41bcfd45e3 - core[51d4adbef590f61]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5e41bc2e5d5c - core[51d4adbef590f61]::panicking::assert_failed:: [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5e41bc37f8fb - genie[be544cd0564de088]::filesystem::tests::test_walk_dir_nested_dir [INFO] [stdout] at /opt/rustwide/workdir/src/filesystem/mod.rs:103:9 [INFO] [stdout] 22: 0x5e41bc375607 - genie[be544cd0564de088]::filesystem::tests::test_walk_dir_nested_dir::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/filesystem/mod.rs:64:34 [INFO] [stdout] 23: 0x5e41bc320a36 - >::call_once [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5e41bc40e8eb - core[51d4adbef590f61]::result::Result<(), alloc[18203fec9a0cd4ec]::string::String> as core[51d4adbef590f61]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5e41bc40e8eb - test[8fe65b9e05bf4c74]::__rust_begin_short_backtrace::, fn() -> core[51d4adbef590f61]::result::Result<(), alloc[18203fec9a0cd4ec]::string::String>> [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x5e41bc41b2db - test[8fe65b9e05bf4c74]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x5e41bc41b2db - as core[51d4adbef590f61]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x5e41bc41b2db - std[69d51b4813ba037]::panicking::catch_unwind::do_call::, core[51d4adbef590f61]::result::Result<(), alloc[18203fec9a0cd4ec]::string::String>> [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5e41bc41b2db - std[69d51b4813ba037]::panicking::catch_unwind::, core[51d4adbef590f61]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5e41bc41b2db - std[69d51b4813ba037]::panic::catch_unwind::, core[51d4adbef590f61]::result::Result<(), alloc[18203fec9a0cd4ec]::string::String>> [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5e41bc41b2db - test[8fe65b9e05bf4c74]::run_test_in_process [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x5e41bc41b2db - test[8fe65b9e05bf4c74]::run_test::{closure#0} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x5e41bc4169f4 - test[8fe65b9e05bf4c74]::run_test::{closure#1} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x5e41bc4169f4 - std[69d51b4813ba037]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5e41bc41dee2 - std[69d51b4813ba037]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x5e41bc41dee2 - ::{closure#1}::{closure#0}> as core[51d4adbef590f61]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5e41bc41dee2 - std[69d51b4813ba037]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5e41bc41dee2 - std[69d51b4813ba037]::panicking::catch_unwind::<(), core[51d4adbef590f61]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5e41bc41dee2 - std[69d51b4813ba037]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5e41bc41dee2 - std[69d51b4813ba037]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x5e41bc41dee2 - ::{closure#1} as core[51d4adbef590f61]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5e41bcfb9f0f - + core[51d4adbef590f61]::marker::Send> as core[51d4adbef590f61]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/alloc/src/boxed.rs:2240:9 [INFO] [stdout] 43: 0x5e41bcfb9f0f - ::new::thread_start [INFO] [stdout] at /rustc/d933cf483edf1605142ac6899ff32536c0ad8b22/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x791b94438aa4 - [INFO] [stdout] 45: 0x791b944c5a64 - 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.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin genie` [INFO] running `Command { std: "docker" "inspect" "a4e36980b22d2592e4fc8c243619ffb737fd539ac7f70283754af2735868ca19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e36980b22d2592e4fc8c243619ffb737fd539ac7f70283754af2735868ca19", kill_on_drop: false }` [INFO] [stdout] a4e36980b22d2592e4fc8c243619ffb737fd539ac7f70283754af2735868ca19