[INFO] fetching crate electrum_jsonrpc 0.3.10... [INFO] checking electrum_jsonrpc-0.3.10 against master#3e826bb11228508fbe749e594038d6727208aa94 for pr-82322 [INFO] extracting crate electrum_jsonrpc 0.3.10 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate electrum_jsonrpc 0.3.10 on toolchain 3e826bb11228508fbe749e594038d6727208aa94 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate electrum_jsonrpc 0.3.10 [INFO] finished tweaking crates.io crate electrum_jsonrpc 0.3.10 [INFO] tweaked toml for crates.io crate electrum_jsonrpc 0.3.10 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecdf8f18a713e0acdca377ca1c9fb30e6a4cc47997446c5782a954dc7afae6ed [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" "ecdf8f18a713e0acdca377ca1c9fb30e6a4cc47997446c5782a954dc7afae6ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecdf8f18a713e0acdca377ca1c9fb30e6a4cc47997446c5782a954dc7afae6ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecdf8f18a713e0acdca377ca1c9fb30e6a4cc47997446c5782a954dc7afae6ed", kill_on_drop: false }` [INFO] [stdout] ecdf8f18a713e0acdca377ca1c9fb30e6a4cc47997446c5782a954dc7afae6ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a916a21018fa61566d71d99a22288ddd1d3c374a8d2750b56d2561994d87c37d [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" "a916a21018fa61566d71d99a22288ddd1d3c374a8d2750b56d2561994d87c37d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking pin-project-lite v0.2.5 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tokio-util v0.6.3 [INFO] [stderr] Checking h2 v0.3.1 [INFO] [stderr] Checking serde v1.0.123 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking electrum_jsonrpc v0.3.10 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/lib.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/lib.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `body` [INFO] [stdout] --> tests/calling_rpc_methods.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | let slice = body::to_bytes(res.into_body()).await.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `body` [INFO] [stdout] --> tests/calling_rpc_methods.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let slice = body::to_bytes(res.into_body()).await.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `body` [INFO] [stdout] --> tests/calling_rpc_methods.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let slice = body::to_bytes(res).await.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `body` [INFO] [stdout] --> tests/calling_rpc_methods.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let slice = body::to_bytes(res).await.unwrap(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> tests/calling_rpc_methods.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | let url = Some(Uri::from_static("http://127.0.0.1:8888/notify_data")); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/calling_rpc_methods.rs:87:15 [INFO] [stdout] | [INFO] [stdout] 87 | let json: Value = serde_json::from_slice(&slice).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tokio::task::task_local::thread::local::os::Value; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tokio::util::slab::Value; [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/calling_rpc_methods.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 98 | let json: Value = serde_json::from_slice(&slice).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tokio::task::task_local::thread::local::os::Value; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tokio::util::slab::Value; [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/calling_rpc_methods.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | let json: Value = serde_json::from_slice(&slice).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tokio::task::task_local::thread::local::os::Value; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tokio::util::slab::Value; [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> tests/calling_rpc_methods.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | let json: Value = serde_json::from_slice(&slice).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tokio::task::task_local::thread::local::os::Value; [INFO] [stdout] | [INFO] [stdout] 3 | use crate::tokio::util::slab::Value; [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `electrum_jsonrpc` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a916a21018fa61566d71d99a22288ddd1d3c374a8d2750b56d2561994d87c37d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a916a21018fa61566d71d99a22288ddd1d3c374a8d2750b56d2561994d87c37d", kill_on_drop: false }` [INFO] [stdout] a916a21018fa61566d71d99a22288ddd1d3c374a8d2750b56d2561994d87c37d