[INFO] fetching crate hole-punch-connect 0.1.0... [INFO] testing hole-punch-connect-0.1.0 against 1.44.0 for beta-1.45-1 [INFO] extracting crate hole-punch-connect 0.1.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate hole-punch-connect 0.1.0 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate hole-punch-connect 0.1.0 [INFO] finished tweaking crates.io crate hole-punch-connect 0.1.0 [INFO] tweaked toml for crates.io crate hole-punch-connect 0.1.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate hole-punch-connect 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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" "+1.44.0" "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] a37999f661355aacc2fd9b70fe05f157d6776517ddfd74b6e70bf576ef09c966 [INFO] running `"docker" "start" "-a" "a37999f661355aacc2fd9b70fe05f157d6776517ddfd74b6e70bf576ef09c966"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling hole-punch-connect v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.53s [INFO] running `"docker" "inspect" "a37999f661355aacc2fd9b70fe05f157d6776517ddfd74b6e70bf576ef09c966"` [INFO] running `"docker" "rm" "-f" "a37999f661355aacc2fd9b70fe05f157d6776517ddfd74b6e70bf576ef09c966"` [INFO] [stdout] a37999f661355aacc2fd9b70fe05f157d6776517ddfd74b6e70bf576ef09c966 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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" "+1.44.0" "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] 8d8c34a3993ee8833ab06b25d16288438d641234277bf1dc6de92b4eef719da5 [INFO] running `"docker" "start" "-a" "8d8c34a3993ee8833ab06b25d16288438d641234277bf1dc6de92b4eef719da5"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling hole-punch-connect v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `"docker" "inspect" "8d8c34a3993ee8833ab06b25d16288438d641234277bf1dc6de92b4eef719da5"` [INFO] running `"docker" "rm" "-f" "8d8c34a3993ee8833ab06b25d16288438d641234277bf1dc6de92b4eef719da5"` [INFO] [stdout] 8d8c34a3993ee8833ab06b25d16288438d641234277bf1dc6de92b4eef719da5 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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" "+1.44.0" "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] 3598113ec57139201690bce60f688b8c02e0972268ff38baac40e4433771cbec [INFO] running `"docker" "start" "-a" "3598113ec57139201690bce60f688b8c02e0972268ff38baac40e4433771cbec"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/hole_punch_connect-e8943fd7753f9bb9 [INFO] [stderr] Running /opt/rustwide/target/debug/deps/hole_punch_connect-f3490670c4d4a7c3 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests hole-punch-connect [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/client.rs - client::HolePunchConnect::hole_punch_connect (line 69) ... FAILED [INFO] [stdout] test src/client.rs - client::HolePunchConnect::new_hole_punched (line 17) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client.rs - client::HolePunchConnect::hole_punch_connect (line 69) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UdpSocket` [INFO] [stdout] --> src/client.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 4 | let socket = UdpSocket::bind("0.0.0.0:0")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `UdpSocket` [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/client.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | let socket = UdpSocket::bind("0.0.0.0:0")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | socket.hole_punch_connect("domain.name:420")?; [INFO] [stdout] 6 | | socket.send(b"Hello there")?; [INFO] [stdout] ... | [INFO] [stdout] 9 | | socket.send(b"General Kenobi")?; [INFO] [stdout] 10 | | } [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/client.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | let socket = UdpSocket::bind("0.0.0.0:0")?; [INFO] [stdout] 5 | | socket.hole_punch_connect("domain.name:420")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 6 | | socket.send(b"Hello there")?; [INFO] [stdout] ... | [INFO] [stdout] 9 | | socket.send(b"General Kenobi")?; [INFO] [stdout] 10 | | } [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/client.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | let socket = UdpSocket::bind("0.0.0.0:0")?; [INFO] [stdout] 5 | | socket.hole_punch_connect("domain.name:420")?; [INFO] [stdout] 6 | | socket.send(b"Hello there")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 9 | | socket.send(b"General Kenobi")?; [INFO] [stdout] 10 | | } [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/client.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | let socket = UdpSocket::bind("0.0.0.0:0")?; [INFO] [stdout] 5 | | socket.hole_punch_connect("domain.name:420")?; [INFO] [stdout] 6 | | socket.send(b"Hello there")?; [INFO] [stdout] 7 | | [INFO] [stdout] 8 | | socket.hole_punch_connect("other.domain:6392")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 9 | | socket.send(b"General Kenobi")?; [INFO] [stdout] 10 | | } [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/client.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | let socket = UdpSocket::bind("0.0.0.0:0")?; [INFO] [stdout] 5 | | socket.hole_punch_connect("domain.name:420")?; [INFO] [stdout] 6 | | socket.send(b"Hello there")?; [INFO] [stdout] ... | [INFO] [stdout] 9 | | socket.send(b"General Kenobi")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 10 | | } [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 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client.rs - client::HolePunchConnect::new_hole_punched (line 17) stdout ---- [INFO] [stdout] Test executable failed (exit code 1). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] Error: Custom { kind: Other, error: "failed to lookup address information: Temporary failure in name resolution" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client.rs - client::HolePunchConnect::hole_punch_connect (line 69) [INFO] [stdout] src/client.rs - client::HolePunchConnect::new_hole_punched (line 17) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "3598113ec57139201690bce60f688b8c02e0972268ff38baac40e4433771cbec"` [INFO] running `"docker" "rm" "-f" "3598113ec57139201690bce60f688b8c02e0972268ff38baac40e4433771cbec"` [INFO] [stdout] 3598113ec57139201690bce60f688b8c02e0972268ff38baac40e4433771cbec