[INFO] cloning repository https://github.com/DefunctLizard/libretrans [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DefunctLizard/libretrans" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDefunctLizard%2Flibretrans", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDefunctLizard%2Flibretrans'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e356bdc6f79e26716f491f723051bcfc5743619 [INFO] checking DefunctLizard/libretrans against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDefunctLizard%2Flibretrans" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DefunctLizard/libretrans on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DefunctLizard/libretrans [INFO] finished tweaking git repo https://github.com/DefunctLizard/libretrans [INFO] tweaked toml for git repo https://github.com/DefunctLizard/libretrans written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 23d0e4f1ed7f663e4383578ad0dac88cb384a9902f7114a7ac5222815204335b [INFO] running `Command { std: "docker" "start" "-a" "23d0e4f1ed7f663e4383578ad0dac88cb384a9902f7114a7ac5222815204335b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23d0e4f1ed7f663e4383578ad0dac88cb384a9902f7114a7ac5222815204335b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23d0e4f1ed7f663e4383578ad0dac88cb384a9902f7114a7ac5222815204335b", kill_on_drop: false }` [INFO] [stdout] 23d0e4f1ed7f663e4383578ad0dac88cb384a9902f7114a7ac5222815204335b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df2c7c188583a5c1d0f6ddf9b4ded0ebe96a5d3ed8d906d3d6f4282686fc3f9b [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" "df2c7c188583a5c1d0f6ddf9b4ded0ebe96a5d3ed8d906d3d6f4282686fc3f9b", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling const_fn v0.4.6 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling curl v0.4.36 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling http-types v2.11.0 [INFO] [stderr] Compiling async-trait v0.1.49 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking sluice v0.5.4 [INFO] [stderr] Checking spinning_top v0.2.3 [INFO] [stderr] Checking flume v0.9.2 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking whatlang v0.11.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Compiling libnghttp2-sys v0.1.6+1.43.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling curl-sys v0.4.42+curl-7.76.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking value-bag v1.0.0-alpha.6 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking polling v2.0.3 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking async-io v1.4.0 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking url v2.2.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_qs v0.7.2 [INFO] [stderr] Checking http-client v6.3.5 [INFO] [stderr] Checking surf v2.2.0 [INFO] [stderr] Checking libretranslate v0.2.7 [INFO] [stderr] Checking libretrans v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(data) => print_data(data, matches.clone()), [INFO] [stdout] | ^^^^^^^^ expected opaque type, found enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libretranslate-0.2.7/src/lib.rs:155:6 [INFO] [stdout] | [INFO] [stdout] 155 | ) -> Result { [INFO] [stdout] | ----------------------------------- checked the `Output` of this `async fn`, expected opaque type [INFO] [stdout] | [INFO] [stdout] = note: while checking the return type of the `async fn` [INFO] [stdout] = note: expected opaque type `impl Future` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | Err(error) => trans_error("Translation error:", &error.to_string(), text, matches.clone()), [INFO] [stdout] | ^^^^^^^^^^ expected opaque type, found enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libretranslate-0.2.7/src/lib.rs:155:6 [INFO] [stdout] | [INFO] [stdout] 155 | ) -> Result { [INFO] [stdout] | ----------------------------------- checked the `Output` of this `async fn`, expected opaque type [INFO] [stdout] | [INFO] [stdout] = note: while checking the return type of the `async fn` [INFO] [stdout] = note: expected opaque type `impl Future` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | Ok(data) => print_data(data, matches.clone()), [INFO] [stdout] | ^^^^^^^^ expected opaque type, found enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libretranslate-0.2.7/src/lib.rs:155:6 [INFO] [stdout] | [INFO] [stdout] 155 | ) -> Result { [INFO] [stdout] | ----------------------------------- checked the `Output` of this `async fn`, expected opaque type [INFO] [stdout] | [INFO] [stdout] = note: while checking the return type of the `async fn` [INFO] [stdout] = note: expected opaque type `impl Future` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | Err(error) => trans_error("Translation error:", &error.to_string(), text, matches.clone()), [INFO] [stdout] | ^^^^^^^^^^ expected opaque type, found enum `Result` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libretranslate-0.2.7/src/lib.rs:155:6 [INFO] [stdout] | [INFO] [stdout] 155 | ) -> Result { [INFO] [stdout] | ----------------------------------- checked the `Output` of this `async fn`, expected opaque type [INFO] [stdout] | [INFO] [stdout] = note: while checking the return type of the `async fn` [INFO] [stdout] = note: expected opaque type `impl Future` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libretrans` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "df2c7c188583a5c1d0f6ddf9b4ded0ebe96a5d3ed8d906d3d6f4282686fc3f9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df2c7c188583a5c1d0f6ddf9b4ded0ebe96a5d3ed8d906d3d6f4282686fc3f9b", kill_on_drop: false }` [INFO] [stdout] df2c7c188583a5c1d0f6ddf9b4ded0ebe96a5d3ed8d906d3d6f4282686fc3f9b