[INFO] cloning repository https://github.com/stevepryde/kevlar-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stevepryde/kevlar-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevepryde%2Fkevlar-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevepryde%2Fkevlar-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfa920488c1b2f3ed568f6979cb45db53fa5b9ff [INFO] testing stevepryde/kevlar-example against beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevepryde%2Fkevlar-example" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stevepryde/kevlar-example on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stevepryde/kevlar-example [INFO] removed path dependency kevlar from git repo https://github.com/stevepryde/kevlar-example [INFO] removed path dependency thirtyfour from git repo https://github.com/stevepryde/kevlar-example [INFO] finished tweaking git repo https://github.com/stevepryde/kevlar-example [INFO] tweaked toml for git repo https://github.com/stevepryde/kevlar-example written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/stevepryde/kevlar-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (kevlar) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (thirtyfour) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (kevlar) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (thirtyfour) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded displaydoc v0.1.7 [INFO] [stderr] Downloaded thirtyfour v0.22.0 [INFO] [stderr] Downloaded urlparse v0.7.3 [INFO] [stderr] Downloaded webdriver v0.40.2 [INFO] [stderr] Downloaded kevlar v0.1.2 [INFO] [stderr] Downloaded fantoccini v0.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6ad8da8a9e51d44b9a17d4bd75a803ef8a42e2144f40080bd5b9c1deb458477 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e6ad8da8a9e51d44b9a17d4bd75a803ef8a42e2144f40080bd5b9c1deb458477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6ad8da8a9e51d44b9a17d4bd75a803ef8a42e2144f40080bd5b9c1deb458477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6ad8da8a9e51d44b9a17d4bd75a803ef8a42e2144f40080bd5b9c1deb458477", kill_on_drop: false }` [INFO] [stdout] e6ad8da8a9e51d44b9a17d4bd75a803ef8a42e2144f40080bd5b9c1deb458477 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbc34f24817989b74d687b6eb5286023bcb524bc911005f3cdf8f0f5ae121645 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bbc34f24817989b74d687b6eb5286023bcb524bc911005f3cdf8f0f5ae121645", kill_on_drop: false }` [INFO] [stderr] warning: dependency (kevlar) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (thirtyfour) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling futures v0.1.30 [INFO] [stderr] Compiling bytes v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling urlparse v0.7.3 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling cookie v0.13.3 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling headers-core v0.1.1 [INFO] [stderr] Compiling headers v0.2.3 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling fern v0.5.9 [INFO] [stderr] Compiling kevlar v0.1.2 [INFO] [stderr] Compiling tokio-stream v0.1.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.0 [INFO] [stderr] Compiling h2 v0.3.0 [INFO] [stderr] Compiling warp v0.1.23 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling webdriver v0.40.2 [INFO] [stderr] Compiling hyper v0.14.2 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling fantoccini v0.12.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.0 [INFO] [stderr] Compiling thirtyfour v0.22.0 [INFO] [stderr] Compiling kevlar-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `remote` in `thirtyfour` [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use thirtyfour::remote::command::{Command, SessionId}; [INFO] [stdout] | ^^^^^^ could not find `remote` in `thirtyfour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `remote` in `thirtyfour` [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use thirtyfour::remote::connection_async::RemoteConnectionAsync; [INFO] [stdout] | ^^^^^^ could not find `remote` in `thirtyfour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `remote` in `thirtyfour` [INFO] [stdout] --> src/main.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use thirtyfour::remote::connection_common::CommandError; [INFO] [stdout] | ^^^^^^ could not find `remote` in `thirtyfour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RemoteConnectionAsync` [INFO] [stdout] --> src/main.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | let conn = RemoteConnectionAsync::new("http://localhost:4444/wd/hub")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RemoteConnectionAsync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CommandError` in this scope [INFO] [stdout] --> src/main.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 34 | impl MyTest { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 35 | async fn webtest(&self) -> Result<(), CommandError> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command` [INFO] [stdout] --> src/main.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | let v = conn.execute(Command::NewSession(caps)).await?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::thread::thread::env::sys::ext::process::process::Command; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::thread::thread::env::sys::process::Command; [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Command; [INFO] [stdout] | [INFO] [stdout] 1 | use thirtyfour::common::command::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SessionId` [INFO] [stdout] --> src/main.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | let session_id = SessionId::from(v["sessionId"].as_str().unwrap()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use thirtyfour::SessionId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command` [INFO] [stdout] --> src/main.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | conn.execute(Command::NavigateTo( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::thread::thread::env::sys::ext::process::process::Command; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::thread::thread::env::sys::process::Command; [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Command; [INFO] [stdout] | [INFO] [stdout] 1 | use thirtyfour::common::command::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command` [INFO] [stdout] --> src/main.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | conn.execute(Command::DeleteSession(&session_id)).await?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::thread::thread::env::sys::ext::process::process::Command; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::thread::thread::env::sys::process::Command; [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Command; [INFO] [stdout] | [INFO] [stdout] 1 | use thirtyfour::common::command::Command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl std::future::Future` [INFO] [stdout] --> src/main.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() { [INFO] [stdout] | ^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | self.webtest().await.map_err(|e| TestEvent::new(TestStatus::Failed).with_description(&format!("CommandError: {:?}", e)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0412, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kevlar-example` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "bbc34f24817989b74d687b6eb5286023bcb524bc911005f3cdf8f0f5ae121645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbc34f24817989b74d687b6eb5286023bcb524bc911005f3cdf8f0f5ae121645", kill_on_drop: false }` [INFO] [stdout] bbc34f24817989b74d687b6eb5286023bcb524bc911005f3cdf8f0f5ae121645