[INFO] fetching crate hole-punch-connect 0.1.0... [INFO] testing hole-punch-connect-0.1.0 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate hole-punch-connect 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate hole-punch-connect 0.1.0 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcc5a18ee2bc9c94ff1b0835c081448ec24b7bc613cd65b02f8f42423978326f [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" "dcc5a18ee2bc9c94ff1b0835c081448ec24b7bc613cd65b02f8f42423978326f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcc5a18ee2bc9c94ff1b0835c081448ec24b7bc613cd65b02f8f42423978326f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcc5a18ee2bc9c94ff1b0835c081448ec24b7bc613cd65b02f8f42423978326f", kill_on_drop: false }` [INFO] [stdout] dcc5a18ee2bc9c94ff1b0835c081448ec24b7bc613cd65b02f8f42423978326f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c13bc6e72d146cbe1e08f9591e6a50cdaea1a87aa1453d4cd5bb560a9ffa004 [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" "0c13bc6e72d146cbe1e08f9591e6a50cdaea1a87aa1453d4cd5bb560a9ffa004", kill_on_drop: false }` [INFO] [stderr] Compiling hole-punch-connect v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.75s [INFO] running `Command { std: "docker" "inspect" "0c13bc6e72d146cbe1e08f9591e6a50cdaea1a87aa1453d4cd5bb560a9ffa004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c13bc6e72d146cbe1e08f9591e6a50cdaea1a87aa1453d4cd5bb560a9ffa004", kill_on_drop: false }` [INFO] [stdout] 0c13bc6e72d146cbe1e08f9591e6a50cdaea1a87aa1453d4cd5bb560a9ffa004 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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] 094b5ce119698834aa6dfdc326f16a5f7c10afcca7e58d8be72779dfc68cb0d3 [INFO] running `Command { std: "docker" "start" "-a" "094b5ce119698834aa6dfdc326f16a5f7c10afcca7e58d8be72779dfc68cb0d3", kill_on_drop: false }` [INFO] [stderr] Compiling hole-punch-connect v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `Command { std: "docker" "inspect" "094b5ce119698834aa6dfdc326f16a5f7c10afcca7e58d8be72779dfc68cb0d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "094b5ce119698834aa6dfdc326f16a5f7c10afcca7e58d8be72779dfc68cb0d3", kill_on_drop: false }` [INFO] [stdout] 094b5ce119698834aa6dfdc326f16a5f7c10afcca7e58d8be72779dfc68cb0d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", 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] e03ae64e69d6dbd521bf284ff5d2442f82fa1424658914b2a8780e06b9839506 [INFO] running `Command { std: "docker" "start" "-a" "e03ae64e69d6dbd521bf284ff5d2442f82fa1424658914b2a8780e06b9839506", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hole_punch_connect-37c4770ba0e770ba) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hole_punch_connect-91aa006ebe0ee809) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests hole-punch-connect [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/client.rs - client::HolePunchConnect::hole_punch_connect (line 69) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [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 `UdpSocket` [INFO] [stdout] --> src/client.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 4 | let socket = UdpSocket::bind("0.0.0.0:0")?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::UdpSocket; [INFO] [stdout] | [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 `FromResidual`) [INFO] [stdout] --> src/client.rs:70:42 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_69_0() { [INFO] [stdout] | ______________________________________- [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 | | } _doctest_main_src_client_rs_69_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [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 `FromResidual`) [INFO] [stdout] --> src/client.rs:71:45 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_69_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | let socket = UdpSocket::bind("0.0.0.0:0")?; [INFO] [stdout] 5 | | socket.hole_punch_connect("domain.name:420")?; [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 | | } _doctest_main_src_client_rs_69_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [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 `FromResidual`) [INFO] [stdout] --> src/client.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_69_0() { [INFO] [stdout] | ______________________________________- [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] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 9 | | socket.send(b"General Kenobi")?; [INFO] [stdout] 10 | | } _doctest_main_src_client_rs_69_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [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 `FromResidual`) [INFO] [stdout] --> src/client.rs:74:47 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_69_0() { [INFO] [stdout] | ______________________________________- [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 | | } _doctest_main_src_client_rs_69_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [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 `FromResidual`) [INFO] [stdout] --> src/client.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_rs_69_0() { [INFO] [stdout] | ______________________________________- [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] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 10 | | } _doctest_main_src_client_rs_69_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [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: Uncategorized, 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; finished in 1.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e03ae64e69d6dbd521bf284ff5d2442f82fa1424658914b2a8780e06b9839506", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e03ae64e69d6dbd521bf284ff5d2442f82fa1424658914b2a8780e06b9839506", kill_on_drop: false }` [INFO] [stdout] e03ae64e69d6dbd521bf284ff5d2442f82fa1424658914b2a8780e06b9839506