[INFO] fetching crate triton-client 0.2.0... [INFO] testing triton-client-0.2.0 against beta-2022-09-25 for beta-1.65-1 [INFO] extracting crate triton-client 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate triton-client 0.2.0 on toolchain beta-2022-09-25 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-09-25" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate triton-client 0.2.0 [INFO] finished tweaking crates.io crate triton-client 0.2.0 [INFO] tweaked toml for crates.io crate triton-client 0.2.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate triton-client 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-09-25" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e83628ae8b8a196d74423404c1fbf8a6a775b18aa4f1cb3b088c5c67ac2ff9b [INFO] running `Command { std: "docker" "start" "-a" "7e83628ae8b8a196d74423404c1fbf8a6a775b18aa4f1cb3b088c5c67ac2ff9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e83628ae8b8a196d74423404c1fbf8a6a775b18aa4f1cb3b088c5c67ac2ff9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e83628ae8b8a196d74423404c1fbf8a6a775b18aa4f1cb3b088c5c67ac2ff9b", kill_on_drop: false }` [INFO] [stdout] 7e83628ae8b8a196d74423404c1fbf8a6a775b18aa4f1cb3b088c5c67ac2ff9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e36f238cd039c0e4aaa96d1d0933eb2969b1b89e36d2505bb12f27acac73ddf [INFO] running `Command { std: "docker" "start" "-a" "4e36f238cd039c0e4aaa96d1d0933eb2969b1b89e36d2505bb12f27acac73ddf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.142 [INFO] [stderr] Compiling serde v1.0.142 [INFO] [stderr] Compiling anyhow v1.0.59 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.82 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling wasm-bindgen v0.2.82 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling prettyplease v0.1.18 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling rustls-native-certs v0.6.2 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.82 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.82 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.82 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling axum-core v0.2.7 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Compiling triton-client v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tower-http v0.3.4 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling js-sys v0.3.59 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.32 [INFO] [stderr] Compiling web-sys v0.3.59 [INFO] [stderr] Compiling wasm-streams v0.2.3 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling axum v0.5.15 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling tonic v0.7.2 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.18s [INFO] running `Command { std: "docker" "inspect" "4e36f238cd039c0e4aaa96d1d0933eb2969b1b89e36d2505bb12f27acac73ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e36f238cd039c0e4aaa96d1d0933eb2969b1b89e36d2505bb12f27acac73ddf", kill_on_drop: false }` [INFO] [stdout] 4e36f238cd039c0e4aaa96d1d0933eb2969b1b89e36d2505bb12f27acac73ddf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e58e73c5a0cafc04b07c31b84d3bdcf6f5bda42cc88bc1d03d656d6161497d90 [INFO] running `Command { std: "docker" "start" "-a" "e58e73c5a0cafc04b07c31b84d3bdcf6f5bda42cc88bc1d03d656d6161497d90", kill_on_drop: false }` [INFO] [stderr] Compiling triton-client v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.81s [INFO] running `Command { std: "docker" "inspect" "e58e73c5a0cafc04b07c31b84d3bdcf6f5bda42cc88bc1d03d656d6161497d90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e58e73c5a0cafc04b07c31b84d3bdcf6f5bda42cc88bc1d03d656d6161497d90", kill_on_drop: false }` [INFO] [stdout] e58e73c5a0cafc04b07c31b84d3bdcf6f5bda42cc88bc1d03d656d6161497d90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-09-25" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a317bec9a5851429743b0e920c5453df21955981c2e569e0e7008685f8af5558 [INFO] running `Command { std: "docker" "start" "-a" "a317bec9a5851429743b0e920c5453df21955981c2e569e0e7008685f8af5558", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/triton_client-399edf2e62199967) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests triton-client [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 7) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 7) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/lib.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 5 | let client = Client::new("http://localhost:8001/", None).await?; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Client; [INFO] [stdout] | [INFO] [stdout] 3 | use triton_client::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:9:57 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() { [INFO] [stdout] | ---------------------------- this is not `async` [INFO] [stdout] 5 | let client = Client::new("http://localhost:8001/", None).await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() { [INFO] [stdout] | ---------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | .await?; [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:9:63 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() { [INFO] [stdout] | --------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] 5 | let client = Client::new("http://localhost:8001/", None).await?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() { [INFO] [stdout] | --------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 11 | .await?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a317bec9a5851429743b0e920c5453df21955981c2e569e0e7008685f8af5558", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a317bec9a5851429743b0e920c5453df21955981c2e569e0e7008685f8af5558", kill_on_drop: false }` [INFO] [stdout] a317bec9a5851429743b0e920c5453df21955981c2e569e0e7008685f8af5558