[INFO] cloning repository https://github.com/ssebide/seb-ai-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ssebide/seb-ai-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssebide%2Fseb-ai-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssebide%2Fseb-ai-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df9aa1e62e442791a6944868b960f52669ec7065 [INFO] testing ssebide/seb-ai-rust against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssebide%2Fseb-ai-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ssebide/seb-ai-rust [INFO] finished tweaking git repo https://github.com/ssebide/seb-ai-rust [INFO] tweaked toml for git repo https://github.com/ssebide/seb-ai-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ssebide/seb-ai-rust on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ssebide/seb-ai-rust 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dialoguer v0.11.0 [INFO] [stderr] Downloaded derive_builder_macro v0.12.0 [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded async-convert v1.0.0 [INFO] [stderr] Downloaded derive_builder_core v0.12.0 [INFO] [stderr] Downloaded globset v0.4.16 [INFO] [stderr] Downloaded backoff v0.4.0 [INFO] [stderr] Downloaded reqwest-eventsource v0.4.0 [INFO] [stderr] Downloaded tracing-attributes v0.1.29 [INFO] [stderr] Downloaded derive_builder v0.12.0 [INFO] [stderr] Downloaded async-openai v0.17.1 [INFO] [stderr] Downloaded encode_unicode v1.0.0 [INFO] [stderr] Downloaded bumpalo v3.18.1 [INFO] [stderr] Downloaded cc v1.2.27 [INFO] [stderr] Downloaded winnow v0.7.11 [INFO] [stderr] Downloaded unicode-width v0.2.1 [INFO] [stderr] Downloaded syn v2.0.103 [INFO] [stderr] Downloaded libc v0.2.173 [INFO] [stderr] Downloaded tokio v1.45.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f70e740d60ca610a4641096a94b72c89fcf479d21001c6ec78bafed2291c4c69 [INFO] running `Command { std: "docker" "start" "-a" "f70e740d60ca610a4641096a94b72c89fcf479d21001c6ec78bafed2291c4c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f70e740d60ca610a4641096a94b72c89fcf479d21001c6ec78bafed2291c4c69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f70e740d60ca610a4641096a94b72c89fcf479d21001c6ec78bafed2291c4c69", kill_on_drop: false }` [INFO] [stdout] f70e740d60ca610a4641096a94b72c89fcf479d21001c6ec78bafed2291c4c69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed41b22a1f9434ec0fb4400754c54c80f117ca586485d5e0a666b241f3599a1b [INFO] running `Command { std: "docker" "start" "-a" "ed41b22a1f9434ec0fb4400754c54c80f117ca586485d5e0a666b241f3599a1b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-convert v1.0.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling reqwest-eventsource v0.4.0 [INFO] [stderr] Compiling async-openai v0.17.1 [INFO] [stderr] Compiling seb-ai v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `asst::ThreadId: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/buddy/mod.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | thread_id: ThreadId, [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `asst::ThreadId` [INFO] [stdout] --> src/ais/asst.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct ThreadId(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `asst::ThreadId` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 300 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1732:12 [INFO] [stdout] | [INFO] [stdout] 1730 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1731 | where [INFO] [stdout] 1732 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `asst::ThreadId: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/buddy/mod.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | thread_id: ThreadId, [INFO] [stdout] | ^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `asst::ThreadId` [INFO] [stdout] --> src/ais/asst.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct ThreadId(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `asst::ThreadId` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 300 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/de/mod.rs:1871:12 [INFO] [stdout] | [INFO] [stdout] 1869 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1870 | where [INFO] [stdout] 1871 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `asst::ThreadId: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/buddy/mod.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, From, Deref, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Deserialize<'_>` is not implemented for `asst::ThreadId` [INFO] [stdout] --> src/ais/asst.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct ThreadId(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `asst::ThreadId` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 300 others [INFO] [stdout] note: required by a bound in `buddy::_::_serde::__private::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/private/de.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 24 | where [INFO] [stdout] 25 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `asst::ThreadId: Serialize` is not satisfied [INFO] [stdout] --> src/buddy/mod.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Debug, From, Deref, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] 32 | pub struct Conv { [INFO] [stdout] 33 | thread_id: ThreadId, [INFO] [stdout] | ------------------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `asst::ThreadId` [INFO] [stdout] --> src/ais/asst.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct ThreadId(String); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `asst::ThreadId` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 304 others [INFO] [stdout] note: required by a bound in `buddy::_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.219/src/ser/mod.rs:1866:21 [INFO] [stdout] | [INFO] [stdout] 1864 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1865 | where [INFO] [stdout] 1866 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/utils/files.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | .map(|arg0: GlobSet| get_glob_set(/* &[&str] */)) [INFO] [stdout] | ^^^^^^^^^^^^--------------- argument #1 of type `&[&str]` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/utils/files.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn get_glob_set(globs: &[&str]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ -------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec` cannot be built from an iterator over elements of type `&std::path::Path` [INFO] [stdout] --> src/utils/files.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 124 | Ok(paths.collect()) [INFO] [stdout] | ^^^^^^^ value of type `Vec` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] help: the trait `FromIterator<&std::path::Path>` is not implemented for `Vec` [INFO] [stdout] but trait `FromIterator` is implemented for it [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/vec/mod.rs:3668:0 [INFO] [stdout] = help: for that trait implementation, expected `PathBuf`, found `&std::path::Path` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> src/utils/files.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 100 | let walk_dir_it = WalkDir::new(dir) [INFO] [stdout] | ----------------- this expression has type `WalkDir` [INFO] [stdout] 101 | .max_depth(depth) [INFO] [stdout] 102 | .into_iter() [INFO] [stdout] | ----------- `Iterator::Item` is `Result` here [INFO] [stdout] 103 | .filter_entry(|e| { [INFO] [stdout] | __________- [INFO] [stdout] 104 | | if e.file_type().is_dir() { [INFO] [stdout] 105 | | !base_dir_exclude.is_match(e.path()) [INFO] [stdout] 106 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 119 | | }) [INFO] [stdout] | |__________- `Iterator::Item` remains `Result` here [INFO] [stdout] 120 | .filter_map(|e| e.ok().filter(|e| e.file_type().is_file())); [INFO] [stdout] | ---------------------------------------------------------- `Iterator::Item` changed to `DirEntry` here [INFO] [stdout] 121 | [INFO] [stdout] 122 | let paths = walk_dir_it.map(|e| e.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ `Iterator::Item` changed to `&Path` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/iter/traits/iterator.rs:2015:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `seb-ai` (bin "seb-ai") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "ed41b22a1f9434ec0fb4400754c54c80f117ca586485d5e0a666b241f3599a1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed41b22a1f9434ec0fb4400754c54c80f117ca586485d5e0a666b241f3599a1b", kill_on_drop: false }` [INFO] [stdout] ed41b22a1f9434ec0fb4400754c54c80f117ca586485d5e0a666b241f3599a1b