[INFO] crate zelda 0.1.1 is already in cache [INFO] testing zelda-0.1.1 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate zelda 0.1.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate zelda 0.1.1 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a0ef86d0a5bbaded007ce76e0452828725cb2c1a1757f21d227f044b1f018cbb [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" "a0ef86d0a5bbaded007ce76e0452828725cb2c1a1757f21d227f044b1f018cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0ef86d0a5bbaded007ce76e0452828725cb2c1a1757f21d227f044b1f018cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0ef86d0a5bbaded007ce76e0452828725cb2c1a1757f21d227f044b1f018cbb", kill_on_drop: false }` [INFO] [stdout] a0ef86d0a5bbaded007ce76e0452828725cb2c1a1757f21d227f044b1f018cbb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4fe31e88939b9c42afabbfcf7a1f94cfe0b9d85732708fcd1fdc8578d98676b [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" "c4fe31e88939b9c42afabbfcf7a1f94cfe0b9d85732708fcd1fdc8578d98676b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.73 [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 scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [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 bincode v1.3.1 [INFO] [stderr] Compiling zelda v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 40.82s [INFO] running `Command { std: "docker" "inspect" "c4fe31e88939b9c42afabbfcf7a1f94cfe0b9d85732708fcd1fdc8578d98676b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4fe31e88939b9c42afabbfcf7a1f94cfe0b9d85732708fcd1fdc8578d98676b", kill_on_drop: false }` [INFO] [stdout] c4fe31e88939b9c42afabbfcf7a1f94cfe0b9d85732708fcd1fdc8578d98676b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--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] 432e64cfe837ad6c3828b18a3e4f0a89d98657fc1868f6b16de4adc97bcf84dd [INFO] running `Command { std: "docker" "start" "-a" "432e64cfe837ad6c3828b18a3e4f0a89d98657fc1868f6b16de4adc97bcf84dd", kill_on_drop: false }` [INFO] [stderr] Compiling zelda v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.51s [INFO] running `Command { std: "docker" "inspect" "432e64cfe837ad6c3828b18a3e4f0a89d98657fc1868f6b16de4adc97bcf84dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "432e64cfe837ad6c3828b18a3e4f0a89d98657fc1868f6b16de4adc97bcf84dd", kill_on_drop: false }` [INFO] [stdout] 432e64cfe837ad6c3828b18a3e4f0a89d98657fc1868f6b16de4adc97bcf84dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8254a30926960418f5dd8d13280d0c81cc52831046bebaeb5bfb9697c81ca585 [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" "8254a30926960418f5dd8d13280d0c81cc52831046bebaeb5bfb9697c81ca585", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [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: 2 ms, offset: 6 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 2 ms, offset: 7 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: 3 ms, offset: 8 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: 15 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 2 ms, offset: 17 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 2 ms, offset: 17 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 2 ms, offset: 14 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 2 ms, offset: 17 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 2 ms, offset: 17 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 2 ms, offset: 17 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 18 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 17 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 17 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 2 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 17 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 3 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 20 ms, has estimate: true [INFO] [stdout] Client received content: Hello, Client!, estimated RTT: 1 ms, offset: 17 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: 1 ms, offset: 15 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 4 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: 4 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: 4 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 2 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 22 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 2 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 2 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 2 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 2 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 1 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 2 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 2 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 22 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 2 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 22 ms, has estimate: true [INFO] [stdout] Server received content: Hello, Server!, estimated RTT: 1 ms, offset: 16 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" "8254a30926960418f5dd8d13280d0c81cc52831046bebaeb5bfb9697c81ca585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8254a30926960418f5dd8d13280d0c81cc52831046bebaeb5bfb9697c81ca585", kill_on_drop: false }` [INFO] [stdout] 8254a30926960418f5dd8d13280d0c81cc52831046bebaeb5bfb9697c81ca585