[INFO] fetching crate etcdmq 0.0.3... [INFO] checking etcdmq-0.0.3 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate etcdmq 0.0.3 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate etcdmq 0.0.3 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-4-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-attributes v0.1.20 [INFO] [stderr] Downloaded httparse v1.7.0 [INFO] [stderr] Downloaded tokio-stream v0.1.8 [INFO] [stderr] Downloaded anyhow v1.0.56 [INFO] [stderr] Downloaded etcd-client v0.8.4 [INFO] [stderr] Downloaded tokio-util v0.7.1 [INFO] [stderr] Downloaded tower v0.4.12 [INFO] [stderr] Downloaded unicode-segmentation v1.9.0 [INFO] [stderr] Downloaded log v0.4.16 [INFO] [stderr] Downloaded hyper v0.14.18 [INFO] [stderr] Downloaded libc v0.2.122 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0fed15f3d0310a03aa9fb32e6ddb934b70e509a9d9a111634b953ff6dcad794 [INFO] running `Command { std: "docker" "start" "-a" "b0fed15f3d0310a03aa9fb32e6ddb934b70e509a9d9a111634b953ff6dcad794", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0fed15f3d0310a03aa9fb32e6ddb934b70e509a9d9a111634b953ff6dcad794", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0fed15f3d0310a03aa9fb32e6ddb934b70e509a9d9a111634b953ff6dcad794", kill_on_drop: false }` [INFO] [stdout] b0fed15f3d0310a03aa9fb32e6ddb934b70e509a9d9a111634b953ff6dcad794 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81faf0ac7f11c79f949385a4c9c026b224c7ca1ce092fcf600f452a921070889 [INFO] running `Command { std: "docker" "start" "-a" "81faf0ac7f11c79f949385a4c9c026b224c7ca1ce092fcf600f452a921070889", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking regex-automata v0.1.10 [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 pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking async-stream v0.3.3 [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] Compiling tonic-build v0.6.2 [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] Compiling etcd-client v0.8.4 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking uuid v0.8.2 [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[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] [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] 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] 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 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `etcdmq` (example "producer") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "81faf0ac7f11c79f949385a4c9c026b224c7ca1ce092fcf600f452a921070889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81faf0ac7f11c79f949385a4c9c026b224c7ca1ce092fcf600f452a921070889", kill_on_drop: false }` [INFO] [stdout] 81faf0ac7f11c79f949385a4c9c026b224c7ca1ce092fcf600f452a921070889