[INFO] fetching crate http-server 1.0.0-pre.e025b58... [INFO] checking http-server-1.0.0-pre.e025b58 against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] extracting crate http-server 1.0.0-pre.e025b58 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate http-server 1.0.0-pre.e025b58 [INFO] finished tweaking crates.io crate http-server 1.0.0-pre.e025b58 [INFO] tweaked toml for crates.io crate http-server 1.0.0-pre.e025b58 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate http-server 1.0.0-pre.e025b58 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 http-server 1.0.0-pre.e025b58 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-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 654526805f833ec6c3d522aa97a45387aade5113bd5064e67163a67bd0dff815 [INFO] running `Command { std: "docker" "start" "-a" "654526805f833ec6c3d522aa97a45387aade5113bd5064e67163a67bd0dff815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "654526805f833ec6c3d522aa97a45387aade5113bd5064e67163a67bd0dff815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "654526805f833ec6c3d522aa97a45387aade5113bd5064e67163a67bd0dff815", kill_on_drop: false }` [INFO] [stdout] 654526805f833ec6c3d522aa97a45387aade5113bd5064e67163a67bd0dff815 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7d06603738b41da81dfeb1f871c65b1dfb3460ad07fec0d94fcf3be88673757 [INFO] running `Command { std: "docker" "start" "-a" "b7d06603738b41da81dfeb1f871c65b1dfb3460ad07fec0d94fcf3be88673757", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling pest v2.8.4 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking num-modular v0.6.1 [INFO] [stderr] Checking clap_builder v4.5.26 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking bitflags v2.7.0 [INFO] [stderr] Compiling rust-embed-utils v8.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking num-order v1.2.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking tower-http v0.6.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling pest_meta v2.8.4 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling pest_generator v2.8.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling rust-embed-impl v8.5.0 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling pest_derive v2.8.4 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking rust-embed v8.5.0 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking clap v4.5.26 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Compiling neli-proc-macros v0.1.3 [INFO] [stderr] Checking handlebars v6.3.2 [INFO] [stderr] Checking neli v0.6.4 [INFO] [stderr] Checking local-ip-address v0.6.3 [INFO] [stderr] Checking hyper v1.5.2 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking http-server v1.0.0-pre.e025b58 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/handler/file_explorer/mod.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[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/handler/file_explorer/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/handler/file_explorer/mod.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[folder = "./ui"] [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] 35 + #[derive(RustEmbed)] [INFO] [stdout] 36 | struct FileExplorerAssets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/handler/file_explorer/mod.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[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/handler/file_explorer/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/handler/file_explorer/mod.rs:34:3 [INFO] [stdout] | [INFO] [stdout] 34 | #[folder = "./ui"] [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] 35 + #[derive(RustEmbed)] [INFO] [stdout] 36 | struct FileExplorerAssets; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `FileExplorerAssets` in the current scope [INFO] [stdout] --> src/handler/file_explorer/mod.rs:314:49 [INFO] [stdout] | [INFO] [stdout] 35 | struct FileExplorerAssets; [INFO] [stdout] | ------------------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 314 | if let Some(file) = FileExplorerAssets::get(path) { [INFO] [stdout] | ^^^ function or associated item not found in `FileExplorerAssets` [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[E0599]: no function or associated item named `get` found for struct `FileExplorerAssets` in the current scope [INFO] [stdout] --> src/handler/file_explorer/mod.rs:327:41 [INFO] [stdout] | [INFO] [stdout] 35 | struct FileExplorerAssets; [INFO] [stdout] | ------------------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 327 | let index = FileExplorerAssets::get("index.html").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `FileExplorerAssets` [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[E0599]: no function or associated item named `get` found for struct `FileExplorerAssets` in the current scope [INFO] [stdout] --> src/handler/file_explorer/mod.rs:314:49 [INFO] [stdout] | [INFO] [stdout] 35 | struct FileExplorerAssets; [INFO] [stdout] | ------------------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 314 | if let Some(file) = FileExplorerAssets::get(path) { [INFO] [stdout] | ^^^ function or associated item not found in `FileExplorerAssets` [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[E0599]: no function or associated item named `get` found for struct `FileExplorerAssets` in the current scope [INFO] [stdout] --> src/handler/file_explorer/mod.rs:327:41 [INFO] [stdout] | [INFO] [stdout] 35 | struct FileExplorerAssets; [INFO] [stdout] | ------------------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 327 | let index = FileExplorerAssets::get("index.html").unwrap(); [INFO] [stdout] | ^^^ function or associated item not found in `FileExplorerAssets` [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 `http-server` (bin "http-server" test) 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 `http-server` (bin "http-server") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "b7d06603738b41da81dfeb1f871c65b1dfb3460ad07fec0d94fcf3be88673757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7d06603738b41da81dfeb1f871c65b1dfb3460ad07fec0d94fcf3be88673757", kill_on_drop: false }` [INFO] [stdout] b7d06603738b41da81dfeb1f871c65b1dfb3460ad07fec0d94fcf3be88673757