[INFO] fetching crate directorate 0.0.4... [INFO] checking directorate-0.0.4 against try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] extracting crate directorate 0.0.4 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate directorate 0.0.4 [INFO] finished tweaking crates.io crate directorate 0.0.4 [INFO] tweaked toml for crates.io crate directorate 0.0.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate directorate 0.0.4 on toolchain ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9d81b326ada6c7d90d915464f4da62f620ca2dd5dc0bd77238e9d08ec492625 [INFO] running `Command { std: "docker" "start" "-a" "d9d81b326ada6c7d90d915464f4da62f620ca2dd5dc0bd77238e9d08ec492625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9d81b326ada6c7d90d915464f4da62f620ca2dd5dc0bd77238e9d08ec492625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9d81b326ada6c7d90d915464f4da62f620ca2dd5dc0bd77238e9d08ec492625", kill_on_drop: false }` [INFO] [stdout] d9d81b326ada6c7d90d915464f4da62f620ca2dd5dc0bd77238e9d08ec492625 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86a52058dcc33256b794652975e427124d9e480f099846245f3b8e501cdb9f6e [INFO] running `Command { std: "docker" "start" "-a" "86a52058dcc33256b794652975e427124d9e480f099846245f3b8e501cdb9f6e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking rust-embed-utils v8.7.2 [INFO] [stderr] Compiling rust-embed-impl v8.7.2 [INFO] [stderr] Checking rust-embed v8.7.2 [INFO] [stderr] Checking directorate v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/lib.rs:103:7 [INFO] [stdout] | [INFO] [stdout] 103 | #[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] 104 + #[derive(RustEmbed)] [INFO] [stdout] 105 | struct Directory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: derive macro `Embed` is private [INFO] [stdout] --> src/lib.rs:102:26 [INFO] [stdout] | [INFO] [stdout] 102 | #[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] 102 - #[derive(rust_embed::Embed, Default)] [INFO] [stdout] 102 + #[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/lib.rs:108:25 [INFO] [stdout] | [INFO] [stdout] 108 | 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/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | struct Directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Directorate` [INFO] [stdout] --> src/lib.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | 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`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:108:51 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Directorate { [INFO] [stdout] | ------------------------------------------------ function or associated item `default` not found for this struct because it doesn't satisfy `Directorate: Default` [INFO] [stdout] ... [INFO] [stdout] 104 | struct Directory; [INFO] [stdout] | ---------------- doesn't satisfy `Directory: Embed` [INFO] [stdout] ... [INFO] [stdout] 108 | let generator = Directorate::::default(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `Directorate` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Directory: Embed` was not satisfied [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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 trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Directory: Embed` is not satisfied [INFO] [stdout] --> src/lib.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | 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/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | struct Directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Directorate` [INFO] [stdout] --> src/lib.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | 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`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:114:51 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Directorate { [INFO] [stdout] | ------------------------------------------------ function or associated item `default` not found for this struct because it doesn't satisfy `Directorate: Default` [INFO] [stdout] ... [INFO] [stdout] 104 | struct Directory; [INFO] [stdout] | ---------------- doesn't satisfy `Directory: Embed` [INFO] [stdout] ... [INFO] [stdout] 114 | let generator = Directorate::::default(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `Directorate` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Directory: Embed` was not satisfied [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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 trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Directory: Embed` is not satisfied [INFO] [stdout] --> src/lib.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 121 | 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/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | struct Directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Directorate` [INFO] [stdout] --> src/lib.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | 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`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:121:51 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Directorate { [INFO] [stdout] | ------------------------------------------------ function or associated item `default` not found for this struct because it doesn't satisfy `Directorate: Default` [INFO] [stdout] ... [INFO] [stdout] 104 | struct Directory; [INFO] [stdout] | ---------------- doesn't satisfy `Directory: Embed` [INFO] [stdout] ... [INFO] [stdout] 121 | let generator = Directorate::::default(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `Directorate` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Directory: Embed` was not satisfied [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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 trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Directory: Embed` is not satisfied [INFO] [stdout] --> src/lib.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | 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/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | struct Directory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `Directorate` [INFO] [stdout] --> src/lib.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | 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`, but its trait bounds were not satisfied [INFO] [stdout] --> src/lib.rs:131:51 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Directorate { [INFO] [stdout] | ------------------------------------------------ function or associated item `default` not found for this struct because it doesn't satisfy `Directorate: Default` [INFO] [stdout] ... [INFO] [stdout] 104 | struct Directory; [INFO] [stdout] | ---------------- doesn't satisfy `Directory: Embed` [INFO] [stdout] ... [INFO] [stdout] 131 | let generator = Directorate::::default(); [INFO] [stdout] | ^^^^^^^ function or associated item cannot be called on `Directorate` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `Directory: Embed` was not satisfied [INFO] [stdout] --> src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | 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 trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [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 `directorate` (lib test) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "86a52058dcc33256b794652975e427124d9e480f099846245f3b8e501cdb9f6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86a52058dcc33256b794652975e427124d9e480f099846245f3b8e501cdb9f6e", kill_on_drop: false }` [INFO] [stdout] 86a52058dcc33256b794652975e427124d9e480f099846245f3b8e501cdb9f6e