[INFO] cloning repository https://github.com/yydcnjjw/my-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yydcnjjw/my-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyydcnjjw%2Fmy-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyydcnjjw%2Fmy-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05b2112ba59849d25a1ec62747375aa49897891a [INFO] checking yydcnjjw/my-tool against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyydcnjjw%2Fmy-tool" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yydcnjjw/my-tool on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/yydcnjjw/my-tool [INFO] finished tweaking git repo https://github.com/yydcnjjw/my-tool [INFO] tweaked toml for git repo https://github.com/yydcnjjw/my-tool written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/yydcnjjw/my-tool already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 245f6d55dc956a8fda002846e19d30b9c3f347ed2fcb879d04bccc1062f4b6af [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" "245f6d55dc956a8fda002846e19d30b9c3f347ed2fcb879d04bccc1062f4b6af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "245f6d55dc956a8fda002846e19d30b9c3f347ed2fcb879d04bccc1062f4b6af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "245f6d55dc956a8fda002846e19d30b9c3f347ed2fcb879d04bccc1062f4b6af", kill_on_drop: false }` [INFO] [stdout] 245f6d55dc956a8fda002846e19d30b9c3f347ed2fcb879d04bccc1062f4b6af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b6460ae95d4d51b7410f25b9b10d3c4708e446c4bfec187c2fd1594bb988b62 [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" "2b6460ae95d4d51b7410f25b9b10d3c4708e446c4bfec187c2fd1594bb988b62", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling dunce v1.0.2 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling scratch v1.0.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling cxxbridge-flags v1.0.41 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling my-tool v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling link-cplusplus v1.0.5 [INFO] [stderr] Compiling minilzo-rs v0.6.0 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking minimad v0.8.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling term-painter v0.2.4 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling cxx v1.0.41 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libsqlite3-sys v0.22.2 [INFO] [stderr] Checking tendril v0.4.2 [INFO] [stderr] Checking crossbeam-utils v0.8.5 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking cpp_core v0.6.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling object v0.26.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking futures-channel v0.3.16 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking bitvec v0.19.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking signal-hook-mio v0.2.1 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking ripemd128 v0.1.2 [INFO] [stderr] Checking crossterm v0.20.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling html5ever v0.22.5 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling cxx-build v1.0.41 [INFO] [stderr] Checking rusqlite v0.25.3 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling qt_macros v0.1.1 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling cxxbridge-macro v1.0.41 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking termimad v0.14.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking string_cache v0.8.1 [INFO] [stderr] Checking quick-xml v0.22.0 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking mdict v0.1.0 (/opt/rustwide/workdir/crates/mdict) [INFO] [stderr] Checking xml5ever v0.16.1 [INFO] [stderr] Compiling ritual_common v0.4.0 [INFO] [stderr] Compiling markup5ever v0.7.5 [INFO] [stderr] Checking markup5ever_rcdom v0.1.0 [INFO] [stderr] Checking html2text v0.2.1 [INFO] [stderr] Checking html2md v0.2.13 [INFO] [stderr] Compiling ritual_build v0.4.0 [INFO] [stderr] Compiling qt_ritual_common v0.4.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Compiling qt_ritual_build v0.5.0 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Compiling qt_core v0.5.0 [INFO] [stderr] Compiling qt_gui v0.5.0 [INFO] [stderr] Compiling qt_qml v0.5.0 [INFO] [stderr] Compiling qt_widgets v0.5.0 [INFO] [stderr] Compiling ocr v0.1.0 (/opt/rustwide/workdir/crates/ocr) [INFO] [stderr] Compiling search v0.1.0 (/opt/rustwide/workdir/crates/search) [INFO] [stderr] Checking cloud-api v0.1.0 (/opt/rustwide/workdir/crates/cloud-api) [INFO] [stderr] Checking translate v0.1.0 (/opt/rustwide/workdir/crates/translate) [INFO] [stdout] error[E0277]: `main` has invalid return type `std::result::Result` [INFO] [stdout] --> crates/translate/src/google.rs:176:11 [INFO] [stdout] | [INFO] [stdout] 175 | #[tokio::test] [INFO] [stdout] | -------------- in this procedural macro expansion [INFO] [stdout] 176 | async fn test() -> google::Result { [INFO] [stdout] | ___________^ [INFO] [stdout] 177 | | google::query("english", "auto", "zh-CN").await [INFO] [stdout] 178 | | } [INFO] [stdout] | |_____^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Termination` is not implemented for `std::result::Result` [INFO] [stdout] note: required by a bound in `assert_test_result` [INFO] [stdout] = note: this error originates in the attribute macro `::core::prelude::v1::test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `translate` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2b6460ae95d4d51b7410f25b9b10d3c4708e446c4bfec187c2fd1594bb988b62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b6460ae95d4d51b7410f25b9b10d3c4708e446c4bfec187c2fd1594bb988b62", kill_on_drop: false }` [INFO] [stdout] 2b6460ae95d4d51b7410f25b9b10d3c4708e446c4bfec187c2fd1594bb988b62