[INFO] cloning repository https://github.com/HADMARINE/rust-udp-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HADMARINE/rust-udp-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHADMARINE%2Frust-udp-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHADMARINE%2Frust-udp-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74ea55fecb5e8dae15631b79b5be38ef7651604b [INFO] checking HADMARINE/rust-udp-test against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHADMARINE%2Frust-udp-test" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HADMARINE/rust-udp-test on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HADMARINE/rust-udp-test [INFO] finished tweaking git repo https://github.com/HADMARINE/rust-udp-test [INFO] tweaked toml for git repo https://github.com/HADMARINE/rust-udp-test written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/HADMARINE/rust-udp-test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97bc9937f184b62be1756d7afff71dd67fb02588f9fd6ee8e36783d68f554ad7 [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" "97bc9937f184b62be1756d7afff71dd67fb02588f9fd6ee8e36783d68f554ad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97bc9937f184b62be1756d7afff71dd67fb02588f9fd6ee8e36783d68f554ad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97bc9937f184b62be1756d7afff71dd67fb02588f9fd6ee8e36783d68f554ad7", kill_on_drop: false }` [INFO] [stdout] 97bc9937f184b62be1756d7afff71dd67fb02588f9fd6ee8e36783d68f554ad7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96746a34142103e29a646fdfc0eb2fa67a719a06c36f454a2b2c5ecf971c0bc0 [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" "96746a34142103e29a646fdfc0eb2fa67a719a06c36f454a2b2c5ecf971c0bc0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking portpicker v0.1.1 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Checking rust-udp-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | fn delete_udp_channel(ch_num: u32) -> Result<_, Box> {} [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0121]: the type placeholder `_` is not allowed within types on item signatures for return types [INFO] [stdout] --> src/main.rs:78:50 [INFO] [stdout] | [INFO] [stdout] 78 | fn delete_udp_channel(ch_num: u32) -> Result<_, Box> {} [INFO] [stdout] | -------^----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | not allowed in type signatures [INFO] [stdout] | help: replace with the correct return type: `Result<[type error], Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0121, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0121`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-udp-test` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | fn delete_udp_channel(ch_num: u32) -> Result<_, Box> {} [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0121]: the type placeholder `_` is not allowed within types on item signatures for return types [INFO] [stdout] --> src/main.rs:78:50 [INFO] [stdout] | [INFO] [stdout] 78 | fn delete_udp_channel(ch_num: u32) -> Result<_, Box> {} [INFO] [stdout] | -------^----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | not allowed in type signatures [INFO] [stdout] | help: replace with the correct return type: `Result<[type error], Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0121, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0121`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "96746a34142103e29a646fdfc0eb2fa67a719a06c36f454a2b2c5ecf971c0bc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96746a34142103e29a646fdfc0eb2fa67a719a06c36f454a2b2c5ecf971c0bc0", kill_on_drop: false }` [INFO] [stdout] 96746a34142103e29a646fdfc0eb2fa67a719a06c36f454a2b2c5ecf971c0bc0