[INFO] crate roa-core 0.5.0 is already in cache [INFO] checking roa-core-0.5.0 against master#ba72b15666b2491415aec703a02c2364fe5e2790 for pr-71140 [INFO] extracting crate roa-core 0.5.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate roa-core 0.5.0 on toolchain ba72b15666b2491415aec703a02c2364fe5e2790 [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate roa-core 0.5.0 [INFO] finished tweaking crates.io crate roa-core 0.5.0 [INFO] tweaked toml for crates.io crate roa-core 0.5.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba72b15666b2491415aec703a02c2364fe5e2790" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+ba72b15666b2491415aec703a02c2364fe5e2790" "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] 96e3fa16795324dc8dea212bcbda913ef8274b15066ec2ce8646692544f414bd [INFO] running `"docker" "start" "-a" "96e3fa16795324dc8dea212bcbda913ef8274b15066ec2ce8646692544f414bd"` [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking tokio v0.2.18 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking broadcaster v1.0.0 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking hyper v0.13.4 [INFO] [stderr] Checking roa-core v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `app::App<_, _>` in the current scope [INFO] [stderr] --> src/middleware.rs:325:24 [INFO] [stderr] | [INFO] [stderr] 325 | let app = App::new().end(status!(StatusCode::BAD_REQUEST)); [INFO] [stderr] | ^^^ function or associated item not found in `app::App<_, _>` [INFO] [stderr] | [INFO] [stderr] ::: src/app.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | pub struct App { [INFO] [stderr] | -------------------- function or associated item `new` not found for this [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 `new`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `app::App<_, _>` in the current scope [INFO] [stderr] --> src/middleware.rs:333:24 [INFO] [stderr] | [INFO] [stderr] 333 | let app = App::new().end(HELLO.to_owned()); [INFO] [stderr] | ^^^ function or associated item not found in `app::App<_, _>` [INFO] [stderr] | [INFO] [stderr] ::: src/app.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | pub struct App { [INFO] [stderr] | -------------------- function or associated item `new` not found for this [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 `new`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `app::App<_, _>` in the current scope [INFO] [stderr] --> src/middleware.rs:348:24 [INFO] [stderr] | [INFO] [stderr] 348 | let app = App::new().end(HELLO); [INFO] [stderr] | ^^^ function or associated item not found in `app::App<_, _>` [INFO] [stderr] | [INFO] [stderr] ::: src/app.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | pub struct App { [INFO] [stderr] | -------------------- function or associated item `new` not found for this [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 `new`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for struct `app::App<_, _>` in the current scope [INFO] [stderr] --> src/middleware.rs:363:24 [INFO] [stderr] | [INFO] [stderr] 363 | let app = App::new().end("/target".parse::().unwrap()); [INFO] [stderr] | ^^^ function or associated item not found in `app::App<_, _>` [INFO] [stderr] | [INFO] [stderr] ::: src/app.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | pub struct App { [INFO] [stderr] | -------------------- function or associated item `new` not found for this [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 `new`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsyncReadExt` [INFO] [stderr] --> src/middleware.rs:317:19 [INFO] [stderr] | [INFO] [stderr] 317 | use futures::{AsyncReadExt, TryStreamExt}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `TryStreamExt` [INFO] [stderr] --> src/middleware.rs:317:33 [INFO] [stderr] | [INFO] [stderr] 317 | use futures::{AsyncReadExt, TryStreamExt}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error: could not compile `roa-core`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "96e3fa16795324dc8dea212bcbda913ef8274b15066ec2ce8646692544f414bd"` [INFO] running `"docker" "rm" "-f" "96e3fa16795324dc8dea212bcbda913ef8274b15066ec2ce8646692544f414bd"` [INFO] [stdout] 96e3fa16795324dc8dea212bcbda913ef8274b15066ec2ce8646692544f414bd