[INFO] cloning repository https://github.com/lemon-wzy/password-generator-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lemon-wzy/password-generator-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flemon-wzy%2Fpassword-generator-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flemon-wzy%2Fpassword-generator-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5c0fe4d3e1ad1309bbc7d66cae4ae2ec55a31f4 [INFO] checking lemon-wzy/password-generator-rust against try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flemon-wzy%2Fpassword-generator-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lemon-wzy/password-generator-rust [INFO] finished tweaking git repo https://github.com/lemon-wzy/password-generator-rust [INFO] tweaked toml for git repo https://github.com/lemon-wzy/password-generator-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lemon-wzy/password-generator-rust 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] crate git repo https://github.com/lemon-wzy/password-generator-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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e42f7e56dfd120030a32ce3e3c470e64adbd48ed75d5ff909ec900935065786d [INFO] running `Command { std: "docker" "start" "-a" "e42f7e56dfd120030a32ce3e3c470e64adbd48ed75d5ff909ec900935065786d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e42f7e56dfd120030a32ce3e3c470e64adbd48ed75d5ff909ec900935065786d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e42f7e56dfd120030a32ce3e3c470e64adbd48ed75d5ff909ec900935065786d", kill_on_drop: false }` [INFO] [stdout] e42f7e56dfd120030a32ce3e3c470e64adbd48ed75d5ff909ec900935065786d [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bb0578b10c50097707962023a69a5a3c2f5e64be8dee7d380cadeb8f496b771 [INFO] running `Command { std: "docker" "start" "-a" "7bb0578b10c50097707962023a69a5a3c2f5e64be8dee7d380cadeb8f496b771", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking rust-embed-utils v8.4.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking pest v2.7.10 [INFO] [stderr] Compiling rust-embed-impl v8.4.0 [INFO] [stderr] Checking rust-embed v8.4.0 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking password-generator v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/config_read.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Embed)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Embed` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/config_read.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/config_read.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[folder = "src/resources/"] [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] 8 + #[derive(RustEmbed)] [INFO] [stdout] 9 | pub struct Assert; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `include` in this scope [INFO] [stdout] --> src/config_read.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[include = "*.toml"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `include` is in scope, but it is a function-like macro [INFO] [stdout] help: `include` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(RustEmbed)] [INFO] [stdout] 9 | pub struct Assert; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/config_read.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Embed)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Embed` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/config_read.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/config_read.rs:6:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[folder = "src/resources/"] [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] 8 + #[derive(RustEmbed)] [INFO] [stdout] 9 | pub struct Assert; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `include` in this scope [INFO] [stdout] --> src/config_read.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[include = "*.toml"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `include` is in scope, but it is a function-like macro [INFO] [stdout] help: `include` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(RustEmbed)] [INFO] [stdout] 9 | pub struct Assert; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Assert` in the current scope [INFO] [stdout] --> src/config_read.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Assert; [INFO] [stdout] | ----------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | if let Some(file) = Assert::get("config.toml") { [INFO] [stdout] | ^^^ function or associated item not found in `Assert` [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 `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `toml_edit::table::TableLike` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Assert` in the current scope [INFO] [stdout] --> src/config_read.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Assert; [INFO] [stdout] | ----------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 26 | if let Some(file) = Assert::get("config.toml") { [INFO] [stdout] | ^^^ function or associated item not found in `Assert` [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 `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] candidate #3: `toml_edit::table::TableLike` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `password-generator` (bin "password-generator") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `password-generator` (bin "password-generator" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "7bb0578b10c50097707962023a69a5a3c2f5e64be8dee7d380cadeb8f496b771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bb0578b10c50097707962023a69a5a3c2f5e64be8dee7d380cadeb8f496b771", kill_on_drop: false }` [INFO] [stdout] 7bb0578b10c50097707962023a69a5a3c2f5e64be8dee7d380cadeb8f496b771