[INFO] fetching crate base1000 0.1.1... [INFO] checking base1000-0.1.1 against try#2278ef25f90817c20d6dd0d2da58a990eb6f53cb for pr-145108-1 [INFO] extracting crate base1000 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate base1000 0.1.1 [INFO] finished tweaking crates.io crate base1000 0.1.1 [INFO] tweaked toml for crates.io crate base1000 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate base1000 0.1.1 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] crate crates.io crate base1000 0.1.1 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" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 221ff7b5d68dc139c24d40ef8d7bb76321a1ab27e097de5c53f01d8a7bb1df61 [INFO] running `Command { std: "docker" "start" "-a" "221ff7b5d68dc139c24d40ef8d7bb76321a1ab27e097de5c53f01d8a7bb1df61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "221ff7b5d68dc139c24d40ef8d7bb76321a1ab27e097de5c53f01d8a7bb1df61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "221ff7b5d68dc139c24d40ef8d7bb76321a1ab27e097de5c53f01d8a7bb1df61", kill_on_drop: false }` [INFO] [stdout] 221ff7b5d68dc139c24d40ef8d7bb76321a1ab27e097de5c53f01d8a7bb1df61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 9e0da2a527cee3625429ca1c249c5a5eb0b7f2758dc9ec9bc39556f2678244ff [INFO] running `Command { std: "docker" "start" "-a" "9e0da2a527cee3625429ca1c249c5a5eb0b7f2758dc9ec9bc39556f2678244ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling bstr v1.11.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking clap_builder v4.5.32 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking rust-embed-utils v8.6.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling rust-embed-impl v8.6.0 [INFO] [stderr] Checking rust-embed v8.6.0 [INFO] [stderr] Checking clap v4.5.32 [INFO] [stderr] Checking base1000 v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/lib.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(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/lib.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/lib.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[folder = "千字文"] [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] 43 + #[derive(RustEmbed)] [INFO] [stdout] 44 | struct QianZiWenAssets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `include` in this scope [INFO] [stdout] --> src/lib.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[include = "*.txt"] [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] 43 + #[derive(RustEmbed)] [INFO] [stdout] 44 | struct QianZiWenAssets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/lib.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(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/lib.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/lib.rs:41:3 [INFO] [stdout] | [INFO] [stdout] 41 | #[folder = "千字文"] [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] 43 + #[derive(RustEmbed)] [INFO] [stdout] 44 | struct QianZiWenAssets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `include` in this scope [INFO] [stdout] --> src/lib.rs:42:3 [INFO] [stdout] | [INFO] [stdout] 42 | #[include = "*.txt"] [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] 43 + #[derive(RustEmbed)] [INFO] [stdout] 44 | struct QianZiWenAssets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `iter` found for struct `QianZiWenAssets` in the current scope [INFO] [stdout] --> src/lib.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 43 | struct QianZiWenAssets; [INFO] [stdout] | ---------------------- function or associated item `iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 57 | for file in QianZiWenAssets::iter() { [INFO] [stdout] | ^^^^ function or associated item not found in `QianZiWenAssets` [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 `iter`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `QianZiWenAssets` is not an iterator [INFO] [stdout] --> src/lib.rs:58:73 [INFO] [stdout] | [INFO] [stdout] 43 | struct QianZiWenAssets; [INFO] [stdout] | ---------------------- function or associated item `get` not found for this struct because it doesn't satisfy `QianZiWenAssets: Iterator` or `QianZiWenAssets: itertools::Itertools` [INFO] [stdout] ... [INFO] [stdout] 58 | for (index, character) in std::str::from_utf8(&QianZiWenAssets::get(&file).unwrap().data) [INFO] [stdout] | ^^^ `QianZiWenAssets` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `QianZiWenAssets: Iterator` [INFO] [stdout] which is required by `QianZiWenAssets: itertools::Itertools` [INFO] [stdout] `&QianZiWenAssets: Iterator` [INFO] [stdout] which is required by `&QianZiWenAssets: itertools::Itertools` [INFO] [stdout] `&mut QianZiWenAssets: Iterator` [INFO] [stdout] which is required by `&mut QianZiWenAssets: itertools::Itertools` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/2278ef25f90817c20d6dd0d2da58a990eb6f53cb/library/core/src/iter/traits/iterator.rs:40:1 [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: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `iter` found for struct `QianZiWenAssets` in the current scope [INFO] [stdout] --> src/lib.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 43 | struct QianZiWenAssets; [INFO] [stdout] | ---------------------- function or associated item `iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 57 | for file in QianZiWenAssets::iter() { [INFO] [stdout] | ^^^^ function or associated item not found in `QianZiWenAssets` [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 `iter`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `base1000` (lib test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: `QianZiWenAssets` is not an iterator [INFO] [stdout] --> src/lib.rs:58:73 [INFO] [stdout] | [INFO] [stdout] 43 | struct QianZiWenAssets; [INFO] [stdout] | ---------------------- function or associated item `get` not found for this struct because it doesn't satisfy `QianZiWenAssets: Iterator` or `QianZiWenAssets: Itertools` [INFO] [stdout] ... [INFO] [stdout] 58 | for (index, character) in std::str::from_utf8(&QianZiWenAssets::get(&file).unwrap().data) [INFO] [stdout] | ^^^ `QianZiWenAssets` is not an iterator [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `QianZiWenAssets: Iterator` [INFO] [stdout] which is required by `QianZiWenAssets: Itertools` [INFO] [stdout] `&QianZiWenAssets: Iterator` [INFO] [stdout] which is required by `&QianZiWenAssets: Itertools` [INFO] [stdout] `&mut QianZiWenAssets: Iterator` [INFO] [stdout] which is required by `&mut QianZiWenAssets: Itertools` [INFO] [stdout] note: the trait `Iterator` must be implemented [INFO] [stdout] --> /rustc/2278ef25f90817c20d6dd0d2da58a990eb6f53cb/library/core/src/iter/traits/iterator.rs:40:1 [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: `Itertools` [INFO] [stdout] candidate #3: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `base1000` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "9e0da2a527cee3625429ca1c249c5a5eb0b7f2758dc9ec9bc39556f2678244ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e0da2a527cee3625429ca1c249c5a5eb0b7f2758dc9ec9bc39556f2678244ff", kill_on_drop: false }` [INFO] [stdout] 9e0da2a527cee3625429ca1c249c5a5eb0b7f2758dc9ec9bc39556f2678244ff