[INFO] cloning repository https://github.com/litcc/static_frontend_package [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/litcc/static_frontend_package" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flitcc%2Fstatic_frontend_package", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flitcc%2Fstatic_frontend_package'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2803a10bd073c6369f13f9ea665b460186628348 [INFO] checking litcc/static_frontend_package against master#73252d51d13c0e4f872c3c51defcf48174860ef6 for pr-119989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flitcc%2Fstatic_frontend_package" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/litcc/static_frontend_package on toolchain 73252d51d13c0e4f872c3c51defcf48174860ef6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73252d51d13c0e4f872c3c51defcf48174860ef6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/litcc/static_frontend_package [INFO] finished tweaking git repo https://github.com/litcc/static_frontend_package [INFO] tweaked toml for git repo https://github.com/litcc/static_frontend_package written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/litcc/static_frontend_package 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" "+73252d51d13c0e4f872c3c51defcf48174860ef6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking litcc/static_frontend_package against try#5d004039df46bb665b8ed6385386e3b1b007a6a8 for pr-119989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flitcc%2Fstatic_frontend_package" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/litcc/static_frontend_package on toolchain 5d004039df46bb665b8ed6385386e3b1b007a6a8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/litcc/static_frontend_package [INFO] finished tweaking git repo https://github.com/litcc/static_frontend_package [INFO] tweaked toml for git repo https://github.com/litcc/static_frontend_package written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/litcc/static_frontend_package 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" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a540902ab2b107718a709b73bbe7b4484a6b3ea4eb8553bb3d9ae5707faee51 [INFO] running `Command { std: "docker" "start" "-a" "9a540902ab2b107718a709b73bbe7b4484a6b3ea4eb8553bb3d9ae5707faee51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a540902ab2b107718a709b73bbe7b4484a6b3ea4eb8553bb3d9ae5707faee51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a540902ab2b107718a709b73bbe7b4484a6b3ea4eb8553bb3d9ae5707faee51", kill_on_drop: false }` [INFO] [stdout] 9a540902ab2b107718a709b73bbe7b4484a6b3ea4eb8553bb3d9ae5707faee51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5d004039df46bb665b8ed6385386e3b1b007a6a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcf1347ece58b73ebb434235e6245e4597bd08068df891943e446098323ee2d4 [INFO] running `Command { std: "docker" "start" "-a" "fcf1347ece58b73ebb434235e6245e4597bd08068df891943e446098323ee2d4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling rust-embed-utils v8.0.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.14 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling axum-macros v0.3.8 [INFO] [stderr] Compiling rust-embed-impl v8.0.0 [INFO] [stderr] Checking rust-embed v8.0.0 [INFO] [stderr] Checking axum-core v0.3.4 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking zstd v0.13.0 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking async-compression v0.4.4 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.4.4 [INFO] [stderr] Checking static_package v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/web_service.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(RustEmbed)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: #[derive(RustEmbed)] folder '/opt/rustwide/workdir/dist' does not exist. cwd: '/opt/rustwide/workdir' [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/web_service.rs:103:10 [INFO] [stdout] | [INFO] [stdout] 103 | #[derive(RustEmbed)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: #[derive(RustEmbed)] folder '/opt/rustwide/workdir/dist' does not exist. cwd: '/opt/rustwide/workdir' [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/web_service.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let mut path = uri.path().trim_start_matches('/').to_string(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/web_service.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let mut path = uri.path().trim_start_matches('/').to_string(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [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/web_service.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 105 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 120 | match Asset::get(path.as_str()) { [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: `SliceIndex` [INFO] [stdout] candidate #2: `RustEmbed` [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/web_service.rs:120:22 [INFO] [stdout] | [INFO] [stdout] 105 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 120 | match Asset::get(path.as_str()) { [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: `SliceIndex` [INFO] [stdout] candidate #2: `RustEmbed` [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/web_service.rs:128:52 [INFO] [stdout] | [INFO] [stdout] 105 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 128 | let body = boxed(Full::from(Asset::get(path.as_str()).unwrap().data)); [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: `SliceIndex` [INFO] [stdout] candidate #2: `RustEmbed` [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/web_service.rs:128:52 [INFO] [stdout] | [INFO] [stdout] 105 | struct Asset; [INFO] [stdout] | ------------ function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 128 | let body = boxed(Full::from(Asset::get(path.as_str()).unwrap().data)); [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: `SliceIndex` [INFO] [stdout] candidate #2: `RustEmbed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `static_package` (bin "static_package") due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `static_package` (bin "static_package" test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fcf1347ece58b73ebb434235e6245e4597bd08068df891943e446098323ee2d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf1347ece58b73ebb434235e6245e4597bd08068df891943e446098323ee2d4", kill_on_drop: false }` [INFO] [stdout] fcf1347ece58b73ebb434235e6245e4597bd08068df891943e446098323ee2d4