[INFO] crate rust-embed 5.5.1 is already in cache [INFO] testing rust-embed-5.5.1 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate rust-embed 5.5.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate rust-embed 5.5.1 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-0/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" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e5eb0afcec79d863eb907647548ce5f09eec83f27180e5642e826a4990aae423 [INFO] running `"docker" "start" "-a" "e5eb0afcec79d863eb907647548ce5f09eec83f27180e5642e826a4990aae423"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling walkdir v2.2.8 [INFO] [stderr] Compiling 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] Compiling rust-embed v5.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.97s [INFO] running `"docker" "inspect" "e5eb0afcec79d863eb907647548ce5f09eec83f27180e5642e826a4990aae423"` [INFO] running `"docker" "rm" "-f" "e5eb0afcec79d863eb907647548ce5f09eec83f27180e5642e826a4990aae423"` [INFO] [stdout] e5eb0afcec79d863eb907647548ce5f09eec83f27180e5642e826a4990aae423 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stdout] 1ac6e81e2f99719c5e883d0f72864f13444657674c0ce98c8494fce010781d1f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "1ac6e81e2f99719c5e883d0f72864f13444657674c0ce98c8494fce010781d1f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling 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: 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 `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 `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 `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[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[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[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[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[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[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 { [INFO] [stderr] | ^^^^ not found in this scope [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: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: 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[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::(); [INFO] [stderr] | ^^^^^ the trait `rust_embed::RustEmbed` is not implemented for `Asset` [INFO] [stderr] 34 | } [INFO] [stderr] 35 | fn trait_works_generic_helper() { [INFO] [stderr] | --------------------- required by this bound in `trait_works_generic_helper` [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[E0752]: `main` function is not allowed to be `async` [INFO] [stderr] --> examples/actix.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | async fn main() -> std::io::Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stderr] [INFO] [stderr] error: aborting due to 7 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0432, E0433, E0752. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [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: build failed [INFO] running `"docker" "inspect" "1ac6e81e2f99719c5e883d0f72864f13444657674c0ce98c8494fce010781d1f"` [INFO] running `"docker" "rm" "-f" "1ac6e81e2f99719c5e883d0f72864f13444657674c0ce98c8494fce010781d1f"` [INFO] [stdout] 1ac6e81e2f99719c5e883d0f72864f13444657674c0ce98c8494fce010781d1f