[INFO] fetching crate mnm 1.0.3... [INFO] checking mnm-1.0.3 against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] extracting crate mnm 1.0.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate mnm 1.0.3 [INFO] finished tweaking crates.io crate mnm 1.0.3 [INFO] tweaked toml for crates.io crate mnm 1.0.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate mnm 1.0.3 on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mnm 1.0.3 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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fbda99f5ab79b93c03c40c7803d342be0d29b10d753e352a8aab4689a19b7f3 [INFO] running `Command { std: "docker" "start" "-a" "6fbda99f5ab79b93c03c40c7803d342be0d29b10d753e352a8aab4689a19b7f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fbda99f5ab79b93c03c40c7803d342be0d29b10d753e352a8aab4689a19b7f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fbda99f5ab79b93c03c40c7803d342be0d29b10d753e352a8aab4689a19b7f3", kill_on_drop: false }` [INFO] [stdout] 6fbda99f5ab79b93c03c40c7803d342be0d29b10d753e352a8aab4689a19b7f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a703a6baab453b3503b5947b746db694322beb59719ebe547d9bf860ed476eb [INFO] running `Command { std: "docker" "start" "-a" "8a703a6baab453b3503b5947b746db694322beb59719ebe547d9bf860ed476eb", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.18 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.9.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Checking rust-embed v8.5.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking serde_json_borrow v0.7.1 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crystals-dilithium v1.0.0 [INFO] [stderr] Checking mnm v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[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/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/main.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[folder = "data/"] [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] 15 + #[derive(RustEmbed)] [INFO] [stdout] 16 | struct Asset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prefix` in this scope [INFO] [stdout] --> src/main.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[prefix = "dictionary/"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `prefix` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 15 + #[derive(RustEmbed)] [INFO] [stdout] 16 | struct Asset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/main.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[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/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/main.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 15 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 57 | let file_binding = Asset::get("dictionary/dictionary.xz").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [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] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/main.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | #[folder = "data/"] [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] 15 + #[derive(RustEmbed)] [INFO] [stdout] 16 | struct Asset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `prefix` in this scope [INFO] [stdout] --> src/main.rs:14:3 [INFO] [stdout] | [INFO] [stdout] 14 | #[prefix = "dictionary/"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `prefix` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 15 + #[derive(RustEmbed)] [INFO] [stdout] 16 | struct Asset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mnm` (bin "mnm") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope [INFO] [stdout] --> src/main.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 15 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 57 | let file_binding = Asset::get("dictionary/dictionary.xz").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `Asset` [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] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mnm` (bin "mnm" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "8a703a6baab453b3503b5947b746db694322beb59719ebe547d9bf860ed476eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a703a6baab453b3503b5947b746db694322beb59719ebe547d9bf860ed476eb", kill_on_drop: false }` [INFO] [stdout] 8a703a6baab453b3503b5947b746db694322beb59719ebe547d9bf860ed476eb