[INFO] crate pegnetd 0.1.2 is already in cache [INFO] testing pegnetd-0.1.2 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate pegnetd 0.1.2 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate pegnetd 0.1.2 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate pegnetd 0.1.2 [INFO] finished tweaking crates.io crate pegnetd 0.1.2 [INFO] tweaked toml for crates.io crate pegnetd 0.1.2 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate pegnetd 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] 8a5e8d183b0290bf823950fc0fbb2577aa2bf53601cf68e3ef6f7fef843f8b86 [INFO] running `"docker" "start" "-a" "8a5e8d183b0290bf823950fc0fbb2577aa2bf53601cf68e3ef6f7fef843f8b86"` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling tower-service v0.3.0-alpha.2 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling tracing-core v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling openssl-sys v0.9.52 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-sync v0.2.0-alpha.6 [INFO] [stderr] Compiling http v0.1.19 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling http-body v0.2.0-alpha.3 [INFO] [stderr] Compiling pin-project-internal v0.4.5 [INFO] [stderr] Compiling tracing-attributes v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling tokio-macros v0.2.0-alpha.6 [INFO] [stderr] Compiling tracing v0.1.10 [INFO] [stderr] Compiling tokio-executor v0.2.0-alpha.6 [INFO] [stderr] Compiling pin-project v0.4.5 [INFO] [stderr] Compiling tokio-io v0.2.0-alpha.6 [INFO] [stderr] Compiling tokio-codec v0.2.0-alpha.6 [INFO] [stderr] Compiling tower-make v0.3.0-alpha.2a [INFO] [stderr] Compiling tokio-tls v0.3.0-alpha.6 [INFO] [stderr] Compiling tokio-timer v0.3.0-alpha.6 [INFO] [stderr] Compiling tokio-fs v0.2.0-alpha.6 [INFO] [stderr] Compiling tokio-net v0.2.0-alpha.6 [INFO] [stderr] Compiling h2 v0.2.0-alpha.3 [INFO] [stderr] Compiling tokio v0.2.0-alpha.6 [INFO] [stderr] Compiling hyper v0.13.0-alpha.4 [INFO] [stderr] Compiling hyper-tls v0.4.0-alpha.4 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling reqwest v0.10.0-alpha.2 [INFO] [stderr] Compiling pegnetd v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 49s [INFO] running `"docker" "inspect" "8a5e8d183b0290bf823950fc0fbb2577aa2bf53601cf68e3ef6f7fef843f8b86"` [INFO] running `"docker" "rm" "-f" "8a5e8d183b0290bf823950fc0fbb2577aa2bf53601cf68e3ef6f7fef843f8b86"` [INFO] [stdout] 8a5e8d183b0290bf823950fc0fbb2577aa2bf53601cf68e3ef6f7fef843f8b86 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 57e79b64b93c64893f8499b73da7dca9fbd0f1804eaabab01b89a3c01d01387e [INFO] running `"docker" "start" "-a" "57e79b64b93c64893f8499b73da7dca9fbd0f1804eaabab01b89a3c01d01387e"` [INFO] [stderr] Compiling pegnetd v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.40s [INFO] running `"docker" "inspect" "57e79b64b93c64893f8499b73da7dca9fbd0f1804eaabab01b89a3c01d01387e"` [INFO] running `"docker" "rm" "-f" "57e79b64b93c64893f8499b73da7dca9fbd0f1804eaabab01b89a3c01d01387e"` [INFO] [stdout] 57e79b64b93c64893f8499b73da7dca9fbd0f1804eaabab01b89a3c01d01387e [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 529cf467eb8cb3425b322be85be8cf2d56f93115acdaa365a9df2c2261be3873 [INFO] running `"docker" "start" "-a" "529cf467eb8cb3425b322be85be8cf2d56f93115acdaa365a9df2c2261be3873"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/pegnetd-2ae9345ea5d79432 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests pegnetd [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/api.rs - api::transactions (line 123) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/api.rs - api::transactions (line 123) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Pegnetd` [INFO] [stdout] --> src/api.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 3 | let api = Pegnetd::open_node(); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Pegnetd` [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TxParams` in this scope [INFO] [stdout] --> src/api.rs:126:16 [INFO] [stdout] | [INFO] [stdout] 5 | let params = TxParams{ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use pegnetd::TxParams; [INFO] [stdout] | [INFO] [stdout] 2 | use pegnetd::api::TxParams; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `transactions` in this scope [INFO] [stdout] --> src/api.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 9 | let response = transactions(&api, params).await; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidates are found in other modules, you can import them into scope [INFO] [stdout] | [INFO] [stdout] 2 | use pegnetd::api::transactions; [INFO] [stdout] | [INFO] [stdout] 2 | use pegnetd::transactions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/api.rs:130:18 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | let response = transactions(&api, params).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/api.rs - api::transactions (line 123) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "529cf467eb8cb3425b322be85be8cf2d56f93115acdaa365a9df2c2261be3873"` [INFO] running `"docker" "rm" "-f" "529cf467eb8cb3425b322be85be8cf2d56f93115acdaa365a9df2c2261be3873"` [INFO] [stdout] 529cf467eb8cb3425b322be85be8cf2d56f93115acdaa365a9df2c2261be3873