[INFO] crate zelda 0.1.1 is already in cache [INFO] testing zelda-0.1.1 against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] extracting crate zelda 0.1.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate zelda 0.1.1 on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate zelda 0.1.1 [INFO] finished tweaking crates.io crate zelda 0.1.1 [INFO] tweaked toml for crates.io crate zelda 0.1.1 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e059d16ecb14a9cb06ce66713463bddb3fc77ad74e4e69c584b0f1709becb8b5 [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" "e059d16ecb14a9cb06ce66713463bddb3fc77ad74e4e69c584b0f1709becb8b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e059d16ecb14a9cb06ce66713463bddb3fc77ad74e4e69c584b0f1709becb8b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e059d16ecb14a9cb06ce66713463bddb3fc77ad74e4e69c584b0f1709becb8b5", kill_on_drop: false }` [INFO] [stdout] e059d16ecb14a9cb06ce66713463bddb3fc77ad74e4e69c584b0f1709becb8b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ae2b6e89e0bd4e97ce5f65ca6ed92b29f0ac8d462ce56ae5c8b04473d5b793e [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" "8ae2b6e89e0bd4e97ce5f65ca6ed92b29f0ac8d462ce56ae5c8b04473d5b793e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling chashmap v2.2.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling zelda v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.26s [INFO] running `Command { std: "docker" "inspect" "8ae2b6e89e0bd4e97ce5f65ca6ed92b29f0ac8d462ce56ae5c8b04473d5b793e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ae2b6e89e0bd4e97ce5f65ca6ed92b29f0ac8d462ce56ae5c8b04473d5b793e", kill_on_drop: false }` [INFO] [stdout] 8ae2b6e89e0bd4e97ce5f65ca6ed92b29f0ac8d462ce56ae5c8b04473d5b793e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5558f54d223f0daa411d08268ab6bfc619f82a4e472ad232c85563163f0f6657 [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" "5558f54d223f0daa411d08268ab6bfc619f82a4e472ad232c85563163f0f6657", kill_on_drop: false }` [INFO] [stderr] Compiling zelda v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.69s [INFO] running `Command { std: "docker" "inspect" "5558f54d223f0daa411d08268ab6bfc619f82a4e472ad232c85563163f0f6657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5558f54d223f0daa411d08268ab6bfc619f82a4e472ad232c85563163f0f6657", kill_on_drop: false }` [INFO] [stdout] 5558f54d223f0daa411d08268ab6bfc619f82a4e472ad232c85563163f0f6657 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6b1688fcfd2b5e551d22c624a31db5fb869cd69dfd4fc7cd673f3284202cb3a2 [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" "6b1688fcfd2b5e551d22c624a31db5fb869cd69dfd4fc7cd673f3284202cb3a2", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/zelda-805916d3b8b3acfc [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] Server connected to client! [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 4 ms, offset: 7 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 4 ms, offset: 31 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 4 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 3 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 3 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 3 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 2 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 2 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 2 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 2 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 0 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 0 ms, offset: 4 ms, has estimate: true [INFO] [stdout] Client connected to server! [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 0 ms, offset: 0 ms, has estimate: false [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 12 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 11 ms, offset: 12 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 10 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 9 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 8 ms, offset: 14 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 7 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 6 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 5 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 5 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 4 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 4 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 3 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 3 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 3 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 2 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 2 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 2 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 2 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 2 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Client disconnnected from server! [INFO] [stdout] Server disconnnected from client! [INFO] [stdout] test tests::sending_and_receiving ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests zelda [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `=>` [INFO] [stdout] --> src/lib.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 21 | Event::Connected(addr) => { [INFO] [stdout] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | use std::net::SocketAddr; [INFO] [stdout] 5 | | use crossbeam::channel::{Sender, Receiver}; [INFO] [stdout] 6 | | use zelda::{Socket, Config, Packet, Event}; [INFO] [stdout] ... | [INFO] [stdout] 10 | | let socket1 = Socket::bind(socket_address, Config::default())?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | use std::net::SocketAddr; [INFO] [stdout] 5 | | use crossbeam::channel::{Sender, Receiver}; [INFO] [stdout] 6 | | use zelda::{Socket, Config, Packet, Event}; [INFO] [stdout] ... | [INFO] [stdout] 11 | | let socket2 = Socket::bind_any(Config::default())?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "6b1688fcfd2b5e551d22c624a31db5fb869cd69dfd4fc7cd673f3284202cb3a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b1688fcfd2b5e551d22c624a31db5fb869cd69dfd4fc7cd673f3284202cb3a2", kill_on_drop: false }` [INFO] [stdout] 6b1688fcfd2b5e551d22c624a31db5fb869cd69dfd4fc7cd673f3284202cb3a2