[INFO] fetching crate unmp-link-udp 0.3.2... [INFO] checking unmp-link-udp-0.3.2 against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] extracting crate unmp-link-udp 0.3.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate unmp-link-udp 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-udp 0.3.2 [INFO] finished tweaking crates.io crate unmp-link-udp 0.3.2 [INFO] tweaked toml for crates.io crate unmp-link-udp 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] 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] 2a5db1552d3fa1f6bc8f121d94c74e7dbc9fe8f81258f5c1a3d20956b53a1497 [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" "2a5db1552d3fa1f6bc8f121d94c74e7dbc9fe8f81258f5c1a3d20956b53a1497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a5db1552d3fa1f6bc8f121d94c74e7dbc9fe8f81258f5c1a3d20956b53a1497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a5db1552d3fa1f6bc8f121d94c74e7dbc9fe8f81258f5c1a3d20956b53a1497", kill_on_drop: false }` [INFO] [stdout] 2a5db1552d3fa1f6bc8f121d94c74e7dbc9fe8f81258f5c1a3d20956b53a1497 [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] 282f7102996aed19c508f5bda62098393db73cd539181dcdcb8d1fdac910b102 [INFO] running `Command { std: "docker" "start" "-a" "282f7102996aed19c508f5bda62098393db73cd539181dcdcb8d1fdac910b102", kill_on_drop: false }` [INFO] [stderr] Checking unmp-link-udp v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `recv_handle` in module `net` [INFO] [stdout] --> src/client.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | net::recv_handle(link_tmp.clone(), &load); [INFO] [stdout] | ^^^^^^^^^^^ not found in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `recv_handle` in module `net` [INFO] [stdout] --> src/server.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | net::recv_handle(link.clone(), &load); [INFO] [stdout] | ^^^^^^^^^^^ not found in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Recver` is private [INFO] [stdout] --> src/client.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | 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[E0603]: struct `Recver` is private [INFO] [stdout] --> src/server.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | 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/client.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | net::recv_handle(link_tmp.clone(), &load); [INFO] [stdout] | ^^^^^^^^^^^ not found in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `recv_handle` in module `net` [INFO] [stdout] --> src/server.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | net::recv_handle(link.clone(), &load); [INFO] [stdout] | ^^^^^^^^^^^ not found in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Recver` is private [INFO] [stdout] --> src/client.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | 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[E0603]: struct `Recver` is private [INFO] [stdout] --> src/server.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | 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/client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 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/server.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(&Server, &[u8]) -> std::result::Result<(), ()>` [INFO] [stdout] found fn pointer `fn(&Server, &[u8])` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `send` has an incompatible type for trait [INFO] [stdout] --> src/client.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 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/server.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(&Server, &[u8]) -> std::result::Result<(), ()>` [INFO] [stdout] found fn pointer `fn(&Server, &[u8])` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/client.rs:34:66 [INFO] [stdout] | [INFO] [stdout] 34 | let link = Link::new(format!("UDP_Client({}:{})", ip, port), 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[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:58:52 [INFO] [stdout] | [INFO] [stdout] 58 | let link = Link::new(link_uid, driver); [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)` [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 8 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-udp` [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/client.rs:34:66 [INFO] [stdout] | [INFO] [stdout] 34 | let link = Link::new(format!("UDP_Client({}:{})", ip, port), 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[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:58:52 [INFO] [stdout] | [INFO] [stdout] 58 | let link = Link::new(link_uid, driver); [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)` [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 8 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" "282f7102996aed19c508f5bda62098393db73cd539181dcdcb8d1fdac910b102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "282f7102996aed19c508f5bda62098393db73cd539181dcdcb8d1fdac910b102", kill_on_drop: false }` [INFO] [stdout] 282f7102996aed19c508f5bda62098393db73cd539181dcdcb8d1fdac910b102