[INFO] crate rust-embed 5.5.1 is already in cache
[INFO] checking rust-embed-5.5.1 against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] extracting crate rust-embed 5.5.1 into /workspace/builds/worker-8/source
[INFO] validating manifest of crates.io crate rust-embed 5.5.1 on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking crates.io crate rust-embed 5.5.1
[INFO] finished tweaking crates.io crate rust-embed 5.5.1
[INFO] tweaked toml for crates.io crate rust-embed 5.5.1 written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate crates.io crate rust-embed 5.5.1 already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 3812c288d58606771eca45e839ad971203c108ac0b6d607787a37fa8e41b1bc9
[INFO] running `"docker" "start" "-a" "3812c288d58606771eca45e839ad971203c108ac0b6d607787a37fa8e41b1bc9"`
[INFO] [stderr]    Compiling same-file v1.0.4
[INFO] [stderr]     Checking walkdir v2.2.8
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]     Checking rust-embed-utils v5.0.0
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]    Compiling rust-embed-impl v5.5.1
[INFO] [stderr]     Checking rust-embed v5.5.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0463]: can't find crate for `rocket`
[INFO] [stderr]  --> examples/rocket.rs:3:1
[INFO] [stderr]   |
[INFO] [stderr] 3 | extern crate rocket;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to previous error
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0463`.
[INFO] [stderr] error: could not compile `rust-embed`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `warp`
[INFO] [stderr]  --> examples/warp.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use warp::{http::header::HeaderValue, path::Tail, reply::Response, Filter, Rejection, Reply};
[INFO] [stderr]   |     ^^^^ use of undeclared type or module `warp`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `warp`
[INFO] [stderr]  --> examples/warp.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use warp::{http::header::HeaderValue, path::Tail, reply::Response, Filter, Rejection, Reply};
[INFO] [stderr]   |     ^^^^ use of undeclared type or module `warp`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `tokio`
[INFO] [stderr]  --> examples/warp.rs:8:3
[INFO] [stderr]   |
[INFO] [stderr] 8 | #[tokio::main]
[INFO] [stderr]   |   ^^^^^ use of undeclared type or module `tokio`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `warp`
[INFO] [stderr]   --> examples/warp.rs:10:20
[INFO] [stderr]    |
[INFO] [stderr] 10 |   let index_html = warp::path::end().and_then(serve_index);
[INFO] [stderr]    |                    ^^^^ use of undeclared type or module `warp`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `warp`
[INFO] [stderr]   --> examples/warp.rs:11:14
[INFO] [stderr]    |
[INFO] [stderr] 11 |   let dist = warp::path("dist").and(warp::path::tail()).and_then(serve);
[INFO] [stderr]    |              ^^^^ use of undeclared type or module `warp`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `warp`
[INFO] [stderr]   --> examples/warp.rs:11:37
[INFO] [stderr]    |
[INFO] [stderr] 11 |   let dist = warp::path("dist").and(warp::path::tail()).and_then(serve);
[INFO] [stderr]    |                                     ^^^^ use of undeclared type or module `warp`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `warp`
[INFO] [stderr]   --> examples/warp.rs:14:3
[INFO] [stderr]    |
[INFO] [stderr] 14 |   warp::serve(routes).run(([127, 0, 0, 1], 8080)).await;
[INFO] [stderr]    |   ^^^^ use of undeclared type or module `warp`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `warp`
[INFO] [stderr]   --> examples/warp.rs:26:43
[INFO] [stderr]    |
[INFO] [stderr] 26 |   let asset = Asset::get(path).ok_or_else(warp::reject::not_found)?;
[INFO] [stderr]    |                                           ^^^^ use of undeclared type or module `warp`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `mime_guess`
[INFO] [stderr]   --> examples/warp.rs:27:14
[INFO] [stderr]    |
[INFO] [stderr] 27 |   let mime = mime_guess::from_path(path).first_or_octet_stream();
[INFO] [stderr]    |              ^^^^^^^^^^ use of undeclared type or module `mime_guess`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Response`
[INFO] [stderr]   --> examples/warp.rs:29:17
[INFO] [stderr]    |
[INFO] [stderr] 29 |   let mut res = Response::new(asset.into());
[INFO] [stderr]    |                 ^^^^^^^^ use of undeclared type or module `Response`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HeaderValue`
[INFO] [stderr]   --> examples/warp.rs:30:44
[INFO] [stderr]    |
[INFO] [stderr] 30 |   res.headers_mut().insert("content-type", HeaderValue::from_str(mime.as_ref()).unwrap());
[INFO] [stderr]    |                                            ^^^^^^^^^^^ use of undeclared type or module `HeaderValue`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Tail` in this scope
[INFO] [stderr]   --> examples/warp.rs:21:22
[INFO] [stderr]    |
[INFO] [stderr] 21 | async fn serve(path: Tail) -> Result<impl Reply, Rejection> {
[INFO] [stderr]    |                      ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 12 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `rust-embed`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: proc-macro derive panicked
[INFO] [stderr]  --> tests/interpolated_path.rs:4:10
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[derive(RustEmbed)]
[INFO] [stderr]   |          ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = help: message: #[derive(RustEmbed)] folder '/opt/rustwide/workdir/$CARGO_MANIFEST_DIR/examples/public/' does not exist. cwd: '/opt/rustwide/workdir'
[INFO] [stderr]           A variable has been detected. RustEmbed can expand variables when the `interpolate-folder-path` feature is enabled.
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `actix_web`
[INFO] [stderr]  --> examples/actix.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use actix_web::body::Body;
[INFO] [stderr]   |     ^^^^^^^^^ use of undeclared type or module `actix_web`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `actix_web`
[INFO] [stderr]  --> examples/actix.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use actix_web::{web, App, HttpRequest, HttpResponse, HttpServer};
[INFO] [stderr]   |     ^^^^^^^^^ use of undeclared type or module `actix_web`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `mime_guess`
[INFO] [stderr]  --> examples/actix.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use mime_guess::from_path;
[INFO] [stderr]   |     ^^^^^^^^^^ use of undeclared type or module `mime_guess`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `actix_rt`
[INFO] [stderr]   --> examples/actix.rs:34:3
[INFO] [stderr]    |
[INFO] [stderr] 34 | #[actix_rt::main]
[INFO] [stderr]    |   ^^^^^^^^ use of undeclared type or module `actix_rt`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Body` in this scope
[INFO] [stderr]   --> examples/actix.rs:15:17
[INFO] [stderr]    |
[INFO] [stderr] 15 |       let body: Body = match content {
[INFO] [stderr]    |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: `main` has invalid return type `impl std::future::Future`
[INFO] [stderr]   --> examples/actix.rs:35:20
[INFO] [stderr]    |
[INFO] [stderr] 35 | async fn main() -> std::io::Result<()> {
[INFO] [stderr]    |                    ^^^^^^^^^^^^^^^^^^^ `main` can only return types that implement `std::process::Termination`
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using `()`, or a `Result`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 6 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0432, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `rust-embed`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope
[INFO] [stderr]   --> tests/interpolated_path.rs:10:13
[INFO] [stderr]    |
[INFO] [stderr] 6  | struct Asset;
[INFO] [stderr]    | ------------- function or associated item `get` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 10 |   if Asset::get("index.html").is_none() {
[INFO] [stderr]    |             ^^^ function or associated item not found in `Asset`
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]    = note: the following traits define an item `get`, perhaps you need to implement one of them:
[INFO] [stderr]            candidate #1: `core::panic::BoxMeUp`
[INFO] [stderr]            candidate #2: `std::slice::SliceIndex`
[INFO] [stderr]            candidate #3: `rust_embed::RustEmbed`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope
[INFO] [stderr]   --> tests/interpolated_path.rs:13:13
[INFO] [stderr]    |
[INFO] [stderr] 6  | struct Asset;
[INFO] [stderr]    | ------------- function or associated item `get` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 13 |   if Asset::get("gg.html").is_some() {
[INFO] [stderr]    |             ^^^ function or associated item not found in `Asset`
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]    = note: the following traits define an item `get`, perhaps you need to implement one of them:
[INFO] [stderr]            candidate #1: `core::panic::BoxMeUp`
[INFO] [stderr]            candidate #2: `std::slice::SliceIndex`
[INFO] [stderr]            candidate #3: `rust_embed::RustEmbed`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope
[INFO] [stderr]   --> tests/interpolated_path.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 6  | struct Asset;
[INFO] [stderr]    | ------------- function or associated item `get` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 16 |   if Asset::get("images/llama.png").is_none() {
[INFO] [stderr]    |             ^^^ function or associated item not found in `Asset`
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]    = note: the following traits define an item `get`, perhaps you need to implement one of them:
[INFO] [stderr]            candidate #1: `core::panic::BoxMeUp`
[INFO] [stderr]            candidate #2: `std::slice::SliceIndex`
[INFO] [stderr]            candidate #3: `rust_embed::RustEmbed`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `iter` found for struct `Asset` in the current scope
[INFO] [stderr]   --> tests/interpolated_path.rs:24:22
[INFO] [stderr]    |
[INFO] [stderr] 6  | struct Asset;
[INFO] [stderr]    | ------------- function or associated item `iter` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 24 |   for file in Asset::iter() {
[INFO] [stderr]    |                      ^^^^ function or associated item not found in `Asset`
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]    = note: the following trait defines an item `iter`, perhaps you need to implement it:
[INFO] [stderr]            candidate #1: `rust_embed::RustEmbed`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no function or associated item named `get` found for struct `Asset` in the current scope
[INFO] [stderr]   --> tests/interpolated_path.rs:25:20
[INFO] [stderr]    |
[INFO] [stderr] 6  | struct Asset;
[INFO] [stderr]    | ------------- function or associated item `get` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 25 |     assert!(Asset::get(file.as_ref()).is_some());
[INFO] [stderr]    |                    ^^^ function or associated item not found in `Asset`
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stderr]    = note: the following traits define an item `get`, perhaps you need to implement one of them:
[INFO] [stderr]            candidate #1: `core::panic::BoxMeUp`
[INFO] [stderr]            candidate #2: `std::slice::SliceIndex`
[INFO] [stderr]            candidate #3: `rust_embed::RustEmbed`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `Asset: rust_embed::RustEmbed` is not satisfied
[INFO] [stderr]   --> tests/interpolated_path.rs:33:32
[INFO] [stderr]    |
[INFO] [stderr] 33 |   trait_works_generic_helper::<Asset>();
[INFO] [stderr]    |                                ^^^^^ the trait `rust_embed::RustEmbed` is not implemented for `Asset`
[INFO] [stderr] 34 | }
[INFO] [stderr] 35 | fn trait_works_generic_helper<E: rust_embed::RustEmbed>() {
[INFO] [stderr]    |    --------------------------    --------------------- required by this bound in `trait_works_generic_helper`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 7 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `rust-embed`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "3812c288d58606771eca45e839ad971203c108ac0b6d607787a37fa8e41b1bc9"`
[INFO] running `"docker" "rm" "-f" "3812c288d58606771eca45e839ad971203c108ac0b6d607787a37fa8e41b1bc9"`
[INFO] [stdout] 3812c288d58606771eca45e839ad971203c108ac0b6d607787a37fa8e41b1bc9
