[INFO] fetching crate foundation_core 0.0.2... [INFO] checking foundation_core-0.0.2 against try#2278ef25f90817c20d6dd0d2da58a990eb6f53cb for pr-145108-1 [INFO] extracting crate foundation_core 0.0.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate foundation_core 0.0.2 [INFO] finished tweaking crates.io crate foundation_core 0.0.2 [INFO] tweaked toml for crates.io crate foundation_core 0.0.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate foundation_core 0.0.2 on toolchain 2278ef25f90817c20d6dd0d2da58a990eb6f53cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 216 packages to latest compatible versions [INFO] [stderr] Adding derive_more v1.0.0 (available: v2.0.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding toml v0.8.23 (available: v0.9.8) [INFO] [stderr] Adding toml_datetime v0.6.11 (available: v0.7.3) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 979e4e19458447663e342000636e5abc81610d4e0361be5d57d3a7991ea3d68b [INFO] running `Command { std: "docker" "start" "-a" "979e4e19458447663e342000636e5abc81610d4e0361be5d57d3a7991ea3d68b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "979e4e19458447663e342000636e5abc81610d4e0361be5d57d3a7991ea3d68b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "979e4e19458447663e342000636e5abc81610d4e0361be5d57d3a7991ea3d68b", kill_on_drop: false }` [INFO] [stdout] 979e4e19458447663e342000636e5abc81610d4e0361be5d57d3a7991ea3d68b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bbd6c89346c529b6377e33f84fa3e52c9b58302f280d2174dc9a57c124e6ac9 [INFO] running `Command { std: "docker" "start" "-a" "2bbd6c89346c529b6377e33f84fa3e52c9b58302f280d2174dc9a57c124e6ac9", kill_on_drop: false }` [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling serde_yml v0.0.12 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking libyml v0.0.5 [INFO] [stderr] Checking openssl v0.10.73 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking rust-embed-utils v8.7.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling tracing-test-macro v0.2.5 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling rust-embed-impl v8.7.2 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking rust-embed v8.7.2 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.11.3 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking native-tls v0.2.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking foundation_core v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking tracing-test v0.2.5 [INFO] [stdout] warning: useless assignment of variable of type `usize` to itself [INFO] [stdout] --> src/io/ubytes/mod.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 436 | until_pos = until_pos; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/io/mem/memory.rs:312:21 [INFO] [stdout] | [INFO] [stdout] 312 | pub fn drain(&mut self, range: R) -> Drain [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] 312 | pub fn drain(&mut self, range: R) -> Drain<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/io/mem/primitives.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn opt_slice(&self, range: Option) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | pub fn opt_slice(&self, range: Option) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/directorate/mod.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | #[folder = "test_directory/"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 105 + #[derive(RustEmbed)] [INFO] [stdout] 106 | struct Directory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: derive macro `Embed` is private [INFO] [stdout] --> src/directorate/mod.rs:103:26 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(rust_embed::Embed, Default)] [INFO] [stdout] | ^^^^^ private derive macro [INFO] [stdout] | [INFO] [stdout] note: the derive macro `Embed` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rust-embed-8.7.2/src/lib.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub use RustEmbed as Embed; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: import `Embed` directly [INFO] [stdout] | [INFO] [stdout] 103 - #[derive(rust_embed::Embed, Default)] [INFO] [stdout] 103 + #[derive(rust_embed_impl::RustEmbed, Default)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Directory: Embed` is not satisfied [INFO] [stdout] --> src/directorate/mod.rs:109:25 [INFO] [stdout] | [INFO] [stdout] 109 | let generator = Directorate::::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Embed` is not implemented for `Directory` [INFO] [stdout] --> src/directorate/mod.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | struct Directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `directorate::Directorate` [INFO] [stdout] --> src/directorate/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Directorate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Directorate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `default` exists for struct `directorate::Directorate`, but its trait bounds were not satisfied [INFO] [stdout] --> src/directorate/mod.rs:109:51 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Directorate { [INFO] [stdout] | ------------------------------------------------ function or associated item `default` not found for this struct because it doesn't satisfy `directorate::Directorate: Default` [INFO] [stdout] ... [INFO] [stdout] 105 | struct Directory; [INFO] [stdout] | ---------------- doesn't satisfy `Directory: Embed` [INFO] [stdout] ... [INFO] [stdout] 109 | let generator = Directorate::::default(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `directorate::Directorate` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Directory: Embed` was not satisfied [INFO] [stdout] --> src/directorate/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | impl Default for Directorate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------- -------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Embed` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rust-embed-8.7.2/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait RustEmbed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `default`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] candidate #2: `tinyvec::array::Array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Directory: Embed` is not satisfied [INFO] [stdout] --> src/directorate/mod.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | let generator = Directorate::::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Embed` is not implemented for `Directory` [INFO] [stdout] --> src/directorate/mod.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | struct Directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `directorate::Directorate` [INFO] [stdout] --> src/directorate/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Directorate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Directorate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `default` exists for struct `directorate::Directorate`, but its trait bounds were not satisfied [INFO] [stdout] --> src/directorate/mod.rs:115:51 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Directorate { [INFO] [stdout] | ------------------------------------------------ function or associated item `default` not found for this struct because it doesn't satisfy `directorate::Directorate: Default` [INFO] [stdout] ... [INFO] [stdout] 105 | struct Directory; [INFO] [stdout] | ---------------- doesn't satisfy `Directory: Embed` [INFO] [stdout] ... [INFO] [stdout] 115 | let generator = Directorate::::default(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `directorate::Directorate` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Directory: Embed` was not satisfied [INFO] [stdout] --> src/directorate/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | impl Default for Directorate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------- -------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Embed` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rust-embed-8.7.2/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait RustEmbed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `default`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] candidate #2: `tinyvec::array::Array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Directory: Embed` is not satisfied [INFO] [stdout] --> src/directorate/mod.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | let generator = Directorate::::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Embed` is not implemented for `Directory` [INFO] [stdout] --> src/directorate/mod.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | struct Directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `directorate::Directorate` [INFO] [stdout] --> src/directorate/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Directorate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Directorate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `default` exists for struct `directorate::Directorate`, but its trait bounds were not satisfied [INFO] [stdout] --> src/directorate/mod.rs:122:51 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Directorate { [INFO] [stdout] | ------------------------------------------------ function or associated item `default` not found for this struct because it doesn't satisfy `directorate::Directorate: Default` [INFO] [stdout] ... [INFO] [stdout] 105 | struct Directory; [INFO] [stdout] | ---------------- doesn't satisfy `Directory: Embed` [INFO] [stdout] ... [INFO] [stdout] 122 | let generator = Directorate::::default(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `directorate::Directorate` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Directory: Embed` was not satisfied [INFO] [stdout] --> src/directorate/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | impl Default for Directorate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------- -------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Embed` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rust-embed-8.7.2/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait RustEmbed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `default`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] candidate #2: `tinyvec::array::Array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Directory: Embed` is not satisfied [INFO] [stdout] --> src/directorate/mod.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | let generator = Directorate::::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Embed` is not implemented for `Directory` [INFO] [stdout] --> src/directorate/mod.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | struct Directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `directorate::Directorate` [INFO] [stdout] --> src/directorate/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Directorate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Directorate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the function or associated item `default` exists for struct `directorate::Directorate`, but its trait bounds were not satisfied [INFO] [stdout] --> src/directorate/mod.rs:132:51 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Directorate { [INFO] [stdout] | ------------------------------------------------ function or associated item `default` not found for this struct because it doesn't satisfy `directorate::Directorate: Default` [INFO] [stdout] ... [INFO] [stdout] 105 | struct Directory; [INFO] [stdout] | ---------------- doesn't satisfy `Directory: Embed` [INFO] [stdout] ... [INFO] [stdout] 132 | let generator = Directorate::::default(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `directorate::Directorate` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Directory: Embed` was not satisfied [INFO] [stdout] --> src/directorate/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | impl Default for Directorate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------- -------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `Embed` must be implemented [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rust-embed-8.7.2/src/lib.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait RustEmbed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `default`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] candidate #2: `tinyvec::array::Array` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `foundation_core` (lib test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "2bbd6c89346c529b6377e33f84fa3e52c9b58302f280d2174dc9a57c124e6ac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bbd6c89346c529b6377e33f84fa3e52c9b58302f280d2174dc9a57c124e6ac9", kill_on_drop: false }` [INFO] [stdout] 2bbd6c89346c529b6377e33f84fa3e52c9b58302f280d2174dc9a57c124e6ac9