[INFO] fetching crate etcdmq 0.0.3... [INFO] checking etcdmq-0.0.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate etcdmq 0.0.3 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate etcdmq 0.0.3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate etcdmq 0.0.3 [INFO] finished tweaking crates.io crate etcdmq 0.0.3 [INFO] tweaked toml for crates.io crate etcdmq 0.0.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate etcdmq 0.0.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project v1.0.10 [INFO] [stderr] Downloaded async-stream-impl v0.3.3 [INFO] [stderr] Downloaded async-stream v0.3.3 [INFO] [stderr] Downloaded etcd-client v0.8.4 [INFO] [stderr] Downloaded tracing-attributes v0.1.20 [INFO] [stderr] Downloaded httparse v1.7.0 [INFO] [stderr] Downloaded tokio-util v0.7.1 [INFO] [stderr] Downloaded tonic v0.6.2 [INFO] [stderr] Downloaded tower v0.4.12 [INFO] [stderr] Downloaded tower-layer v0.3.1 [INFO] [stderr] Downloaded pin-project-internal v1.0.10 [INFO] [stderr] Downloaded prost-types v0.9.0 [INFO] [stderr] Downloaded which v4.2.5 [INFO] [stderr] Downloaded tonic-build v0.6.2 [INFO] [stderr] Downloaded prost-build v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad383c234ef822bef20be5dd058b991b76f952bf1cae271937f691944875fa7c [INFO] running `Command { std: "docker" "start" "-a" "ad383c234ef822bef20be5dd058b991b76f952bf1cae271937f691944875fa7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad383c234ef822bef20be5dd058b991b76f952bf1cae271937f691944875fa7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad383c234ef822bef20be5dd058b991b76f952bf1cae271937f691944875fa7c", kill_on_drop: false }` [INFO] [stdout] ad383c234ef822bef20be5dd058b991b76f952bf1cae271937f691944875fa7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19918012b34264954d61e31cd3f17e884f5e511fa9b6d288df9ffbf6790fcdaf [INFO] running `Command { std: "docker" "start" "-a" "19918012b34264954d61e31cd3f17e884f5e511fa9b6d288df9ffbf6790fcdaf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Checking serde v1.0.136 [INFO] [stderr] Compiling tonic-build v0.6.2 [INFO] [stderr] Compiling etcd-client v0.8.4 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking serde_json v1.0.79 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.6.2 [INFO] [stderr] Checking etcdmq v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> examples/producer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | sleep(Duration::from_secs(5)).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::time::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> examples/producer.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | sleep(Duration::from_secs(5)).await; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> examples/consumer.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | let mut client = Client::connect(["localhost:2379"], None).await.unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use etcd_client::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `etcdmq` (example "producer") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Queue` [INFO] [stdout] --> examples/consumer.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let mut f = Queue::new(client, "test2".to_string(), None).await.unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Queue` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use etcdmq::Queue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> examples/consumer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | sleep(Duration::from_secs(5)).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::time::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> examples/consumer.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | sleep(Duration::from_secs(5)).await; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `etcdmq` (example "consumer") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "19918012b34264954d61e31cd3f17e884f5e511fa9b6d288df9ffbf6790fcdaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19918012b34264954d61e31cd3f17e884f5e511fa9b6d288df9ffbf6790fcdaf", kill_on_drop: false }` [INFO] [stdout] 19918012b34264954d61e31cd3f17e884f5e511fa9b6d288df9ffbf6790fcdaf