[INFO] crate zelda 0.1.1 is already in cache [INFO] testing zelda-0.1.1 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate zelda 0.1.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate zelda 0.1.1 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [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-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "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" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4cbf8fc3b30ab781e32c0dc619633689161bb3e9672e46fcbee8e47053d08dd1 [INFO] running `"docker" "start" "-a" "4cbf8fc3b30ab781e32c0dc619633689161bb3e9672e46fcbee8e47053d08dd1"` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling chashmap v2.2.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling zelda v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.00s [INFO] running `"docker" "inspect" "4cbf8fc3b30ab781e32c0dc619633689161bb3e9672e46fcbee8e47053d08dd1"` [INFO] running `"docker" "rm" "-f" "4cbf8fc3b30ab781e32c0dc619633689161bb3e9672e46fcbee8e47053d08dd1"` [INFO] [stdout] 4cbf8fc3b30ab781e32c0dc619633689161bb3e9672e46fcbee8e47053d08dd1 [INFO] running `"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" "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" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 253d867623b7730be7e9f914ff2218a8df0256f9f1796dd2871eaf730713b97b [INFO] running `"docker" "start" "-a" "253d867623b7730be7e9f914ff2218a8df0256f9f1796dd2871eaf730713b97b"` [INFO] [stderr] Compiling zelda v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.93s [INFO] running `"docker" "inspect" "253d867623b7730be7e9f914ff2218a8df0256f9f1796dd2871eaf730713b97b"` [INFO] running `"docker" "rm" "-f" "253d867623b7730be7e9f914ff2218a8df0256f9f1796dd2871eaf730713b97b"` [INFO] [stdout] 253d867623b7730be7e9f914ff2218a8df0256f9f1796dd2871eaf730713b97b [INFO] running `"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" "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" "/opt/rustwide/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 403d7885e7ebee168c404976411b39a2c18da14f95bd6d7eeeb5f7a893ce61a1 [INFO] running `"docker" "start" "-a" "403d7885e7ebee168c404976411b39a2c18da14f95bd6d7eeeb5f7a893ce61a1"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/zelda-d06fe3d7b29043a8 [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] Server connected to client! [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 3 ms, offset: 7 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 3 ms, offset: 3 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 3 ms, offset: 12 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 3 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 3 ms, offset: 8 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 3 ms, offset: 11 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 2 ms, offset: 11 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 2 ms, offset: 11 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 2 ms, offset: 11 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 2 ms, offset: 11 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 2 ms, offset: 11 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 11 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 11 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 11 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 11 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 11 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 11 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 11 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 11 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 11 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: 3 ms, offset: 17 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 3 ms, offset: 8 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 3 ms, offset: 3 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 3 ms, offset: 7 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 3 ms, offset: 8 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 2 ms, offset: 8 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 2 ms, offset: 8 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 2 ms, offset: 8 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 8 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 8 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 8 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 8 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 8 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 8 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 8 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 0 ms, offset: 8 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 0 ms, offset: 8 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 0 ms, offset: 8 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 0 ms, offset: 8 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 `"docker" "inspect" "403d7885e7ebee168c404976411b39a2c18da14f95bd6d7eeeb5f7a893ce61a1"` [INFO] running `"docker" "rm" "-f" "403d7885e7ebee168c404976411b39a2c18da14f95bd6d7eeeb5f7a893ce61a1"` [INFO] [stdout] 403d7885e7ebee168c404976411b39a2c18da14f95bd6d7eeeb5f7a893ce61a1