[INFO] fetching crate valida-vm-api-linux-x86 1.0.0... [INFO] checking valida-vm-api-linux-x86-1.0.0 against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] extracting crate valida-vm-api-linux-x86 1.0.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate valida-vm-api-linux-x86 1.0.0 [INFO] finished tweaking crates.io crate valida-vm-api-linux-x86 1.0.0 [INFO] tweaked toml for crates.io crate valida-vm-api-linux-x86 1.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate valida-vm-api-linux-x86 1.0.0 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 valida-vm-api-linux-x86 1.0.0 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9b10dc2d379951b6b7147a78d911d25fc35336c43065aa0bb176105a7170b485 [INFO] running `Command { std: "docker" "start" "-a" "9b10dc2d379951b6b7147a78d911d25fc35336c43065aa0bb176105a7170b485", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b10dc2d379951b6b7147a78d911d25fc35336c43065aa0bb176105a7170b485", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b10dc2d379951b6b7147a78d911d25fc35336c43065aa0bb176105a7170b485", kill_on_drop: false }` [INFO] [stdout] 9b10dc2d379951b6b7147a78d911d25fc35336c43065aa0bb176105a7170b485 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] abff8c642a3abd67d08faeba37a645f42ed6da59b6b21b639da81cf021118fed [INFO] running `Command { std: "docker" "start" "-a" "abff8c642a3abd67d08faeba37a645f42ed6da59b6b21b639da81cf021118fed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Checking miniz_oxide v0.8.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking rust-embed-utils v8.5.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking tempfile v3.15.0 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Checking rust-embed v8.5.0 [INFO] [stderr] Checking valida-vm-api-linux-x86 v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/extract_executable.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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/extract_executable.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/extract_executable.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[folder = "binary"] [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] 12 + #[derive(RustEmbed)] [INFO] [stdout] 13 | struct Asset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/extract_executable.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[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/extract_executable.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/extract_executable.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[folder = "binary"] [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] 12 + #[derive(RustEmbed)] [INFO] [stdout] 13 | struct Asset; [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/extract_executable.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 12 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 16 | Asset::get("valida.gz").ok_or(Error::other("Missing embedded valida executable"))?; [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 `valida-vm-api-linux-x86` (lib test) due to 3 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/extract_executable.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 12 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 16 | Asset::get("valida.gz").ok_or(Error::other("Missing embedded valida executable"))?; [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 `valida-vm-api-linux-x86` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "abff8c642a3abd67d08faeba37a645f42ed6da59b6b21b639da81cf021118fed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abff8c642a3abd67d08faeba37a645f42ed6da59b6b21b639da81cf021118fed", kill_on_drop: false }` [INFO] [stdout] abff8c642a3abd67d08faeba37a645f42ed6da59b6b21b639da81cf021118fed