[INFO] fetching crate unmp-link-redis 0.3.2... [INFO] checking unmp-link-redis-0.3.2 against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] extracting crate unmp-link-redis 0.3.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate unmp-link-redis 0.3.2 on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate unmp-link-redis 0.3.2 [INFO] finished tweaking crates.io crate unmp-link-redis 0.3.2 [INFO] tweaked toml for crates.io crate unmp-link-redis 0.3.2 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37af9b21a582471c455bad2116914a4a9ca5ca77442dca69a99006d8b09e6680 [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" "37af9b21a582471c455bad2116914a4a9ca5ca77442dca69a99006d8b09e6680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37af9b21a582471c455bad2116914a4a9ca5ca77442dca69a99006d8b09e6680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37af9b21a582471c455bad2116914a4a9ca5ca77442dca69a99006d8b09e6680", kill_on_drop: false }` [INFO] [stdout] 37af9b21a582471c455bad2116914a4a9ca5ca77442dca69a99006d8b09e6680 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] d9836bcf35ad81a9f3c4482361479483e2afaad9b4186bbaec9603c8a58b8bc2 [INFO] running `Command { std: "docker" "start" "-a" "d9836bcf35ad81a9f3c4482361479483e2afaad9b4186bbaec9603c8a58b8bc2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Compiling ctor v0.1.18 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking unmp v0.3.8 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking combine v4.5.2 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking redis v0.17.0 [INFO] [stderr] Checking unmp-link-redis v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `recv_handle` in module `net` [INFO] [stdout] --> src/lib.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | net::recv_handle(link_tmp.clone(), &load); [INFO] [stdout] | ^^^^^^^^^^^ not found in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Recver` is private [INFO] [stdout] --> src/lib.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use unmp::link::{Driver, Link, Recver}; [INFO] [stdout] | ^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Recver` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/unmp-0.3.8/src/link/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use recver::Recver; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `recv_handle` in module `net` [INFO] [stdout] --> src/lib.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | net::recv_handle(link_tmp.clone(), &load); [INFO] [stdout] | ^^^^^^^^^^^ not found in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Recver` is private [INFO] [stdout] --> src/lib.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use unmp::link::{Driver, Link, Recver}; [INFO] [stdout] | ^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Recver` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/unmp-0.3.8/src/link/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use recver::Recver; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `send` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn send(&self, buf: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&Client, &[u8]) -> std::result::Result<(), ()>` [INFO] [stdout] found fn pointer `fn(&Client, &[u8])` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `send` has an incompatible type for trait [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn send(&self, buf: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&Client, &[u8]) -> std::result::Result<(), ()>` [INFO] [stdout] found fn pointer `fn(&Client, &[u8])` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:37:63 [INFO] [stdout] | [INFO] [stdout] 37 | let link = Link::new(format!("Redis({}:{})", url, topic), driver.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Box`, found struct `Arc` [INFO] [stdout] | help: store this in the heap by calling `Box::new`: `Box::new(driver.clone())` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn Driver + Send + Sync + 'static)>` [INFO] [stdout] found struct `Arc` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308, E0425, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `unmp-link-redis` [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:37:63 [INFO] [stdout] | [INFO] [stdout] 37 | let link = Link::new(format!("Redis({}:{})", url, topic), driver.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `Box`, found struct `Arc` [INFO] [stdout] | help: store this in the heap by calling `Box::new`: `Box::new(driver.clone())` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box<(dyn Driver + Send + Sync + 'static)>` [INFO] [stdout] found struct `Arc` [INFO] [stdout] = note: for more on the distinction between the stack and the heap, read https://doc.rust-lang.org/book/ch15-01-box.html, https://doc.rust-lang.org/rust-by-example/std/box.html, and https://doc.rust-lang.org/std/boxed/index.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308, E0425, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d9836bcf35ad81a9f3c4482361479483e2afaad9b4186bbaec9603c8a58b8bc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9836bcf35ad81a9f3c4482361479483e2afaad9b4186bbaec9603c8a58b8bc2", kill_on_drop: false }` [INFO] [stdout] d9836bcf35ad81a9f3c4482361479483e2afaad9b4186bbaec9603c8a58b8bc2